I was wondering if somebody could help me with my project. The project I want to make is with 9 linear actuators that move a frame up and down. The problem is that I need to synchronize all the motors because of otherwise damaging the motors.
These actuators have potentiometers but the value are fluctuating quiet a lot. I tried to help this problem by looping 100 times through the value and getting an average value of the potentiometer but so far no luck.
I was thinking of using one motor as reference (of the potentiometer) and comparing all the other readings from the potentiometer to this one, and seeing if the the readings are the same and otherwise extending the actuator or retracting the actuator.
But I really have a problem trying to write this sketch.
If anyone is familiar with something like this an can guide me in the right direction it would be much appreciated!