C
C
Clergyman2017-10-19 19:10:45
Arduino
Clergyman, 2017-10-19 19:10:45

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

3 answer(s)
A
Alexander, 2017-10-19
@Clergyman

It is necessary to read the time once a second and check compliance with the conditions.

F
Fudo Tsukiko, 2017-10-19
@FudoTsu

it is possible to do an initial rename with unix time. then convert to normal time and watch

A
Alexander Gusev, 2017-10-19
@Sanchogus

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 question

Ask a Question

731 491 924 answers to any question