The DS3231 is an I2C real-time clock (RTC) with an inbuilt temperature compensated crystal oscillator (TCXO) and crystal that is both low-cost and exceptionally precise. When the module’s power is interrupted, the device has a battery input and keeps a precise time. The device’s long-term precision is improved by the inclusion of the crystal oscillator. The RTC keeps track of seconds, minutes, hours, days, dates, months, and years. For months with less than 31 days, the date at the end of the month is automatically modified, including leap year corrections. The clock has an AM/PM indication and works in either a 24-hour or 12-hour mode. Two programmable time-of-day alarms are included, as well as a programmable square-wave output. An I2C bidirectional bus is used to transport address and data serially.
DS3231 Module Pinout
The DS3231 module has 6 pins to get data from the module and supply power to the board. The pinout of DS3231 is as follows:-
32K | 32K oscillator output
SQW | Square Wave output pin
SCL | Serial Clock pin (I2C interface)
SDA | Serial Data pin (I2C interface)
VCC | Connected to the positive of power source
GND | Connected to the ground
Reviews
There are no reviews yet.