Arduino UNO with RTC module ( Real Time Clock Module ) | DIY Programming (Code Included)
Описание
This video is about how to construct the circuit and program arduino UNO board with RTC ( DS3231 - Real Time Clock Module ). ⌚ We can program this circuit to schedule a task at a preferred time.
Components
✅Arduino UNO
✅RTC Module - DS3231 (Real Time Clock Module)
✅Jumper Wires
✅USB UNO R3 Cable
✅PC or Laptop with Arduino software
Important Libraries (Reference)
https://www.arduino.cc/reference/en/libraries/ds3231/
[ Abstracts functionality for clock reading, clock setting, and alarms for the DS3231 high-precision real-time clock.]
RTC Module IC Datasheet : https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
About DS3231 IC
? General Description
The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature compensated crystal oscillator (TCXO) and crystal. The device incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted. The integration of the crystal resonator enhances the long-term accuracy of the device as well
as reduces the piece-part count in a manufacturing line. The DS3231 is available in commercial and industrial temperature ranges, and is offered in a 16-pin, 300-mil SO package.
The RTC maintains seconds, minutes, hours, day, date, month, and year information. The date at the end of the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with an AM/PM indicator. Two programmable time-of-day alarms and a programmable square-wave output are provided. Address and data are transferred serially through an I2C bidirectional bus.
A precision temperature-compensated voltage reference and comparator circuit monitors the status of VCC to detect power failures, to provide a reset output, and to automatically switch to the backup supply when necessary. Additionally, the RST pin is monitored as a pushbutton input for generating a μP reset.
[ Source: https://datasheets.maximintegrated.com/en/ds/DS3231.pdf ]
? Arduino UNO R3 Board
The Arduino UNO R3 is the perfect board to get familiar with electronics and coding. This versatile microcontroller is equipped with the well-known ATmega328P and the ATmega 16U2 Processor.
This board will give you a great first experience within the world of Arduino.
[ Source : https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf ]
? Arduino Software
For Windows 7 or Earlier : https://downloads.arduino.cc/arduino-1.8.19-windows.exe
For Windows 10 : https://www.microsoft.com/store/apps/9nblggh4rsd8?ocid=badge
Windows Zip Version : https://downloads.arduino.cc/arduino-1.8.19-windows.zip
For Mac OS : https://downloads.arduino.cc/arduino-1.8.19-macosx.zip
For Linux : https://downloads.arduino.cc/arduino-1.8.19-linux32.tar.xz
[ Source: If you need more information about Arduino software versions visit https://www.arduino.cc/en/software ]
If you need Arduino full code please contact me on Telegram +94711315170
Join with our Electron Magic Telegram Channel : https://t.me/electronmagicdiy