Use a voltmeter and keep an eye on the supply voltage level as the = circuit and servo are running. Depending upon how much torque you're = asking from the servo, it can demand a lot of current -- which in = turn drops the overall voltage level. I don't know where the brown- = out voltage level(s) is(are) on the 16f627, but your chip will reset = if you have it enabled and the voltage drops below that point. If you are doing a lot with the motor, you may be better off with = separate power supplies for the PIC and motor. However, I don't know = how tolerant RC servos are with respect to the signal input voltage = -- if it's substantially different than the power you may need to = pass the signal through a transistor to place the pulses at the = servos power voltage. Matt =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 Matt Bauman Research Technician, Miller Lab Physiology, Ward 5-150 Northwestern University On Mar 19, 2007, at 11:03 AM, funkygreendogs wrote: > > looks like you were right about the diode, as soon as i connected = > one to the > powersupply it got rid of those jitters so it runs nice and = > smoothly now. > Just one thing, i notice the led stops flashing or flashes at a slower > frequency than normal while the servo is moving, does this mean i = > cant move > two servos at the same time? or cant i do anything else with the = > pic while > the servo is moving? > thanks again > > Jason > > > Jinx wrote: >> >>> Thanks for the code it seems like that was just the ticket :) >> >> word >> >>> I have switched back to a single power-supply again and scrapped >>> the potential dividers from your advice, not sure whats causing it >>> really, >>> any ideas?? >> >> I wonder if noise is getting to Mclr ? Is it filtered in any way, = >> eg a >> small cap, like 10n, 100n, to ground, or just pulled up ? Any other >> active inputs that could be getting noise and interfering with code ? >> >> -- = >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> > > -- = > View this message in context: http://www.nabble.com/pic-servo-power- = > supply-problems-16f627-tf3424352.html#a9554925 > 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