Description
DS3231SN Real Time Clock Module Real Time Clock IC Integrated Circuits
- RTC, TCXO, CRYSTAL, 3.3V, 16SOIC
- Clock IC Type: RTC
- Minimum Supply Voltage: 2.3V
- Maximum Supply Voltage: 5.5V
- Digital IC Package Style: SOIC
- Number of Pins: 16
- Interface Type: I2C, Serial
- Base Number: 3231
- Clock Frequency: 32.768kHz
- IC Package Style: SOIC
- Interface: Serial, I2C
- Interface Type: I2C
- No. of Outputs: 1
- Operating Temperature Range: from a
- Package / Case: SOIC
- RTC Features: Square Wave Output
- Supply Voltage Range: from 2.3V to 5.5V
- Termination Type: SMD
- Type: RTC
- Voltage Vcc: 3.3V
- Max Voltage Vcc: 5.5V
- Min Voltage Vcc: 2.3 V
p >
We have the technical specifications of all components available, should it not be present in the product download card, send a message from the contact us module and we will publish it as soon as possible on our website.
Tutorial: How to use DS3231SN RTC
The DS3231SN is an integrated circuit that provides the time and date accurately, ideal for Arduino projects that require good time management.
What you need
- Arduino Uno or compatible
- USB Type B cable
- CR1220 battery
Steps
- Connect the DS3231SN to the Arduino using the corresponding pins (check the datasheet)
- Install the RTClib library through the Arduino IDE Library Manager
- Insert a CR1220 battery into the DS3231SN cell to ensure timekeeping in case of disconnection
Example code
RTC_DS3231 rtc;
void setup() {
displayDateTime();
}
void loop() {}
void displayDateTime(){
time_t t = rtc.now();
Serial.println(ctime(&t));
}
Mini project
Create a digital clock that displays the time and date on the Arduino serial monitor
Common mistakes
- Do not install the RTClib library correctly
- Insert an incompatible battery
- Omit the connection of the SQW/INT pin to pin 2 of the Arduino to receive signals
Recommended accessories
- CR1220 battery
- RTClib library
- Arduino Uno
- USB type B cable
Frequently asked questions
How can I set the time and date?
Use the setSyncProvider() method of the RTClib library to synchronize with Arduino.
How long does the CR1220 battery last?
The duration varies but generally extends between 5-7 years under optimal conditions.







Reviews
There are no reviews yet.