Some questions regarding a servo motor's data sheet.


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    In a world of german electrons
    Posts
    102


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    I would never put a gear that would multiply the rotational speed on a servo motor. The "play" might be so much that an effect as the one you describe here could happen, and obviously it does. Also as I stated to your P.M. do not use maths in the FOR command. Put directly the number you want, not the 1000/20.

    More, the 50 pulses of the FOR-NEXT loop might be little. Try to raise the number to 500.

    Ioannis
    Interesting. What I found is that starting from 0° and rotating to 360° by using trial-and-error values without stopping in the middle makes the motor stop at very much the same position, ie causing a very close to 360° turn being much more exact than the "return-to-the-middle"-routine. In Short 0° <-> 360° works. 0° -> 180° doesn't. 360° -> 180° doesn't(notice the pointer's(->) direction).

    What I found additionally: It is normally not the position that is to be driven to. It is the return. So (RotMin+RotMax)/2 changes its effective position. In other words, even though (RotMin+RotMax)/2 must be constant, the motor does not stop at the same place when being directed to.
    Last edited by selbstdual; - 7th May 2008 at 12:49.
    Be well - whoever you are.

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


    Did you find this post helpful? Yes | No

    Default


    What I found additionally: It is normally not the position that is to be driven to. It is the return. So (RotMin+RotMax)/2 changes its effective position.
    your program does exactly what has been written ... no more, no less.

    That's also the first time I hear a CONSTANT ( or the mean value of 2 constants ...) can be modified in PBP WHILE running the program ...


    4.6. Constants
    Named constants may be created in a similar manner to variables. It can
    be more convenient to use a constant name instead of a constant
    number. If the number needs to be changed, it may be changed in only
    one place in the program; where the constant is defined.
    "same player shoots again" ...

    Alain
    Last edited by Acetronics2; - 7th May 2008 at 12:37.
    ************************************************** ***********************
    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. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 01:51
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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