Trimming Servo


Closed Thread
Results 1 to 2 of 2

Thread: Trimming Servo

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52

    Default Trimming Servo

    I'm looking for some guidance.

    I'm using a servo to control a set of crossing gates on a model railway layout. The servo routine works fine, but the values of the pulse train are hardcoded, mostly because the servo appears to start slow and speed up, then slow down as it gets to the end of it's "rotation". Given that every servo has a slight difference in the pot, there is a slight difference in where the "fully up" and "fully down" numbers are.

    I'm looking for ideas on trimming the "up" and "down" positions. The solution would modify the existing numbers by some relatively small amount (+ or - 25) and should probably be single digits.

    It seems that a pot is easiest, although the calibration seems to be a pain, and an encoder would work, but can the output become single digits? Or, as I suspect, does somebody have a "been there, done that" really slick idea for me to give you credit for?

    Any suggestions appreciated
    Cheers
    Gary

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Hi, Gary

    I suppose you have the source level program, so

    What I usually do for R/C devices :

    One jumper allows a programming sequence when placed before power up; if not, "normal " program starts :

    1) program 1 st position ( a couple of pushbuttons for + and - trimming are fine)

    2) take jumper off to valid setting and place it back.

    2) program 2 nd position

    3) take jumper definitly off

    The program then stores settings into the EEPROM and enters "its "normal" running.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

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