Servo motors mostly use in toy cars, airplanes, robots, industrial machinery, manufacturing, pharmaceutics. The servo circuitry is built-in inside the motor itself and has a positional shaft which usually fitted with a gear. The motor is controlled with an electrical signal which determines the movement of the shaft.

Inside-Mechanical-servo1 Inside-Mechanical-servo

servo-horns

Servos are controlled by sending an electric pulse or PWM (Pulse with modulation, by controlling the wire. There is a smallest amount of pulse then maximum pulse and repetition rate.

A Standard servo motor can usually turn 90 degrees in direction for a total of 180 degrees turn, There is also a servo that’s turn 360 degrees mostly use in aerial photography by mounted on quad-copters and multi-copters. The motor’s center position is defined as the position where the servo has the same amount of rotation in both clockwise or counter-clockwise direction. The PWM(Pulse with Modulation) transmit to the motor determines the position of the shaft, and based on the duration of the pulse via the controller, the motor will turn to the desired point.

The servo motor receive a pulse every 20ms and the pulse length will determine how far the motor turns. Below are the example and guide how to control the servo on ARDUINO.

Servo Animation Pulse with Modulationpulse_code

These serve motor it has 3 wires. 5v Female pin usually color Red , Ground will be black or brown and the Signal Female pin usually color white, orange or yellow.

Sometimes servo may behave randomly if you going to plug it in Arduino board. This is because the servo draws a lot of power especially when motor servo starting. if this happens the you need to hookup by adding a high value of 470uf capacitor or greater between ground and the 5volts.

arduino-with-servo

Electronic Requirements for this Experiment

  • Arduino UNO/MEGA/PRO
  • 1x 470uf or Higher Capacitor
  • Jumper Wire

Servo motor are controlled by pulse and to make it easy to implement you need the Arduino servo library so that you can just instruct the servo to turn to a specific angle. To command the servo you to instruct the Arduino IDE that your going to use a servo on your project.

How Servo Motor Work? and how to control theme using Arduino
Facebooktwitterredditpinterestmail
Tagged on:         

JLCPCBPCBgogoPCBway4pcb

One thought on “How Servo Motor Work? and how to control theme using Arduino

Leave a Reply

Your email address will not be published. Required fields are marked *