Connect with us

SERVO ANGLE

Discussion in 'Microcontrollers, Programming and IoT' started by burassu, Apr 15, 2012.

Scroll to continue with content
  1. burassu

    burassu

    36
    0
    Jul 1, 2011
    I am using an 18.342 Mhz crystal with an 8051, and I need to drive a servo to a specified angle . How can I calculate the duty cycle which needs to be produced to achieve the specified angle ??

    PLS HELP :confused:

    TNKS
     
    Last edited: Apr 15, 2012
  2. KMoffett

    KMoffett

    723
    75
    Jan 21, 2009
    I'm assuming you are talking about R/C servos.
    A positive pulse is outputted to the servo input about every 20mS. The position of the servo shaft/arm is proportional to the width of these pulse. The standard pulse width varies from 1mS for a full CCW position to 2mS for a full CW position. So a 1.5mS pulse would move the arm to the mid-arc position. There are small variations in angle vs pulse width from servo to servo, but that's the standard.
    Google RC servo timing.

    Ken
     
    Last edited: Apr 15, 2012
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-