Thanks for the reply, Well basically the motor can be rotated easily, if i disconnect the pulse and the motor spins to the end i can feel it locked into place and not easily moveable, but its nothing like that, also i have read about using a regulator (the 7805)as you have advised, but i will have to order one as my local electronics shop does not have it stocked at present in the mean time i found a 7905 which is a negative voltage regulator in some old parts, maybe there is some way to get this to work? or is there any other way to use something other than a regulator? maybe using common electronic parts. Jason >From: "Adam Stambler" >Reply-To: "Microcontroller discussion list - Public." >To: "Microcontroller discussion list - Public." >Subject: Re: [PIC] pic/servo power supply problems 16f627 >Date: Sun, 18 Mar 2007 23:15:41 -0400 > >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 _________________________________________________________________ 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free quotes - *Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist