Hello,
I am new to programming and have no idea where to start. It would really be awesome if someone could point me in the right direction to write this program file. It should be a simple one for anyone but me, being so new.
1 x Arduino Nano
5 x Mini Vibration Motors controlled by digital outs
What I need to do is activate motor 1 for a specific amount of time, and then activate motor 2...in a sequence, and then restart.
What I would also like to do is have a simple momentary push button to turn the sequence on and off, and also adjust the time each motor runs by a standard deviation
Example
Momentary Button - 1st push - Starts the "Low Setting" sequence
Motor 1 runs from 0.01s - 1.00s
Motor 2 runs from 1.00s - 2.00s
Motor 3 runs from 2.00s - 3.00s
Motor 4 runs from 3.00s - 4.00s
Motor 5 runs from 4.00s - 5.00s
and then start over, continuous loop, with an auto off timer of 10 minutes
Momentary Button - 2nd push - Starts the "Medium Setting" sequence
Motor 1 runs from 0.01s - 0.50s
Motor 2 runs from 0.50s - 1.00s
Motor 3 runs from 1.00s - 1.50s
Motor 4 runs from 1.50s - 2.00s
Motor 5 runs from 2.50s - 3.00s
and then start over, continuous loop, with an auto off timer of 10 minutes
Momentary Button - 3rd push - Starts the "High Setting" sequence
Motor 1 runs from 0.01s - 0.25s
Motor 2 runs from 0.25s - 0.50s
Motor 3 runs from 0.50s - 1.00s
Motor 4 runs from 1.00s - 1.50s
Motor 5 runs from 1.50s - 2.00s
and then start over, continuous loop, with an auto off timer of 10 minutes
Momentary Button - 4th push - Stops all sequences and starts over dormant, ready for "1st Push" to start a new sequence
Any help with this is so much appreciated. This is for a therapy device that I currently have to do by hand in a motion that I think I can automate with the explained sequence.
Thanks so much in advance!
Joe