On Mon, Nov 10, 2008 at 4:02 PM, Sander Pool <sander@tungstentech.com> wrote: > > This is probably obvious to the more experienced experimenters here but > when I worked with servos and a mega128 I had spurious problems with my > code that I traced back to the power supply getting 'hit' by the servos > when they were being driven. Make sure you have separate power (common > ground, of course) and a driver between your µC and servo. Yes, the servo drain can be large, and however you handle the power, you need to take that into account. I also had some chip failures until I inserted some series resistance in the control leads to the servos. 100 ohms if I remember right. I never bothered to work out what caused it, the 100 ohm was an acceptably cheap fix. > As I recall I used one of the PWM channels. Yup, that's another way to do it. :)
Message
Re: [AVR-Chat] control servo motor
2008-11-11 by David VanHorn
Attachments
- No local attachments were found for this message.