Monday, January 8, 2007

Argh! Broken servo!

I spent a lot of time yesterday trying to get the microcontroller to control a servo. Today I hooked up the oscilloscope to check out the servo pwm-signal, and it looked perfect. Hmm, lets try with another servo. Bingo! It seems that the old Acoms servo has died :-(


Oh, well. Life must go on, and luckily I had another couple of servos laying around. With the new servo, everything worked like a charm. In the picture below the controller is using an ADC-port to read the value of a pot-meter. This value is then used to control the width of the servo-pulse, so that when I turn the dial of the pot-meter, the servo moves accordingly:

0 comments: