This Arduino Linear Actuator Tutorial shows how to control a Firgelli Small Linear Actuator using an arduino compatible board and a RobotGeek Joystick for incremental movement.
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.
For this tutorial we are reading in from the joystick and incrementally moving the goal position in or out and then sending the new goal position to the actuator. When the joystick is let go and snaps back to center the goal position sits idle leaving the small linear actuator in place.
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|
|Joystick (Vertical)||Analog 0|
|PWM Voltage Jumpers on Sensor Shield||Both set to VIN|
Arduino Linear Actuator Project 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