Sale!

DS3231 AT24C32 I2C Module – Precision Real-Time Clock with Memory for Arduino

Original price was: 6,65 €.Current price is: 4,19 €. Excluding VAT

The DS3231 AT24C32 IIC Module is a precision clock with RTC memory for Arduino. Used for timed projects and high accuracy applications.

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

🎬 The product on video

Description

What it is

The DS3231 AT24C32 IIC Module is an Arduino component that combines the functionality of a real-time clock (RTC) with built-in memory. This module is designed to offer high temporal accuracy and data storage capacity.

Features

  • DS3231 Module with integrated AT24C32 chip
  • IIC (Inter-Integrated Circuit) Communication
  • Real-time clock (RTC) for temporal accuracy
  • Built-in 32Kbit memory (AT24C32)

What it is for

This module is ideal for projects requiring high temporal accuracy and the ability to store data. It can be used in applications such as stopwatches, programmable timers, or any other Arduino project where accurate time tracking is necessary.

Tutorial: How to use the DS3231 AT24C32 IIC Module

This precision clock module with memory is ideal for projects requiring a precise chronometer and temporal memory for Arduino.

What you need

  • Arduino
  • IIC Cable
  • Pull-up Resistor (10kΩ)
  • DS3231 Datasheet

Steps

  1. 1. Install the DS3231 arduino on your Arduino.
  2. 2. Connect the VCC of the module to the 5V of Arduino.
  3. 3. Connect GND of the module to the GND of Arduino.
  4. 4. Connect SDA of the module to the SDA pin of Arduino.
  5. 5. Connect SCL of the module to the SCL pin of Arduino.
  6. 6. Connect a pull-up resistor (10kΩ) between SDA and GND.
  7. 7. Load the provided Arduino code.
  8. 8. Check the time and date on the Serial Monitor display.

Example code

```
#include <Wire.h>
#include <RTClib.h>

RTC_DS3231 rtc;

void setup() {
  Serial.begin(9600);
  if (!rtc.begin()) {
    Serial.println("RTC não iniciado");
    while (1);
  }
  Serial.println("RTC iniciado");
}

void loop() {
  DateTime now = rtc.now();
  Serial.print("Hora atual: ");
  Serial.print(now.hour(), DEC);
  Serial.print(":");
  Serial.print(now.minute(), DEC);
  Serial.print(":");
  Serial.print(now.second(), DEC);
  Serial.print(" - ");
  Serial.print("Data atual: ");
  Serial.print(now.year(), DEC);
  Serial.print(");");
  Serial.print(now.month(), DEC);
  Serial.print(");");
  Serial.print(now.day(), DEC);
  Serial.println(");");
  delay(1000);
}
```

Mini project

Create a simple stopwatch using the DS3231 module to measure elapsed time.

Common mistakes

  • Forget to connect the pull-up resistor.
  • Connect SDA and SCL to the wrong pin.
  • Fail to initialize the RTC module correctly.
  • Forget to check IIC connectivity.

Recommended accessories

  • Display 16×2 LCD
  • Button
  • Resistor 10kΩ
  • IIC cable

Frequently asked questions

How can I check if the module is functioning?
Check IIC connectivity and load the example code. If the time and date are displayed correctly, the module is functioning.

Can I use this module with Arduino Nano?
Yes, the module is compatible with Arduino Nano.

How long can the module’s battery last?
Check the datasheet for precise specifications.

Reviews

There are no reviews yet.

Be the first to review “DS3231 AT24C32 I2C Module – Precision Real-Time Clock with Memory for Arduino”

Your email address will not be published. Required fields are marked *