Description
- DS3231 RTC module is a famous real-time clock in the market for its accurate results.
- It is an affordable system that manages Time and Date with high precision.
- This small-sized module has six pins, an inter-integrated (I2C) interface for data transmission, and a battery cell for power-backup.
- DS3231 Real-time Module comes with a TWI interface, two alarm clocks, and an inbuilt temperature-compensated crystal Oscillator.
DS1302
- The DS1302 trickle-charge timekeeping chip module with battery backup contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface.
- The real-time clock counts minutes, seconds, date, hours, month day of the week, year and leap-year compensation up to 2100.
- Read / Write clock or RAM data with two kinds of mode of single-byte transfer mode and multi-byte character set
- 8 pin DIP package or optional 8 pin SOIC package based on the surface assembly
- Simple 3 wire interface
- Compatible with TTL Vcc=5V
- Double power supply pipe for main power and backup power supply.
DS1302 and single-chip microcomputer can simply use synchronous serial communication method, only three lines:
(1) RST
(2) I/O reset the data line
(3) SCLK serial clock.
- Clock /RAM read/write data to a byte character set or as many as 31-byte communication. DS1302 work power consumption is very low to keep the data and clock information when power is less than 1mW
Wiring method (to provide procedures, for example, can pick up any IO port, in the procedure to modify the port definitions :
VCC: 5V/3.3V
GND: GND
CLK: P02
DAT: P01
RST: P00