Skip to main content

Questions tagged [ds3231-alarms]

Use for topics in reference to the alarms functions of the DS3231 Real-Time Clock

Filter by
Sorted by
Tagged with
-1 votes
1 answer
28 views

Use DS3231 with battery and vcc at the same time

I have ds3231 which i want to use to keep track of time even when the in my ase esp32 is without electricity. I however read some difference stuff regarding using the vcc and battery on he same time. ...
acroscene's user avatar
1 vote
0 answers
89 views

LED button alarm with DS3231 RTC problems

I am a PHP web programmer, but I am a beginner studying Arduino. I would like to inquire about a problem with the following function that I am creating while looking for various references. (This ...
rayhong's user avatar
  • 11
1 vote
0 answers
340 views

RTC DS3231 always remember the old time

I try to change time on windows to test my programing condition but RTC usually keep old time when i change time on windows and re-upload the code . I'm also removing the battery and cut the power it ...
Otaku ICT's user avatar
1 vote
1 answer
496 views

Why the unsigned long is overflowing?

I want to convert hour to seconds but unsigned long is overflowing, here's the code: #include <Wire.h> #include <DS3231.h> RTClib myRTC; unsigned long seconds; char timestr[9]; void ...
ElectronSurf's user avatar
2 votes
1 answer
1k views

DS3231 is unable to keep record of time

so i bought a DS3231 clock which i am using with This famous library . // DS3231_Serial_Easy // Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved // web: http://www....
Subha Jeet Sikdar's user avatar
4 votes
1 answer
162 views

Turning off a LED

I am trying to make 2 alarms for 2 different times using 2 LED's which should turn on when the time corresponds to the set time and then if a pushbutton is pressed, the LED should turn off. For the ...
Biancaaa's user avatar
2 votes
2 answers
721 views

DS3231 Clock project shows right date but wrong day

Heeya Guys! Today I created a project with the help of instructables site. I followed the on screen steps and everything. Uploaded the sketch and it works like a charm, but there's one problem. ...
Shaun_Miller's user avatar
1 vote
0 answers
269 views

Arduino unable to wake up using interrupt after sending SMS

my use case is that I am building a distance sensor using Arduino Uno. The idea is when the distance is between a threshold, an SMS is sent from the device. I am using DS3231, SIM800L, and HCSR04 for ...
TechMky's user avatar
  • 11
0 votes
2 answers
328 views

Problem understanding how to program DS3231 RTC

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin. https://github.com/...
Jack Danniels's user avatar
2 votes
1 answer
124 views

Arduino with interrupts enters in a locking state

I am quite noobish with using the interrupts on Arduino and I am facing a strange problem. I am using an Arduino Pro Mini, a light sensor and an RTC module(DS3231) which has set 2 alarms, one at ...
Emanuel Giurgiu's user avatar
3 votes
2 answers
1k views

Set control register to low in ds3231 rtc

I have been using ds3231 rtc module for keep tracking and make alarm along with backup battery. when I used it for first time it worked fine. but now it doesn't keep track my time when the power lose ...
Sharifdeen Ashshak's user avatar
1 vote
2 answers
3k views

Real Time clock module error-DS3231

This is not a code error I have been using DS3231 RTC module with battery. When I bought this module It worked perfectly now when I get it to use, The time is running perfectly. when I set the current ...
Sharifdeen Ashshak's user avatar
0 votes
0 answers
235 views

ds3231 rtc module weekly alarm

I have a ds3231 and Arduino UNO and I need to get an interrupt from ds3231 once a week for example every Fridays. I've searched a lot in the internet and forums but did not find any library or code ...
sepehr's user avatar
  • 63
1 vote
0 answers
1k views

ESP8266 NODEMCU V3 web server with MAX7219 and DS3231 RTC

I am using ESP8266 NodeMCU with MAX7219 and a DS3231 teal time clock. I want to display the time and some text. The display is made of 4 FC16 modules which are made of 4 8x8 MAX7219 led matrix modules ...
Rehoboam's user avatar
0 votes
1 answer
1k views

Parola library and DS3231 clock

EDIT2: Well, this is the "new" code and it just displays random dots on the matrices: #include "RTClib.h" #include <MD_Parola.h> #include <MD_MAX72xx.h> #include <SPI.h> // Define ...
Rehoboam's user avatar
1 vote
1 answer
554 views

Arduino Nano, DS3231 RTC clock module and 4 cascaded FC-16 led matrix modules

Like I said in the title, I am using a DS3231 real time clock module and 4 cascaded FC-16 modules(they are basically MAX7219 led matrices based modules). My goal is to display a timetable, a schedule ...
Rehoboam's user avatar
1 vote
0 answers
286 views

Serial Monitor shows random texts While Reading Data from RTC DS3231 with Arduino Uno

I tried to set time on a RTC DS3231. After Uploading it with Arduino IDE, I try viewing the output in the Serial Monitor. However, if I start viewing the Serial Monitor, It starts showing encrypted ...
Swet's user avatar
  • 11
1 vote
0 answers
187 views

DS3231 High Power Consumption

I plan to use my Arduino with a small battery all the time so I don't want it to use so much power. I was checking power consumption of DS3231 with a multimeter, at first it was fluttering around 1 mA ...
heathcliff's user avatar
1 vote
2 answers
769 views

How to count the number of rising edges on DS3231 rtc?

I am using a DS3231 rtc and I would like to get millisecond accuracy from it so I decided to use the 32kHz generated clock from it. I wrote a code that would count the rising edges or falling edges ...
JamesONeil's user avatar
1 vote
4 answers
354 views

How to manage two alarms with one interrupt?

I have a datalogger using the RTC DS3231 as an interrupt generator. I am able to have the interrupts work but here is my problem. I would like to take 2 separate measures from 2 different sensors (one ...
JamesONeil's user avatar
0 votes
2 answers
511 views

Stepper motor based clock movement with DS3231

I am working on a clock movement that is powered using a stepper motor and the GSM2 driver board. The delay between steps needed to achieve 1 rpm on the second hand works out to 25 ms. In my current ...
Peter Klopp's user avatar
1 vote
2 answers
5k views

DS3231 RTC module and battery problem

I have a CR2032 battery connected to a DS3231 module as backup battery. When the module is connected to 5V the battery voltage is at 4.3V and without power 3.7V. That means the module is trying to ...
ElectronSurf's user avatar
0 votes
1 answer
81 views

Maintaining time in Arduino

I am working on development of alarm clock using Arduino. No doubt RTC will be the best but it increases the Price of the project. Also I opened a digital clock (which I purchased online) and I see ...
muphy's user avatar
  • 59
2 votes
0 answers
362 views

Arduino based hour counter [duplicate]

I would like to make a hour counter for a particular machine.I have a problem in coding.arduino internal clock can work only till 49 days.my hour counter should calculate 150+ hours.I thought of using ...
Pavan Hari's user avatar
-1 votes
1 answer
8k views

'RtcDateTime' does not name a type

I've tested a code that compiles successfully. But after i merged it to another code, here it shown an error says RtcDateTime doesn't name a type. Used library : https://github.com/Makuna/Rtc Some ...
Hamzah Hajeir's user avatar
3 votes
2 answers
654 views

What precision can I expect by syncronising DS3231 with PC serial?

The point here is to syncronise a DS3231 module (on an Arduino) via serial port with NTP time by computer. The problem here is that I'd like to know how much time is taken by the serial and I2C ...
Storca's user avatar
  • 67
1 vote
1 answer
503 views

How to only detect the opening and closing of door sensor once

im quite new to Arduino coding. Currently im trying to create an alarm and when the alarm ring, the user will just need to remove the door sensor once to stop the alarm and listen for the next alarm. ...
ZQ7's user avatar
  • 11
2 votes
2 answers
819 views

Using RTC DS3231 + Arduino UNO to calculate time lapsed [closed]

I am a beginner with no coding background. I am trying to figure out an alarm that tells people how long they have been sitting on their chair. The concept is very simple when the person would sit in ...
ashish chaudhary's user avatar
3 votes
1 answer
9k views

How to set Alarms on the DS3231 easily so the Nano doesn't have to go to sleep with delay statements?

I want my solar array sun tracker to shut down at night then move full east in the morning to catch the first rays. I know the DS3231 can set alarms but it is not clear from its documentation how ...
SDsolar's user avatar
  • 1,165