so i am working on a project that uses 6 linear actuators that have positional feedback. these are hooked up to 3 DRV8835 motor drivers and these are connected to an arduino nano. now my question is, is there a way to make the linear actuator stop at a point that i can define in the arduino code? i have attached the data sheet for those that may not be familiar with the actuonix PQ12-P linear actuator.
That's why they have "positional feedback"!
Put 5 volts on one end of the potentiometer and ground the other end. The lead for the wiper connected to an Arduino analog pin will give you a voltage between 5 volts and about 0. Once you have calibrated various voltage values to the actuator position, you can stop the motor drive when the position is reached and there you have what you want.
Since the Arduino Nano has two analog pins, you are limited to two devices. For more, search for another Arduino with more analog inputs.