Questions tagged [ds3231-alarms]

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

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

29 questions
4
votes
1 answer

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 first alarm, the first LED can be turn off with the…
Biancaaa
  • 61
  • 1
  • 5
3
votes
2 answers

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 it from main power but I have checked that my…
3
votes
2 answers

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 transmission, because if the PC sends the time at a…
Storca
  • 67
  • 8
3
votes
1 answer

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 to do it with the normal library. Delay…
SDsolar
  • 1,175
  • 3
  • 11
  • 35
2
votes
1 answer

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.RinkyDinkElectronics.com/ // // A quick demo of how to…
2
votes
2 answers

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. Everything works correctly but not the "Day", i.e as of…
2
votes
1 answer

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 sunrise and one at the sunset. Each time the DST…
2
votes
0 answers

Arduino based hour counter

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 a condition to store a particular value and add…
Pavan Hari
  • 21
  • 1
2
votes
2 answers

Using RTC DS3231 + Arduino UNO to calculate time lapsed

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 his chair it will trigger an event ( maybe a…
1
vote
0 answers

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 article was written through Google Translator.) I…
rayhong
  • 11
  • 2
1
vote
0 answers

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 is still not working. here is my set up and…
Otaku ICT
  • 11
  • 1
1
vote
1 answer

Why the unsigned long is overflowing?

I want to convert hour to seconds but unsigned long is overflowing, here's the code: #include #include RTClib myRTC; unsigned long seconds; char timestr[9]; void setup() { Serial.begin(250000); Wire.begin(); } void loop()…
ElectronSurf
  • 814
  • 4
  • 17
  • 43
1
vote
0 answers

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 my needs. I want to save power consumption too so…
TechMky
  • 11
  • 1
1
vote
2 answers

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 time of my location, it has been running along…
1
vote
0 answers

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 so it would be a 32x32 led matrix diplay divided…
Rehoboam
  • 27
  • 7
1
2