piclist 2007\03\18\214433a >
Thread: pic/servo power supply problems 16f627
massmind.org/techref/microchip/ios.htm?key=servo
picon face BY : funkygreendogs email (remove spam text)




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: www.nabble.com/pic-servo-power-supply-problems-16f627-tf3424352.html#a9544396
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

<9544396.post@talk.nabble.com> 7bit

See also: massmind.org/techref/microchip/ios.htm?key=servo

month overview.

new search...