Thursday 9 August 2012

DS1307 I2C RTC (Real Time Clock)

Week no: week 2(9/8/2012)

Objective: Using DS1307 I2C RTC (Real Time Clock)
                To testing the circuit

Content:

RTC (Real Time Clock) is very useful feature that can be applied to many of electronic products, Although we can use timer that’s built in microcontroller for timing, but microcontroller can’t operate without power supply. For this reason using timer in microcontroller for real time clock is not suitable for some application
DS1307 is Dallas Semiconductor’s serial RTC IC, that can provide full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially via a 2-wire, bi-directional bus. Clock/calendar provides second, minutes, hours, day, date month, and year information, Clock operates in either 24-hours or 12-hours format with AM/PM indicator. DS1307 has built-in power sense circuit that detects power failures and automatically switches to battery supply mode. Pin assignment of DS1307 is shown in Figure 1


VCC: Primary Power Supply
GND: Ground                                                                          
VBAT: +3V Battery Input
SDA:  I2C Serial Data
SCL: I2C Serial Clock
SQW/OUT: Square Wave/Output Driver
X1, X2: 32.768 kHz Crystal Connection

From this circuit, we should modify the connected form pin number 6 and 8. the connected can connect to the PIC .

Conclusion: 
My partner and I agreed to use this circuit as a clock for our project.

No comments:

Post a Comment