servo Avr

Discussion in 'General Electronics Chat' started by e.r23, May 24, 2012.

  1. e.r23

    Thread Starter New Member

    May 22, 2012
    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 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.
    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
  2. e.r23

    Thread Starter New Member

    May 22, 2012
    what's the matter? why any body doesn't reply me?
    i'm in hurry
    plz help me if u can!\
  3. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    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.