Answer the question
In order to leave comments, you need to log in
How to make an Arduino perform a task at a given time?
There is a simple stepper motor with ULN2003 driver , arduino nano and DS3231 precise time module .
Task: start the engine several times a day at the specified hours, for example at 12, 13 and 21.
I hope to find a solution using the DS3231 module .
The option with delay does not suit you, since you have to catch timings when you turn on / off the device.
Answer the question
In order to leave comments, you need to log in
It is necessary to read the time once a second and check compliance with the conditions.
it is possible to do an initial rename with unix time. then convert to normal time and watch
1. Read the time.
2. If current time = action execution time, then perform the action...
Or write the code for you?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question