Details
BUY DS1307Z+T&R https://www.utsource.net/itm/p/5438337.html
IC RTC CLK/CALENDAR I2C 8-SOIC
Parameter | Description |
---|---|
Part Number | DS1307Z+T&R |
Function | Real-time clock (RTC) with integrated trickle charger for backup battery |
Operating Voltage | VCC: 2.3V to 5.5V |
Current Consumption | 300nA (典型值 at 3.3V, 25°C) |
Temperature Range | -40°C to +85°C |
Communication Interface | I2C interface |
Oscillator Frequency | 32.768kHz |
Package Type | SOIC-8 |
Backup Battery | Supports lithium coin cell or capacitor |
Trickle Charger | For charging external NiCd/NiMH battery |
Square Wave Output | 1Hz, 1.024kHz, 4.096kHz, 8.192kHz (可选) |
Power-On Reset | Yes |
Instructions for Use
Power Supply Connection
- Connect the VCC pin to the supply voltage between 2.3V and 5.5V.
- GND should be connected to the system ground.
I2C Communication Setup
- The DS1307 uses I2C communication. Ensure that the SDA and SCL lines are pulled up with appropriate resistors (typically 4.7kΩ).
- Address the device using its I2C address (0xD0).
Setting Time and Date
- Write the current time and date to the appropriate registers via I2C commands.
Reading Time and Date
- Read the current time and date from the device registers over I2C.
Backup Battery Management
- Connect a backup power source (e.g., a lithium coin cell) to the VBAT pin to maintain timekeeping when main power is lost.
- If using a rechargeable battery, configure the trickle charger settings through the control register.
Square Wave Output Configuration
- Configure the square wave output frequency as needed by setting bits in the control register.
Trickle Charger Configuration
- Set the RS1 and RS2 bits in the control register to configure the trickle charger resistance for charging the backup battery.
Handling Power-On Reset
- The device includes a power-on reset function which can be utilized to reset microcontrollers or other components upon power-up.
For detailed programming examples and more advanced configurations, refer to the datasheet provided by the manufacturer.
(For reference only)View more about DS1307Z+T&R on main site