How to Use an Arduino with Linear Actuators

Introduction
Arduino is an open source hardware and software project which uses microcontrollers to control motion in the devices and appliances it is attached to. The microcontrollers are specifically designed to react to the objects which it senses around it in the physical world.
Body
PLC controls is a new section in control systems which was developed in partnership with Arduino. The partnership will hopefully bring entirely new and high quality PLCs onto the market for the customers who need and want a greater connection than they had before with their electric actuators, among other devices. A PLC is a Programmable Logic Controller – a digital computing device which is used mostly in automation of varying kinds, such as the automation found in the industrial and commercial industries. These PLCs are used in automation which is used in manufacturing equipment, assembly lines of all kinds, oil refineries, and other electro-mechanical systems of various kinds. PLCs stand out from other control systems because they have multiple input and output terminals rather than just one of each, have a stronger resistance to any impacts or vibrations, and are hugely customizable. Many, if not all, other motion control systems only allow the operator to control the expansion and retraction of the unit at a single speed – PLCs allow for a lot more input and variety in what people can do, including full speed control of the units, with the speed being maintained smoothly, feedback models which can match the speed of other equipment, control over what direction and position your unit takes, and the power to have it activate on cue when it comes into any particular kind of stimulus (temperature/humidity/sound/etc.). The PLC is incredibly easy to wire up to your actuators and other equipment as well, another point in its favour.
?//Define pin numbers for Single Board
int ENABLE1 = 8;
int FWD1 = 11;
int REV1 = 3;
int Speed;
void setup() {
// initialize the digital pins as an output.
pinMode(ENABLE1, OUTPUT);
pinMode(FWD1, OUTPUT);
pinMode(REV1, OUTPUT);
}
void loop() {
Speed = 255; //set a speed between 0-255
Forward();
delay(5000); //5 second delay
Stop();
delay(1000);
Reverse();
delay(5000);
Stop();
delay(1000);
}
void Forward(){
digitalWrite(ENABLE1, HIGH);
analogWrite(REV, 0);
analogWrite(FWD, Speed);
}
void Reverse(){
digitalWrite(ENABLE1, HIGH);
analogWrite(FWD, 0);
analogWrite(REV, Speed);
}
void Stop(){
digitalWrite(ENABLE1, LOW);
analogWrite(FWD1, 0);
analogWrite(REV1, 0);
}
These PLCs and linear actuators can be used in many different projects, especially when you take into account the ability to stack them all and control more equipment. The controllers come with customisable programming if people need them to perform specific tasks.
×
![]()































































