News and Information for Electrical Engineers

Sep 03, 2010 - 11:53 PM
Homepage :: Downloads :: WebLinks :: FAQ 
Search   
Main Menu
· Home
· News
· Books and DVDs
· Reference
· Recommend Us
· Search
· Topics
· AvantGo
· Web Links
· FAQ
· Comics


Books

Servo Basics, Part 1
Posted by: Wes on Feb 11, 2004 - 12:00 AM
Microcontroller interface to RC servo Common Radio Control hobby servos are easily controlled via a microprocessor. Articles in this thread will show you how.

Part 1. Servo Basics

An RC servo is simply a small DC motor with some gears, a potentiometer attached to the gears, and feedback control circuitry to make sure the motor is in the right position.

The servo has three wires attached: Red is 6V (can run down to about 3V), Black is ground, and the third (typically white) is a Pulse Width Modulated (PWM) position input. I've tested some common Futaba servos to draw between 70 and 120mA of current at 4.8V. Your mileage will of course vary.

The PWM input has a period of 20ms and a pulse width of between 1ms and 2ms. 1.5ms would put the servo arm attached to the gears right in the middle of its range. That's it! A very simple means of control.

As the motor turns, the POT moves and the resistance changes, changing the voltage drop across it. The present servo arm position (encoded in a voltage from the POT) is fed to a pulse generator that generates a pulse of the width expected for the present arm position. This present arm position pulse is then sent to a pulse width comparator along with the input pulse. The difference between the current and desired pulses is fed to a pulse stretcher/amplifier. The stretcher/amp has two outputs that go to the H-Bridge driver: a clockwise pulse and a counter-clockwise pulse. The outputs of the H-Bridge are connected to the motor.

Servos do not have a very long lifetime when used continuously. Many people modify servos to turn them into drive motors for robots - this is a mistake. Not only are servos more expensive than most small motors, speed control is not possible without crazy modifications. If you want to do this please don't! That $15 servo has too much intellgence to use it as a workhorse. Just buy the H-Bridge and control a small DC motor (see All Electronics Corp. for cheap surplus DC motors) directly with a PWM.

 
Related links
· More about Microcontroller interface to RC servo
· News by Wes


Most read story in Microcontroller interface to RC servo:
Servo Basics, Part 1


Google Ads

Other Stories
· Bypass Capacitor Calculator (Feb 21, 2004)
· Maximum Trace Length Calculator (Feb 20, 2004)
· PI Filters (Feb 18, 2004)
· Motorola 68HC908QT4 Demo Board (Feb 12, 2004)
· Servo Basics, Part 1 (Feb 11, 2004)
· Learn something new while unemployed. (Feb 11, 2004)

