Servos not serving


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    Indian Harbour Nova Scotia
    Posts
    108


    Did you find this post helpful? Yes | No

    Default Re: Servos not serving

    Just wanted to say thanks to all for your insightful comments and programming hints. I printed off the stuff for later perusal and comparison to my program. I'm a "minimalist", I program with the least amount of code required (thus don't always initialize) and even build circuits with low parts counts. That's where I get into trouble...

    Thanks again.

  2. #2
    Join Date
    Jan 2013
    Location
    Texas USA
    Posts
    229


    Did you find this post helpful? Yes | No

    Default Re: Servos not serving

    If you want the duty cycle to be as close to 50Hz you can do this to account for the Pulsout statements, Low xx statements, For/next logic and the Pause statement.

    Change the Refresh constant value to 20000 'microseconds

    Then use this for the pause.

    Pauseus Refresh - (((pulse + pulse) + (pulse / 3)) * 10)

    This should keep the total duty cycle time to 20ms +/- (~100) microseconds.
    Regards,
    TABSoft

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Servos not serving

    Queenidog, Here is a program I wrote some time ago for a couple of kids to test some servos for there robot in the FIRST competition. It is a minimalist program I wrote during lunch one day. It might help. Oh I forgot, Also attached is a schematic I updated a couple of years ago. Enjoy...
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Dave; - 6th May 2015 at 13:03.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Connecting PIC to servos
    By The Master in forum Off Topic
    Replies: 6
    Last Post: - 4th February 2015, 02:56
  2. Servos and Plusin math
    By Ramius in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st May 2012, 10:28
  3. Problem with servos
    By ncet20 in forum General
    Replies: 6
    Last Post: - 11th October 2011, 15:22
  4. Hot Servos
    By The Master in forum Off Topic
    Replies: 37
    Last Post: - 6th August 2010, 19:32

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