Servo

From bildr

Jump to: navigation, search
Servo.jpg

A Servo is basically a small electric motor & gearbox that knows where it is in rotation. It does this by including a potentiometer(pot) in the frame of the servo. As the motor rotates gears turn the pot. Servos are limited in how much they can turn often you will find they can only turn 180 degrees, but you can find 360 degree servos.


Contents

Inner workings

Small R/C servo mechanism
1. electric motor
2. position feedback potentiometer
3. reduction gear
4. actuator arm

A servo usually contains a very compact gearbox, converting speed to force. A microcontroller, which is often placed inside the case, uses a potentiometer to determine the exact position of the servo. The microcontroller accepts pulses of 20ms length (50hz).

Availability


References

Controlling the servo

To control the servo, you have to send pulses to it. One pulse has a total length of 20ms. The pulse is composed by a 0.9ms to 2.1 high pulse, and the rest is low. On a pulselength of 0.9 seconds, the servo will move to one side of it. On a pulselength of 2.1 second, the servo will move to the other side. By varying with that time, you can set the position of the servo.

Code

NOTE: All information contained within this article is pure opinion. Although this article is intended to help people, it may contain faulty or misleading information. This article is not to be considered professional opinion or advice, and is in no way a replacement for reading all safety/instructional documentation. Always remember to protect yourself when handling/using hazardous materials, as well as test new techniques before using them on projects/work intended to be handed in or used.

bildr and its contributers take NO responsibility for the information contained within.