Warning!
Your servo motor may not have the same operating ranges. Refer to the technical documentation specific to your servo motor.
Driving a limited angular movement
The servo motor
This page explains how a hobby servo motor works
An RC servo motor (or “servo”) is a device used in model making (cars, planes, boats and so on) to control the precise movement of certain parts, such as the steering, the ailerons or the control surfaces. It is an essential component in systems that need controlled angular movement. An RC servo combines an electric motor, a gearbox, a potentiometer and an electronic controller in a single compact housing.
An RC servo motor works on the principle of position feedback. Here are its main parts and what they do:
Electric motor: It produces the motion that is turned into rotation or angular movement.
Gearbox: A gear train reduces the speed of the motor while increasing its torque, which allows precise control of the movement.
Potentiometer: This part continuously measures the position of the servo shaft. It sends that information to the controller to adjust the movement.
Electronic controller: It receives a PWM (pulse-width modulation) signal from the RC receiver. The PWM signal gives the desired position of the servo shaft. The controller then adjusts the shaft position according to that command.
Several types of servo motors are used in model making, in particular:
Standard servos: Able to move light loads (a few kg.cm) over a limited rotation angle, usually 180°.
Continuous rotation servos: Modified to allow full, continuous rotation (360°), often used in mobile robots.
Micro servos: Smaller, used where low weight matters, on scale models such as planes or drones.
The servo motor is commanded by a PWM signal. This signal is sent by the RC receiver and is made of electrical pulses of a specific duration. In general:
Standard servos have a range of movement of about 180 degrees, although some models offer wider or narrower ranges.
An RC servo is easy to use with microcontrollers such as the Arduino. With a dedicated library (such as the Servo library), you can precisely control the position of the servo through a PWM signal generated by the Arduino. Other libraries also exist to drive servo motors easily.
An RC servo has three main wires, each with a specific role. Here is the typical wiring:
Signal wire (usually orange or white): Receives the PWM (pulse-width modulation) signal from the controller or the receiver. This signal sets the position the servo must take.
Power wire (red): Connected to a voltage source, usually 5 to 6 volts. It supplies the energy needed by the motor and by the servo’s internal control circuit.
Ground wire (black or brown): Connected to the circuit ground. This wire provides the voltage reference shared with the rest of the system.
RC servos often operate in a voltage range between 4.8 V and 6 V. However, some servos accept higher voltages, up to 7.4 V or even more for so-called “high voltage” models. It is essential to check the specification of your servo before connecting it, to avoid damaging it.
Servos generally draw little current when idle or when they meet no significant resistance. However, when a servo is under full load or must hold a position against an external force, its current draw can rise considerably.
Here are a few points to consider:
No-load current (when the servo only holds a position without resistance) is relatively low, often a few hundred milliamps (mA).
Current under load can easily exceed 1 to 2 amps. It is therefore important to size the power supply correctly.
The power supply must be able to deliver enough current for several servos, especially if they are working at the same time. An undersized supply can cause a voltage drop, which affects the stability of the servo and causes malfunctions. Wiring:
Use wires of a suitable gauge to carry the high currents. Wires that are too thin can heat up and cause a voltage drop. Decoupling capacitors:
Adding capacitors on the supply is recommended, to stabilise the voltage and filter the variations caused by current peaks when servos start or change direction abruptly.