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 · 1 · [HB] Dupont wires · Software & Tools · Arduino IDE · Project description · Code · HiBit - DS1302 ·
GitHub
github.com › msparks › arduino-ds1302
GitHub - msparks/arduino-ds1302: Arduino library for the DS1302 Real Time Clock chip · GitHub
Starred by 185 users
Forked by 113 users
Languages C++
DS1302 real time clock setup
I've been trying to set up the DS1302 RTC but I can't figure out how to set the date & time. I've been using this tutorial https://www.instructables.com/id/Arduino-Chicken-Coop-Controller/ (as it is similar to the project I am doing) however I can't figure out how to set up the clock from his code. More on forum.arduino.cc
How to use the DS1302 RTC module?
I looked up numerous tutorials and all of the referenced libraries do not work. My wiring is: VCC - 5v GND - gnd CLK - 12 DAT - 13 RST - 11 This is my current code, which always returns Current Date / Time: 45/25/2165 45:85:85 which never changes: #include // Creation of the Real Time Clock ... More on forum.arduino.cc
arduino - How do I implement a DS1302 real-time clock sensor into the following code? - Stack Overflow
The following code is code for an automated food delivery system, and this system needs to begin operating at a specific time, 12 pm sharp. How can I, using Arduino IDE, implement a DS1302 real-time More on stackoverflow.com
Using Real-Time Clock DS1302 module to trigger event at regular interval
I managed using the sketch below. I am using this library: GitHub - msparks/arduino-ds1302: Arduino library for the DS1302 Real Time Clock chip but maybe there is a better one? // Example sketch for interfacing with the DS1302 timekeeping chip. // // Copyright (c) 2009, Mat... More on forum.arduino.cc
04:27
Build Your OWN Arduino Clock with DS1302 RTC and I2C LCD Display Now!
18:22
DS1302 Real Time Clock (RTC) Module - Detailed Explanation and ...
01:22
How to use DS1302 RTC Real Time Clock module with Arduino + DOWNLOAD ...
Arduino Tutorial 35- Real Time Clock using DS1302 RTC ...
09:09
Arduino Tutorial 6: How to use Real Time Clock RTC Module DS1302 ...
12:01
How to use Arduino Real Time Clock module with DS1302 chip - YouTube
Amazon
amazon.com › DS1302-Clock-Module-Real-Time-Arduino › dp › B07Y64VW8X
Amazon.com: DS1302 Clock Module Real-Time Clock Module RTC for Arduino AVR ARM : Industrial & Scientific
Amazon.com: DS1302 Clock Module Real-Time Clock Module RTC for Arduino AVR ARM : Industrial & Scientific
Arduino Forum
forum.arduino.cc › projects › general guidance
DS1302 real time clock setup - General Guidance - Arduino Forum
March 14, 2020 - I've been trying to set up the DS1302 RTC but I can't figure out how to set the date & time. I've been using this tutorial https://www.instructables.com/id/Arduino-Chicken-Coop-Controller/ (as it is similar to the projec…
SunFounder
docs.sunfounder.com › projects › umsk › en › latest › 02_arduino › uno_lesson16_ds1302.html
Lesson 16: Real Time Clock Module (DS1302) — SunFounder Universal Maker Sensor Kit documentation
In this lesson, you will learn how to set up and use a Real Time Clock (RTC) module with an Arduino. We’ll cover initializing the RTC DS1302 module, displaying the current date and time on the serial monitor, and ensuring accurate timekeeping.
HiBit
hibit.dev › posts › 130 › keeping-time-with-ds1302-real-time-clock-on-arduino
Keeping time with DS1302: real-time clock on Arduino - HiBit
March 26, 2026 - Therefore, we've created an extension file, available in our official repository, that can autonomously detect and set the current time on the module. To verify the proper functioning of our module, we use the serial monitor. Your serial monitor should display values closely resembling those visible in the image above. In a world where timing is everything, the DS1302 module and your Arduino can be a dynamic duo. It keeps your projects running like clockwork, and the best part is, it's not overly complicated to set up.
Arduino Forum
forum.arduino.cc › other hardware › sensors
How to use the DS1302 RTC module? - Sensors - Arduino Forum
August 15, 2023 - I looked up numerous tutorials and all of the referenced libraries do not work. My wiring is: VCC - 5v GND - gnd CLK - 12 DAT - 13 RST - 11 This is my current code, which always returns Current Date / Time: 45/25/2165 45:85:85 which never changes: #include // Creation of the Real Time Clock Object virtuabotixRTC myRTC(12, 13, 11); void setup() { Serial.begin(9600); // Set the current date, and time in the following format: // seconds, minutes, hours, day of t...
Tastethecode
tastethecode.com › how-to-use-arduino-real-time-clock-module-with-ds1302-chip
How to use Arduino Real Time Clock module with DS1302 chip
April 6, 2021 - Once restored, the Arduino would have lost track of the time so we would need to set it again. To prevent this from happening, there are certain special-purpose chips, called real-time clocks (RTC) whose sole purpose is to keep track of time. One such chip is the DS1302 which I recently got and played with a bit.
SunFounder
docs.sunfounder.com › projects › umsk › en › latest › 01_components_basic › 16-component_rtc_ds1302.html
Real Time Clock Module (DS1302) — SunFounder Universal Maker Sensor Kit documentation
The DS1302 module is a Real-Time Clock (RTC) module that can track years, months, days, weekdays, hours, minutes, and seconds. It also has the ability to adjust for leap years.
GitHub
github.com › Erriez › ErriezDS1302
GitHub - Erriez/ErriezDS1302: Erriez 3-wire DS1302 Real Time Clock library for Arduino · GitHub
Starred by 24 users
Forked by 7 users
Languages C++
Stack Overflow
stackoverflow.com › questions › 77711950 › how-do-i-implement-a-ds1302-real-time-clock-sensor-into-the-following-code
arduino - How do I implement a DS1302 real-time clock sensor into the following code? - Stack Overflow
There are several ways to implement it, and also depends on which board You are using. Unfortunately the DS1302 RTC (real time clock) has no hardware alarm capability (no output that can trigger, for example, and Arduino microcontroller interrupt).
Arduino Forum
forum.arduino.cc › projects › general guidance
Using Real-Time Clock DS1302 module to trigger event at regular interval - General Guidance - Arduino Forum
December 16, 2019 - Hello, I am using an Arduino UNO R3 with an RTC DS1302 to trigger an event, like blink an LED every 10 seconds. This is the RTC module: This is my first time using an RTC DS1302 and i first had to set the correct time. I managed using the sketch below. I am using this library: GitHub - msparks/arduino-ds1302: Arduino library for the DS1302 Real Time Clock chip but maybe there is a better one?
Goodliffe
goodliffe.org.uk › arduino › rtc_ds1302.php
Arduino basics - Real Time Clock - RTC DS1302
When you switch it on for the first time, set it manually (hardcoded; see the code below) to the current date and time; then, to ensure you don't reset it to that hardcoded time repeatedly, modify the sketch and remove the lines from the 'setup' function and upload the sketch again. In theory, the RTC will then keep track of time using the on-board battery while the RTC is unplugged from the arduino.