Servo loosing my mind...


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Preset state of Pulsout pin PLUS add a pause

    Yes you need a pause to pace the servo pulses to approximately 50 per second. In addition, note that Pulsout is only a toggle. Unless you force the pin to a zero at the start of the loop, there is a good chance that sometimes the line will idle high instead of idling low. That drives a servo nuts.

    Try
    for i = 0 to 20
    low servopin
    pulseout servopin, 200
    pause 18
    next i

    Note that 95+% of the time you may get away without forcing the servopin low but there WILL be times when the line idles high. It cost me a plane crash.

    HTH
    Brian

  2. #2
    Join Date
    May 2006
    Location
    Kedah, Malaysia
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    Geckorotto do you connect the servo directly to batteries or you use a LM7805 regulator?

    for I = 1 to 20
    Pulsout GPIO.0, 200
    pause 18
    next I

    This code should work fine. Sometime servo become nut because of the current is not enough.

    That is base on my experience.

Similar Threads

  1. More Servo Woes
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th May 2009, 09:40
  2. Problem with 12F629, servo and EEPROM
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 1st March 2008, 10:53
  3. Servo does not move
    By ruijc in forum General
    Replies: 12
    Last Post: - 12th November 2007, 20:14
  4. Beginner + Servo
    By james in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st July 2007, 22:31
  5. Help with Servo Control Please!
    By wireman22 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th June 2007, 19:15

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