Servo troubles.


Closed Thread
Results 1 to 28 of 28

Thread: Servo troubles.

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Stockholm
    Posts
    80


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi,

    Just place

    PAUSE 18

    just after PULSOUT command ...
    No, exactly the same result

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


    Did you find this post helpful? Yes | No

    Default

    That was to get a decent frame duration whatever you do with the buttons.

    Seems the pot cursor is out of its lane ... or see PS !!!

    Now, you should place the Max value for b1 to 200 and min value to 100 ... I know servos not responding for values out of this range.

    something possible is the méchanical travel is over the pot travel ... not good at all.

    and remember Futaba analogic servos MECHANICAL center is +/- 1300µs. you must take this into account if you try more than the +/- 500µS trip ...

    Now ... an interesting question ...


    Where do your servo take its power ???

    Alain

    PS1: you sure PORTA.0 AND PORTA.1 can't be 0 together ???
    PS2: you sure your comparators are disabled ??? ... 16F628 !!!

    ... Lol ...
    Last edited by Acetronics2; - 21st September 2008 at 18:12.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  3. #3
    Join Date
    Sep 2008
    Location
    Stockholm
    Posts
    80


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    That was to get a decent frame duration whatever you do with the buttons.

    Seems the pot cursor is out of its lane ... or see PS !!!

    Now, you should place the Max value for b1 to 200 and min value to 100 ... I know servos not responding for values out of this range.
    Well but it work with the lines uncommented, and stands fairly in the middle.

    I also tried three different servos.

    Now ... an interesting question ...
    Where do your servo take its power ???
    Well, my testsetup is built on an breadboard, and the servo is connected via a pinstrip and directly to the same power as the rest of the setup, which is powered from the +5V 2A output on my lab power supply.

    Btw I'm using a pickit2 from microchip to program the pic via ICSP, and its permanently connected to the pic.


    PS1: you sure PORTA.0 AND PORTA.1 can't be 0 together ???
    Yes, I used a switch with three positions, (on)off(on) first, but now I just use a cable directly on the breadboard.

    PS2: you sure your comparators are disabled ??? ... 16F628 !!!
    No idea, how do I do that ?
    Last edited by Glenn; - 21st September 2008 at 20:33.

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 : 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