Fermion: DS3232 Precise RTC Module

SKU: DFR0821

The Fermion: DS3232 RTC Module utilizes the DS3232 chip, featuring a crystal resonator and temperature compensator to enhance long-term accuracy. With an operational range of -40°C to +85°C, it maintains precision of ±3.5ppm, making it ideal for IoT applications. It integrates 236Byte SRAM for low power data storage and a battery input for uninterrupted timing. The RTC provides comprehensive time information, automatically adjusting for leap years, and supports both 24-hour and 12-hour formats. Two programmable alarms and a square-wave output are included, along with a RST pin for microprocessor reset.

Front of DS3232 RTC module with microcontroller and pins for Arduino real-time clock projects.-DFRobot product sku:DFR0821 image.
  • Docs
  • Tech Specs
  • 1. Example Code for Arduino-Read and Set Time

    This article offers a comprehensive guide on utilizing Arduino to read and set the time using the DS3232 RTC module. It covers hardware components, software setup, and provides a sample code to demonstrate how to initialize the RTC, set the time, and retrieve current time and temperature readings. The detailed instructions and wiring diagram help users easily integrate the RTC module into their Arduino projects, enhancing the precision of time management in their applications.

    2. Example Code for Arduino-Alarm Trigger Query

    This article offers guidance on setting up an Arduino alarm trigger using the DS3232 RTC module, covering both hardware and software preparation. It includes a detailed wiring diagram and sample code to help users implement precise time management solutions.

    3. Example Code for ESP32-Get NTP Time

    This article walks through the steps needed to configure an ESP32 to obtain time from an NTP server, including necessary hardware, software setup, and a detailed example code. It explains how to connect to WiFi, retrieve, and display the current time using the Arduino IDE and DFRobot DS3232 RTC library.

    4. Example Code for Arduino-Alarm Trigger Interrupt

    This article provides example code for using the INT pin on an Arduino clock module to determine alarm triggers, with guidance on connecting the INT pin to the main control board's interrupt pin, specifically using Arduino UNO's D2 pin.

    5. Example Code for Arduino-Low Power and Wakeup

    This article guides you through setting up low power mode and wake-up functionality on Arduino using RTC modules, including hardware and software requirements, wiring diagrams, and example code for setting alarms and handling interrupts.

    6. Example Code for Arduino-Clock Square Wave Output

    7. Example Code for Arduino-Read/Write SRAM

    This article offers a detailed guide on using Arduino to read and write data in SRAM with the DS3232 RTC Module, including hardware/software preparation, wiring diagrams, and sample code for effective project management.

    Reference

    This article provides a detailed guide on utilizing the DS323X library for Arduino, highlighting the I2C communication protocol and offering API functions for time management and temperature readings.

    Specification

    Parameter Value
    Power Supply Voltage 3.3V-5.5V
    I2C Address 0x68
    SRAM 236 Byte (0x14~0x1F)
    Timing Range 1970 ~ 2100
    Working Temperature -20℃ ~ +60℃
    Timing Accuracy ±3.5ppm (±0.3024 seconds/day)
    Product Size 22.5×21mm / 0.89×0.83 inch

    size

    Pinout

    Pinout

    Num Label Description
    1 VCC Power +
    2 GND Power-
    3 SCL I2C Data line
    4 SDA I2C Clock line
    5 INT Interrupt in low level or 1Hz square wave output
    6 RST Reset calibration pin
    7 32K 32.768KHz Pulse Output

    INT Pin is the sqw pin.

    Was this article helpful?

    TOP