Arduino Linear Actuator Tutorial - Manual Button Control


largelinearactuatordemo.jpg

Description:

This Arduino Linear Actuator Tutorial shows how to do basic manual control of a large linear actuator using an Arduino and two buttons. The first button extends the actuator and the second retracts the actuator.

Large linear actuators traditionally have five wires. Two wires are for powering the motor and three wires go the internal potentiometer for reading position. The two relays are used to toggle the positive and negative power to the motor in order to determine the direction of piston travel. The analog potentiometer is wired to one of the analog inputs on the sensor shield for reading the current position. For this project we do have the analog wired up, but we are not using the analog input in the body of the code since we are just doing simple control of driving the piston in or out.


Other Recommended Arduino Linear Actuator Tutorials:


Project Parts List:

Wiring:

Device Sensor Shield Port
RobotGeek Pushbutton 1 Digital Pin 2
RobotGeek Pushbutton 2 Digital Pin 4
RobotGeek Relay 1 Digital Pin 7
RobotGeek Relay 2 Digital Pin 8
largelinearactuatordemowiring.jpg

Arduino Linear Actuator Project Code:

Feedback Form