Problem with servos


Results 1 to 7 of 7

Threaded View

  1. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    when you say it "instantly started"... what do you mean? Did it just twitch? or did it change position?

    typically... in order to control a servo you need to supply +5 volts to the red wire, gnd the black wire and supply a PWM (pulse width modulated) signal to the white wire. The pulse must be repeated approx every 20ms (see the article below). So you must use a timing loop, or an interrupt based on a timer, or some other method of making sure you are repeating the pulse at the proper rate. Is your servo Digital or Analog?

    Here is a description of how servos work (both digital and analog servos)
    http://www.acroname.com/robotics/inf...rvo/servo.html
    Last edited by Heckler; - 30th September 2011 at 18:42.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts