Details
BUY DS1387+ https://www.utsource.net/itm/p/12594845.html
| Parameter | Description | DS1387+ Specifications |
|---|---|---|
| Device Type | Real-Time Clock (RTC) with RAM | RTC with 56 bytes of battery-backed SRAM |
| Supply Voltage | Operating voltage range | 2.0V to 5.5V |
| Current Consumption | Active mode current | 400nA typical at 3.3V, 1.0Hz |
| Clock Accuracy | Temperature range for accuracy | 卤2 minutes per year from -40掳C to +85掳C |
| Oscillator Frequency | Internal oscillator frequency | 32.768kHz |
| Communication Interface | Interface type | I2C |
| RAM Size | Battery-backed SRAM size | 56 bytes |
| Package Type | Package options | SOIC-8, TSSOP-8 |
| Operating Temperature | Temperature range for operation | -40掳C to +85掳C |
Instructions for Use:
Power Supply Connection:
- Connect VCC to the power supply (2.0V to 5.5V).
- Connect GND to the ground.
Battery Backup:
- Ensure a backup battery is connected to maintain the clock and RAM data during power loss.
I2C Communication Setup:
- Connect SDA (data line) and SCL (clock line) to the microcontroller or processor.
- Use pull-up resistors on both SDA and SCL lines as required by the I2C standard.
Initialization:
- Set the time and date registers using the I2C interface.
- Configure control bits in the status register as needed (e.g., square wave output).
Reading Time and Date:
- Access the respective registers via I2C to read the current time and date settings.
Writing to SRAM:
- Write data to the SRAM addresses to store information that needs to be preserved during power-off conditions.
Square Wave Output:
- Enable the square wave output if required by configuring the appropriate control bit.
Handling Power Failures:
- The device automatically switches to battery power when VCC drops below the threshold.
Software Considerations:
- Implement error checking and handling routines for robust communication over the I2C bus.
This table and set of instructions provide essential details for integrating the DS1387+ into a design.
(For reference only)View more about DS1387+ on main site
