KeyeStudio DS3231 High precision I2C real time Clock Module

Regular price
€4,55
Sale price
€4,55
Regular price
€4,55
Sold out
Unit price
Quantity must be 1 or more

The keyestudio DS3231 Clock Module is a highly accurate, cost-effective I2C real-time clock equipped with TCXO and crystal technology. Designed for various applications, this module ensures precise timekeeping even when disconnected from the main power supply, thanks to its integrated battery backup feature. Its compact size and compatibility make it suitable for both commercial and industrial use.


Key Features

  • High Precision: Offers a timing accuracy of ± 5ppm, ensuring reliable timekeeping.
  • Battery Backup: Maintains accurate time even when the main power is disconnected.
  • Low Power Consumption: Ideal for battery-operated devices, preserving energy while functioning.
  • Wide Operating Temperature Range: Operates between -40℃ to +85℃, suitable for diverse environments.
  • 16-Pin Small Outline Package: Compact design for easy integration into various projects.

Technical Specifications

  • Temperature Range: -40 to +85°C
  • Timing Accuracy: ± 5ppm (±0.432 seconds/day)
  • Supply Voltage: 3.3V to 5.5V
  • Output: 1Hz and 32.768kHz
  • Digital Temperature Sensor: Precision of ±3°C
  • Working Temperature: -40°C to +85°C
  • Package: 16 pins small-outline (300mil)

Applications

  • Embedded Systems: Perfect for use in microcontroller applications requiring precise timekeeping.
  • Data Loggers: Ideal for logging time-sensitive data in research and monitoring.
  • IoT Devices: Essential for Internet of Things applications that require accurate timing.
  • Alarm Systems: Useful in devices that need to keep track of time and trigger events.


Sample Code

#include <Wire.h>
#include "DS3231.h"
DS3231 RTC; //Create the DS3231 object
char weekDay[][4] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
//year, month, date, hour, min, sec and week-day(starts from 0 and goes to 6)
//writing any non-existent time-data may interfere with normal operation of the RTC.
//Take care of week-day also.
DateTime dt(2011, 11, 10, 15, 18, 0, 5);//open the serial port and you can check time here or make a change to the time as needed.
void setup () 
{   Serial.begin(57600);//set baud rate to 57600
    Wire.begin();
    RTC.begin();
    RTC.adjust(dt); //Adjust date-time as defined 'dt' above 
}
void loop () 
{  
 DateTime now = RTC.now(); //get the current date-time
    Serial.print(now.year(), DEC);
    Serial.print('/');
    Serial.print(now.month(), DEC);
    Serial.print('/');
    Serial.print(now.date(), DEC);

    Serial.print(' ');
    Serial.print(now.hour(), DEC);
    Serial.print(':');
    Serial.print(now.minute(), DEC);
    Serial.print(':');
    Serial.print(now.second(), DEC);
    Serial.println();
    Serial.print(weekDay[now.dayOfWeek()]);
    Serial.println();
    delay(1000);
}

Conclusion

The keyestudio DS3231 Clock Module is an excellent choice for anyone needing a reliable and accurate real-time clock solution. With its battery backup, precision timing, and versatile applications, it is suitable for both beginners and advanced developers. Enhance your technology projects with this essential clock module and ensure accurate time management in your systems!

Go to full site