please advice me any wrong in my cct

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All,
I designed a cct which is connecting RTC with MCU, Please advice me any wrong in cct( Please see picture )
your help much appreciate
 

Attachments

  • rtc.JPG
    102.3 KB · Views: 88

1. Vbat - should be connected to GND if is not used (if Vbat is not present, DS1307 will not keep calendar data when the board is unpowered)
2. SOUT - is an open collector output, it should have a pull-up resistor
3. DS1307 uses a 32.768 kHz crystal and not requires external capacitors
 
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
In the simulation, the VBAT pin wouldn't affect the simulation. But in real hardware, you need to connect a 3V battery from VBAT to ground (for battery backup) or connect VBAT to ground to have the DS1307 working without battery backup.

The SOUT pin is not used, so the pull-up resistor isn't needed.

As pointed out by cristianp, C3 and C4 are not required.

For the LEDs, you need to use current-limiting resistors. Connect resistors between the PORTD pins and the LED anodes to limit the current. You have to choose resistors to allow a maximum current of 20mA (provided these are standard LEDs). 10mA is enough current.

Hope this helps.
Tahmid.
 
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…