servo Avr

Thread Starter

e.r23

Joined May 22, 2012
2
hi
i have a tiny robot that i want to move it's legs by servo motor then it can walk
i wrote one code for it that it can move servo's shaft but when i run this code to my ATmega16,at first no matter which initial degree i give, my servo rotate to last possible degree that can move.it cause broken in my servo's gear.
i want after running my code ,servo dosen't have any rotation till i push my keys.
i put my codes blew if u help me i'll be appreciate it.
http://www.4shared.com/rar/UQoeO35K/servo.html
i'm not good in english plz forgive me for all my mistakes
i really need it my final project depend on this plz help me a.s.a.p
 

djsfantasi

Joined Apr 11, 2010
9,163
Some people cannot process a .rar file - perhaps you should attach your code directly to the post in text format. How are you controlling your servo? Is it a digital or analog servo? Can you tell us the servo make and model? What is the range of pulse widths that your code on the ATmega16 generates? How are you guaranteeing that the signals refresh every 20ms? Do you know how the servo works?

People don't reply often when there are too many unanswered questions.
 
Top