I have a Firgelli L12 6V 50mm stroke analog miniature linear actuator and I am trying to figure out how to extend and retract the arm using MatLab commands and an Arduino Mega 2560.
The actuator is an analog device, so I was thinking some simple analogWrite commands should work, but I haven't been able to have any success thus far.
Would it be as simple as attaching the positive pin to an analogin pin on the arduino and the negative pin to ground then use analogwrite?
Any ideas or code would be helpful. Thanks.