PostNuke :: PostNuke Support :: Developers 
© 2004 Wes Horner
DISCOUNT MotrinBEST PRICE MotrinCOST OF ZelnormBUY ZelnormCHEAP ZelnormDISCOUNT ZelnormBEST PRICE ZelnormCOST OF AciphexBUY AciphexCHEAP AciphexDISCOUNT AciphexBEST PRICE AciphexCOST OF HIV TestBUY HIV TestCHEAP HIV TestDISCOUNT HIV TestBEST PRICE HIV TestCOST OF AtroventBUY AtroventCHEAP AtroventDISCOUNT AtroventBEST PRICE AtroventCOST OF AccutaneBUY AccutaneCHEAP AccutaneDISCOUNT AccutaneBEST PRICE AccutaneCOST OF ParlodelBUY ParlodelCHEAP ParlodelDISCOUNT ParlodelBEST PRICE ParlodelCOST OF LotrelBUY LotrelCHEAP LotrelDISCOUNT LotrelBEST PRICE LotrelCOST OF NaltrexoneBUY NaltrexoneCHEAP NaltrexoneDISCOUNT NaltrexoneBEST PRICE NaltrexoneCOST OF YazBUY YazCHEAP YazDISCOUNT YazBEST PRICE YazCOST OF MotiliumBUY MotiliumCHEAP MotiliumDISCOUNT MotiliumBEST PRICE MotiliumCOST OF MedrolBUY MedrolCHEAP MedrolDISCOUNT MedrolBEST PRICE MedrolCOST OF PrinivilBUY PrinivilCHEAP PrinivilDISCOUNT PrinivilBEST PRICE PrinivilCOST OF RumalayaBUY RumalayaCHEAP RumalayaDISCOUNT RumalayaBEST PRICE RumalayaCOST OF AciclovirBUY AciclovirCHEAP AciclovirDISCOUNT AciclovirBEST PRICE AciclovirCOST OF EvecareBUY EvecareCHEAP EvecareDISCOUNT EvecareBEST PRICE EvecareCOST OF FemcareBUY FemcareCHEAP FemcareDISCOUNT FemcareBEST PRICE FemcareCOST OF FluoxetineBUY FluoxetineCHEAP FluoxetineDISCOUNT FluoxetineBEST PRICE FluoxetineCOST OF KamaSutra Contoured CondomsBUY KamaSutra Contoured CondomsCHEAP KamaSutra Contoured CondomsDISCOUNT KamaSutra Contoured CondomsBEST PRICE KamaSutra Contoured CondomsCOST OF KamaSutra Dotted CondomsBUY KamaSutra Dotted CondomsCHEAP KamaSutra Dotted CondomsDISCOUNT KamaSutra Dotted CondomsBEST PRICE KamaSutra Dotted CondomsCOST OF KamaSutra Intensity CondomsBUY KamaSutra Intensity CondomsCHEAP KamaSutra Intensity CondomsDISCOUNT KamaSutra Intensity CondomsBEST PRICE KamaSutra Intensity CondomsCOST OF KamaSutra LongLast CondomsBUY KamaSutra LongLast CondomsCHEAP KamaSutra LongLast CondomsDISCOUNT KamaSutra LongLast CondomsBEST PRICE KamaSutra LongLast CondomsCOST OF KamaSutra Ribbed CondomsBUY KamaSutra Ribbed CondomsCHEAP KamaSutra Ribbed CondomsDISCOUNT KamaSutra Ribbed CondomsBEST PRICE KamaSutra Ribbed CondomsCOST OF KamaSutra SuperThin CondomsBUY KamaSutra SuperThin CondomsCHEAP KamaSutra SuperThin CondomsDISCOUNT KamaSutra SuperThin CondomsBEST PRICE KamaSutra SuperThin CondomsCOST OF LynoralBUY LynoralCHEAP LynoralDISCOUNT LynoralBEST PRICE LynoralCOST OF MenosanBUY MenosanCHEAP MenosanDISCOUNT MenosanBEST PRICE MenosanCOST OF NaprosynBUY NaprosynCHEAP NaprosynDISCOUNT NaprosynBEST PRICE NaprosynCOST OF norvascBUY norvascCHEAP norvascDISCOUNT norvascBEST PRICE norvascCOST OF PrometriumBUY PrometriumCHEAP PrometriumDISCOUNT PrometriumBEST PRICE PrometriumCOST OF SeropheneBUY SeropheneCHEAP SeropheneDISCOUNT SeropheneBEST PRICE SeropheneCOST OF YasminBUY YasminCHEAP YasminDISCOUNT YasminBEST PRICE YasminCOST OF AmoxilBUY AmoxilCHEAP AmoxilDISCOUNT AmoxilBEST PRICE AmoxilCOST OF Brand AmoxilBUY Brand AmoxilCHEAP Brand AmoxilDISCOUNT Brand AmoxilBEST PRICE Brand AmoxilCOST OF CefadroxilBUY CefadroxilCHEAP CefadroxilDISCOUNT CefadroxilBEST PRICE CefadroxilCOST OF CefiximeBUY CefiximeCHEAP CefiximeDISCOUNT CefiximeBEST PRICE CefiximeCOST OF CeftinBUY CeftinCHEAP CeftinDISCOUNT CeftinBEST PRICE CeftinCOST OF ChloramphenicolBUY ChloramphenicolCHEAP ChloramphenicolDISCOUNT ChloramphenicolBEST PRICE ChloramphenicolCOST OF Cleocin gelBUY Cleocin gelCHEAP Cleocin gelDISCOUNT Cleocin gelBEST PRICE Cleocin gelCOST OF DoxycyclineBUY DoxycyclineCHEAP DoxycyclineDISCOUNT DoxycyclineBEST PRICE DoxycyclineCOST OF Flagyl ERBUY Flagyl ERCHEAP Flagyl ERDISCOUNT Flagyl ERBEST PRICE Flagyl ERCOST OF FloxinBUY FloxinCHEAP FloxinDISCOUNT FloxinBEST PRICE FloxinCOST OF IlosoneBUY IlosoneCHEAP IlosoneDISCOUNT IlosoneBEST PRICE IlosoneCOST OF KeftabBUY KeftabCHEAP KeftabDISCOUNT KeftabBEST PRICE KeftabCOST OF MinocinBUY MinocinCHEAP MinocinDISCOUNT MinocinBEST PRICE MinocinCOST OF MinocyclineBUY MinocyclineCHEAP MinocyclineDISCOUNT MinocyclineBEST PRICE MinocyclineCOST OF OmnicefBUY OmnicefCHEAP OmnicefDISCOUNT OmnicefBEST PRICE OmnicefCOST OF RoxithromycinBUY RoxithromycinCHEAP RoxithromycinDISCOUNT RoxithromycinBEST PRICE RoxithromycinCOST OF SumycinBUY SumycinCHEAP SumycinDISCOUNT SumycinBEST PRICE SumycinCOST OF TerramycinBUY TerramycinCHEAP TerramycinDISCOUNT TerramycinBEST PRICE TerramycinCOST OF TrimoxBUY TrimoxCHEAP TrimoxDISCOUNT TrimoxBEST PRICE Trimox