🌐
How To Mechatronics
howtomechatronics.com › home › tutorials › arduino tutorials › arduino and ds3231 real time clock tutorial
Arduino and DS3231 Real Time Clock Tutorial - How To Mechatronics
February 18, 2022 - Example in 6p.m How to write code in ‘if else’ operation? Reply · How to separate the TIME so i can get the specified hour or minute in “if else” operation to make an automatic on-off switch? Reply · Hello, Sorry for the late response. You can separate it using the substring(). You can find more details how this function works on the Arduino official website. Plus you can check my Arduino Touch Screen Music Player and Alarm Clock Project where I use this method to get the hours, the minutes and the seconds into a separate variables.
🌐
Arduino
docs.arduino.cc › tutorials › uno-r4-minima › rtc
Arduino UNO R4 Minima Real-Time Clock | Arduino Documentation
In this tutorial you will learn how to access the real-time clock (RTC) on an Arduino UNO R4 Minima board.
🌐
Circuit Basics
circuitbasics.com › how-to-use-a-real-time-clock-module-with-the-arduino
How to Use a Real-time Clock Module with the Arduino
October 21, 2024 - I had a look at the RTC library for Arduino. It’s limited to dates between 2000 and 2099, the code specifically checks for this. I wrote a quick test as I’ve dismantled my LCD clock, but using my code to set the date, I can read back correct dates for this year.
🌐
Arduino
projecthub.arduino.cc › hibit › keeping-time-with-ds1302-real-time-clock-on-arduino-07d30b
Keeping time with DS1302: real-time clock on Arduino | Arduino Project Hub
April 17, 2025 - Clocks · Environmental Sensing · Home Automation · Monitoring · Smart appliances · Tools · Internet Of Things · Devices & Components · 1 · Arduino Nano · 1 · [HB] DS-1302 Module · 1 · [HB] CR2032 Battery · 1 · [HB] Mini Breadboard ...
🌐
Arduino
projecthub.arduino.cc › ejshea › real-time-clock-d01fa3
Real-Time Clock | Arduino Project Hub
Learn how to use a DS3231 Real-Time Clock for accurate time and date in your projects!
🌐
Random Nerd Tutorials
randomnerdtutorials.com › home › arduino › arduino ide › arduino with ds3231 real time clock (rtc): getting time and setting alarms
Arduino DS3231 Real Time Clock (RTC): Time and Alarms | Random Nerd Tutorials
April 28, 2025 - /********* Rui Santos & Sara Santos ... time functions using a DS1307 RTC connected via I2C and Wire lib #include "RTClib.h" RTC_DS3231 rtc; char daysOfTheWeek[7][12] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", ...
🌐
Arduino
docs.arduino.cc › tutorials › uno-r4-wifi › rtc
Arduino UNO R4 WiFi Real-Time Clock | Arduino Documentation
March 16, 2026 - In this tutorial you will learn how to access the real-time clock (RTC) on an Arduino UNO R4 WiFi board.
🌐
HiBit
hibit.dev › posts › 158 › keeping-real-time-clock-with-mini-ds3231-on-arduino
Keeping real-time clock with mini DS3231 on Arduino - HiBit
April 1, 2024 - This Arduino code uses the DS3231 library to interface with the DS3231 real-time clock module. The setup function initializes the DS3231, setting the initial clock time to the moment the sketch was last compiled.
🌐
Arduino Getting Started
arduinogetstarted.com › tutorials › arduino-rtc
Arduino - RTC | Arduino Getting Started
1 week ago - Arduino itself has some time-related ... year). To get date and time, we needs to use a Real-Time Clock (RTC) module such as DS3231, DS1370....
Find elsewhere
🌐
ElectronicsHub
electronicshub.org › home › arduino real time clock tutorial using ds1307
Arduino Real Time Clock Tutorial using DS1307
July 15, 2024 - Take your Arduino projects to the next level! Build a Real-Time Clock using the DS1307 module. Our tutorial guides you step-by-step, with clear explanations and code examples. Keep your projects on time, every time!
🌐
EXP Tech
exp-tech.de › home › blog › blog
Arduino Tutorial: Real Time Clock (RTC)
June 18, 2025 - While this type of timing is fine for some projects, some projects such as data loggers, clocks, etc. need to have a consistent time measurement that does not reset when the Arduino battery fails or is reprogrammed and this is where the RTC comes in! The RTC chip is a special chip that only tracks time. It can count leap years and knows how many days there are in a month. You can easily connect the RTC breakout to any microcontroller. You just need to make sure I2C is available, and then port the code - it's pretty easy!
🌐
DroneBot Workshop
dronebotworkshop.com › real-time-clock-arduino
Using a Real Time Clock with Arduino | DroneBot Workshop
April 12, 2023 - The micros function, like the millis function, except it measures the time the Arduino has been running in microseconds. You can use the above functions to insert time delays or measure elapsed time. But you can’t get the time of day or date from them. To do that you’ll need to add an external component – a “real time clock”.
🌐
Arduino
arduino.cc › en › Reference › RTC
RTCZero | Arduino Documentation
This library allows an enables an Arduino based on SAMD architectures (es. Zero, MKRZero or MKR1000 Board) to control and use the internal RTC (Real Time Clock). A real-time clock is a clock that keeps track of the current time and that can be used in order to program actions at a certain time.
🌐
CircuitDigest
circuitdigest.com › microcontroller-projects › interfacing-ds3231-rtc-with-arduino-and-diy-digital-clock
DS3231 RTC (Real Time Clock) Interfacing with Arduino to build DIY Digital Clock
August 11, 2025 - Open the Arduino IDE and select Library Manager from the menu bar. Now look for RTCLib and DS3231 and get the most recent version, as shown in the figure below. The code is quite straightforward. It will set the time and then show it on the serial monitor. ... The rtc object sets the time according to the time on your computer in this line. It will change your system's current clock time.
🌐
Adafruit
learn.adafruit.com › adafruit-pcf8523-real-time-clock › rtc-with-arduino
RTC with Arduino | Adafruit PCF8523 Real Time Clock | Adafruit Learning System
October 29, 2017 - This line is very cute, what it does is take the Date and Time according the computer you're using (right when you compile the code) and uses that to program the RTC. If your computer time is not set right you should fix that first. Then you must press the Upload button to compile and then immediately upload. If you compile and then upload later, the clock will be off by that amount of time.
🌐
Core Electronics
core-electronics.com.au › guides › accurate-clock-arduino-uno
How to use a RTC With an Arduino UNO R3 to Create an Accurate Clock (LCD Screen and Nixie Tubes) - Tutorial Australia
February 16, 2023 - So long as your running a Real-time Clock that has a DS1307 chip inside it this code will work fine. Having done the library requirements are sorted and we can start coding. Copy and Paste the below code into the Arduino IDE coding section (deleting anything that was written in there beforehand).
🌐
Random Nerd Tutorials
randomnerdtutorials.com › home › arduino › guide for real time clock (rtc) module with arduino (ds1307 and ds3231)
Real Time Clock RTC Module Arduino | Random Nerd Tutorials
April 2, 2019 - Connect your Real Time Clock module to your Arduino as in the schematics below. Working with the RTC requires two important steps: setting the current time, so that the RTC knows what time is it · retaining the time, so that the RTC always gives the correct time, even when it is turned off · For setting the current time you need to change the code ...
🌐
Arduino Intro
arduinointro.com › articles › projects › ds1307-real-time-clock-and-arduino-complete-setup-and-code-tutorial
DS1307 Real Time Clock and Arduino: Complete Setup and Code Tutorial
June 26, 2024 - clock.begin();: Initializes the RTC module. It sets up the communication between the Arduino and the DS1307 RTC module. The following lines are commented out. If you want to set the time and date on the RTC module, you need to uncomment these lines, upload the sketch to the Arduino, and then comment them out again before uploading the sketch a second time:
🌐
Arduino
docs.arduino.cc › tutorials › mkr-zero › mkr-zero-rtc-clock
RTC (Real Time Clock) with MKR Zero and OLED Display
September 30, 2025 - From beginner to Advanced: Traverse the Arduino Landscape with Confidence, Empowered by Tutorials Tailored to Sharpen Your Skills and Fuel Your Maker Spirit