Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: robaker on March 07, 2010, 12:17:45 PM

Title: servo modify check
Post by: robaker on March 07, 2010, 12:17:45 PM
after modifying is done.. is there any code to check whether modifying was successful or not?
a program to make it rotate continously???
Title: Re: servo modify check
Post by: SmAsH on March 07, 2010, 02:50:27 PM
Get the center servo code and change the 1.5ms to 2ms
Title: Re: servo modify check
Post by: robaker on March 08, 2010, 02:36:15 AM
the servo center code is in .hex format...
is the code available in high level language?
Title: Re: servo modify check
Post by: Joker94 on March 08, 2010, 03:17:50 AM
do you want to test if the servo is centered exactly or if the servo will rotate continuously.

If you want to test if the servo is centered correctly just plug the servo in with the centering code loaded and the servo's motor should not move at all.

if you want to test if the servo is centered correctly the photovore code will work as it works without a sensor. Just build the .hex file like mentioned in the $50 robot tutorial and load it to the MCU and plug in a servo and connect the power. your servo should move smoothly. If nothing happens hold the servo to your ear and if you can hear a buzzing noise something is wrong with the way you modified the servo.