loading

This Arduino Linear Actuator Tutorial shows how to do basic manual control of a large linear actuator using an Arduino and two buttons. In the first set of code, the first button extends the actuator and the second button retracts the actuator. In the second set of code, the two buttons move the linear actuator to preset positions.

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 first bit of code doesn't use this, and the second uses this to reach a goal position. Let's get started.

Step 1: Project Parts List

It is suggested that you use the parts listed here to follow along in this tutorial. If you already have a large linear actuator, you can likely follow this tutorial to make it work, but you may have difficulty wiring for the potentiometer.

My actuator never actual reaches the goal it stutters at 1 above or 1 lower then bounces <br><br>As an example if goal is 350 it gets to 351 or 349 and just clucks <br><br>Any ideas
<p>Hi, </p><p>would it be possible to code in a way that you only have one button. Pushing once, actuator extends, pushing the again the actuator goes down? </p><p>Best</p>
Nice ible!
<p>Thanks! Hope it was helpful!</p>

About This Instructable

4,203views

39favorites

License:

Bio: The RobotGeek team is a 6-man operation that wants to make it even easier to use Arduino to make electronics and robots. Check out our ... More »
More by robotgeek_official:Voice Control Chip-E With Google Home Rock'em Sock'em Literal Robots 3D Printed Automatic Small Fish Feeder (Single Servo and Arduino) 
Add instructable to: