This Arduino Linear Actuator Tutorial shows how to control a Firgelli linear actuator using an Arduino and three buttons with preset positions. Three positions are preset in the code with each position assigned to a button, so when a user pushes a button the small linear actuator moves to that position.
For Arduino Linear Actuator projects the small linear actuators by Firgelli are excellent. These linear actuators have an internal controller which allows them to be operated just like a servo. By using the Arduino Servo Library we can simply send out the desired position to the actuator and it moves to the position.
Other Recommended Arduino Linear Actuator Tutorials:
- Preset Position Button Control of a Large Linear Actuator
- Manual Button Control of a Large Linear Actuator
- Button Control of a Small Linear Actuator
- Incremental Joystick for Small Linear Actuator
- Direct Analog Control of Small Linear Actuator
Project Parts List:
|Device||Sensor Shield Port|
|Linear Actuator (white/red/black cable)||Digital 9|
|Push Button 1||Digital 1|
|Push Button 2||Digital 2|
|Push Button 3||Digital 4|
|PWM Voltage Jumpers on Sensor Shield||Both set to VIN|
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