Problem with servos


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2011
    Posts
    4

    Post Problem with servos

    Can anyone help me...

    my problem is that, i have this tower pro 9g servo and as I connect it to the circuit which I made, It instantly started without putting the PIC microcontroller to its socket. I've already checked the circuit connections and there were no shorted... So, i really don't have an idea now...

    Lots of thanks to those who will give help..

  2. #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 17:42.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    It is pretty normal for R/C type servos to move as soon as they have power. Usually they just move to the smallest position.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  4. #4
    Join Date
    Sep 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    it is digital... I haven't placed the microcontroller yet, still it moves.. Maybe its calibration has its problem.. Thanks for the reply.

  5. #5
    Join Date
    Sep 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    Yes, it supposedly work that way, but it moves continuously... Maybe it's calibration has its problem. Thank you for the reply.

  6. #6
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    I'd suggest you check the wiring again; the color code can be confusing, I've had a servo with brown, red and orange wires! And for certain combination of incorrect wiring, the rotor does stutter.

    Regards,

    Anand

  7. #7
    Join Date
    Sep 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Problem with servos

    Thanks for the response

Members who have read this thread : 1

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