This is my first time posting, if this is in the wrong section please forgive me (and move if necessary). I am working on a project powered by the Uno R3.
Components I have:
Uno R3
SainSmar L293D Shield
Two Progressive Automations PA-07 micro linear actuators (Link)
What I am looking to do is setup the Arduino to fully extend the actuator shaft 12inches and fully retract after it fully extends. No delay time inbetween is required. I plan to run these actuators for 3 days straight if possible.
I have gotten one actuator to extend about 3 inches and then retract about 3 inches using the Adafruit MotorTest Example.
I hope this is enough information, if not please let me know as I would be more than happy to provide anything else! By the way, this is what I am trying to achieve: Video Thank you so much for any help!
motorTop.run(FORWARD); //M1 motor moving
motorBottom.run(BACKWARD); //M2 motor moving
delay(22000); //delay 22 seconds before reversing direction (this is the time it takes the motor to fully
extend/retract; change accordingly)