Arduino Linear Actuator Tutorial - Preset Position Button Control

largelinearactuatordemo.jpg
mt_ignore
Standalone
mt_ignore
Pose Control

This Arduino Linear Actuator Tutorial shows how to do basic control of a large linear actuator using an Arduino and two buttons with each button preset to a position.

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. When a button is pressed the code reads the current position, then determines which direction to drive the piston to reach the goal position. Once the goal position is reached it shuts off the power to the motor.

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
Linear Actuator Potentiometer Analog 0
b_500_500_16777215_00__images_tutorials_largeLinearActuator_relayLinear.png

Arduino Linear Actuator Code:

×

PC Control These demos and projects allow the robot to be controlled via a computer.

ArbotiX Commander Control - These demos and projects control the Robot using the ArbotiX Commander, the handheld Arduino based remote control.

Direct Control - These demos and projects control the Robot directly from sensors connected directly to the Robot's control board.

Pose Control - These demos and projects allow you to create and playback a sequence of poses.

Serial Control - These demos and projects control the robot using a serial packet protocol.

Standalone - These demos and projects are deisgned to let your robot function without a computer or additional microcontroller.

Wireless Control - These demos and projects allow you to control the robot wirelessly - usually by replacing the Serial Connection with XBee modules.

Reference - These articles have technical details regarding the control and operation of the robot.

×

More info here

Feedback Form