S
S
seregareal22015-11-10 18:19:36
Arduino
seregareal2, 2015-11-10 18:19:36

Automation (timer on Arduino)?

help with a stepper motor skate
Its task is to turn on every day at 7 am and 9 pm, (one day on Sunday, whatever it turns on!), make 5 full revolutions in one minute at 7 am, turn off, and do the same most at 9 pm
I have been suffering with him for a month

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
seregareal2, 2015-11-10
@seregareal2

stepper 28BYJ-48
with motor driver ULN2003

M
Max, 2015-11-10
@MaxDukov

So why are you expecting a delay?
Timer1.initialize(7000000); // 7 Seconds
Timer1.attachInterrupt( timerIsr ); // attach the service routine here
this means that after 7 seconds the timerIsr function will be called - which you have empty.
setup works first - and turns the motor in one direction. Then loop starts - and twists into another. all. what they programmed is what they got.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question