Do not use a voltage divider for supplying power. Use a regulator. Also, how is the servo actually responding? Is the output shaft actually locked in place? If it wont move that means that the servo is receiving your signal and reacting. However, if you pulse train is too fast or too slow, it behaves just like a unconnected motor and you can easily rotate the shaft. Adam On 3/18/07, funkygreendogs wrote: > > > Ive recently started to work on my own PIC Servo controller project and i > have some problems getting the servo to work which i would attribute to > maybe back EMF from the servo motor or maybe not enough current available > to > the PIC/Servo, heres the setup: 9v battery connected to a potential > divider > outputs 5.20v, the PIC is programmed to automatically output a ~1.5mhz > pulse > every 20ms on two pins one of them is a led and the other is a pulse to > the > servo. > > The servo is not behaving how it should be (staying at neutral position) > and > the circut seems very fiddley with this setup, so switching to a seperate > supply for the servo and using a common ground the led seems to flash as > normal but the servo does not move at all, however, a slight ticking noise > can be heard from it with the same frequency as the pulse. What kind of > setup or power decoupling do you guys use in controlling servo motors? > Im using velleman k8048 in ubuntu linux with pikdev with a 16f627 which > works a charm but also i would like to know what you guys use to simulate > code in linux ive tried using gpsim but i cant get the scope to work, > which > would be pretty helpful since i could verify that the pulse im sending is > correct. > Also based on some searching ive placed a 100uF capacitor across the pic > power supply as power decoupling but this doesnt seem to be enough? any > help > guys is greatly appreciated > -- > View this message in context: > http://www.nabble.com/pic-servo-power-supply-problems-16f627-tf3424352.html#a9544396 > Sent from the PIC - [PIC] mailing list archive at Nabble.com. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist