Skip to product information
1 of 2

RTC Real Time Clock and EEPROM DS3231 AT24C32 Module

RTC Real Time Clock and EEPROM DS3231 AT24C32 Module  -  DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC), with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. Compared to the DS1302 solution, the DS3231 has many advantages, it functions with a VCC ranging from 2.3V to 5.5V and has a battery backup. Unlike the DS1307, the DS3231 also has an integrated crystal (so no external crystal required), temperature sensor, 2 programmable time-of-day alarms, a 32.768 kHz output pin to ensure higher accuracy.     Besides, there is also an EEPROM AT24C32 to supply you with 32K EEPROM to store your data, it is the best choice for your application that needs recoding time, a built battery holder makes this module suitable. It is a good substitution for the data logging shield, with even higher time precision.

Features

  • Size: 38mm (length) * 22mm (W) * 14mm (height)
  • Weight: 8g
  • Operating voltage :3.3 - 5 .5 V
  • Clock chip: high-precision clock chip DS3231
  • Clock Accuracy :0-40 ℃ range, the accuracy 2ppm, the error was about 1 minute
  • Calendar alarm clock with two
  • Programmable square-wave output
  • Real-time clock generator seconds, minutes, hours, day, date, month, and year timing and provide valid until the year 2100 leap year compensation
  • The chip temperature sensor comes with an accuracy of 3 ℃
  • Memory chips: AT24C32 (storage capacity 32K)
  • IIC bus interface, the maximum transmission speed of 400KHz (working voltage of 5V)
  • Can be cascaded with other IIC devices, 24C32 addresses can be shorted A0/A1/A2 modify default address is 0x57

RTC Real Time Clock and EEPROM DS3231 AT24C32 Module – Description

Real-Time Clock or RTC, in short, is designed to keep time accurate even when your device is switched off. System engineers execute real-time clocks as a trigger to turn the device on and initiate some events such as alarm clocks. Further, the unit runs on an alternate power source that also stimulates the continuous operation under low power or even when the device is turned off. We usually find lithium batteries on older systems but the more advanced computers utilize auxiliary batteries or supercapacitors. ICs used in RTC are rechargeable and can also be soldered.
The digital RTC and EEPROM DS3231 AT24C32 are particularly assembled to be used in association with Raspberry Pi, Arduino, and many other general-purpose microcontrollers. The condition is that they should support the I2C interface. This unit is helpful in storing and retrieving the current time after the system goes switched off. The EEPROM provides a storage capacity of 32kb that can be used for data logging.
Significantly, the RTC module manages the time inside systems during the power cut-offs or the main power supply is switched off. Coin battery or secondary battery is the prime motivation to power the unit. Apart from operating simpler clock functions, RTCs are also come pivotal to play a substantial role in the high-accuracy time management of systems. Also, RTCs emerge to be important for real-time systems, including digital cameras, attendance systems, and digital clocks, etc. It is a great unit to consider when timestamp is needed in applications.

Key Advantages/Merits of Using Real-Time Clocks

Plenty of benefits that can capture by installing RTCs in digital projects. Users can implement the computer clock in the form of an integrated circuit that is intended to keep time. Here’re some of the main perks of using real-time clocks:

Versatility

Real-time clocks impart a versatile approach since they can count years, months, days, hours, minutes, seconds, and milliseconds. We can find it running in personal systems servers and embedded systems as well.

Requires lower supply current

Prominently, RTCs aim to work incredibly at much lower current and voltage. Hence, it minimizes the cost and size of a backup circuit to reduce the overall investments.

Easier software integration

When it comes to developing a clock function using an MCU, a designer has to program software to host the complex calendar and time protocols. But on the contrary, RTCs are specifically constructed for time management. It also incorporates circuits to keep the time and calendar until 2099.
Simpler oscillator circuit
It is super easy to draft an oscillator circuit with a smaller number of external components. Users need a single external oscillator to develop an oscillator circuit.RTCs contain ambient components (except a crystal unit) that are productive while designing an oscillator circuit for multiple projects.
Concluding, RTC EEPROM DS3231 AT24C32 Module is a valuable component to manage time in devices even when they are out of power or switched off.

Setting up Time on a DS3231/DS3107/DS1337


The DS3231 and its slightly less precise siblings, the DS3107 and DS1337, are both very accurate Real Time Clocks (RTCs) that are often used. It must be set to the correct time, though, in order for it to be useful. This Intractable sole function is to use an Arduino UNO to set the Real Time Clock board's time to the correct time. There are other really good instructions about RTC boards, but they have a lot more information in them than you might want to read. You'll find what you need if you've come here trying to set your DS3231 to the correct time.

  • S3231 Real Time Clock (or DS3107/DS1337)
  • Arduino UNO
  • 4 Male to Female Breadboard Cables and a Coin Cell Battery

Connect RTC to Arduino

The RTC should now contain the coin-cell battery. On most RTC boards, the positive side is facing outward. Use the male to female jumper wires to join only the following four sets of pins:

  • VCC ->Arduino 5V
  • GND ->Arduino GND
  • SDA ->Arduino A4
  • SCL ->Arduino A5

Download the Arduino Library and Run the SetTime Sketch


  • Visit http://www.pjrc.com/teensy/td libs DS1307RTC.html to download and install the DS1307RTC Library. Read these instructions if you need help installing an Arduino library.
  • Open the Arduino IDE, connect your Arduino to your computer, and launch the SetTime sketch, which is located under: File->Examples->DS1307RTC->SetTime.
  • As soon as you download the sketch to the Arduino, make sure your Arduino is linked to a computer.
  • Make sure the baud rate is set to 9600 when you open the Serial Window. You should receive a success message similar to the one in the final image above if all goes according to plan.
  • Now that you're prepared, use the right time in your upcoming initiatives. It ought to automatically use the RTC's date and time upon reboot. The registers RTC array and the accompanying variables are where the getTime() function stores the obtained time and date. This procedure modifies all time- and date-related API variables: RTC
  • Start the Pi without any internet connection to verify that it is functioning properly (unplugging Ethernet and disabling WiFi). It's important to set the time properly. Now that it is configured correctly, it is operational.

Download& External Link

RTC Real Time Clock and EEPROM DS3231 AT24C32 Module

RTC Real Time Clock and EEPROM DS3231 AT24C32 Module

21 in stock

Product Code

SKU:AB603

Regular price ₱ 75.00
Regular price Sale price ₱ 75.00
Sale Sold out
View full details

Related Post