Servo and pwm


Closed Thread
Results 1 to 11 of 11

Thread: Servo and pwm

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Pic/servo startup

    Hmm. I haven't seen that servo behavior myself, but I thought it might be worth an experiment so I plugged a servo directly into a battery pack with no signal. One out of every ten or so times I plugged it in it would twitch just barely. Is that the issue you're having? If this is it I think you have to go with switched power but it is a very small movement and it might be related to the specific servo you're using.

    If not you might want to look at where and what value is associated with thethe first pulseout is in your code. I have had issues where the servo is moved far from a default position and startup includes significant movement as it heads for default and I've also set the default position at the wrong value and had movement. Finally I've had the pic come up with outputs high or not set until late in the program which gave me some issues.

    I've also on rare occasion had spurious signals from dirty power - might want to check that. I'm also assuming that you're posting about standard 1-2ms commanded hobby or robotics servos.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Make sure you're wearing safety glasses before powering-up that servo with a
    2N3904 low-side switch...;o}

    An FET that can handle your servos stall current might be a better choice?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    Thanks Bruce,

    The servo is one of those micro-miniature jobs. I tried the same code on a "regular" hobby servo and it works like a charm without any switching. The regular one does not even move when you put power to it, the mini job can spin almost 1/2 way around. Not a cycle or two.....

    Cheers
    Gary

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Gary,

    I had one of those micro servos a few years back that did pretty much the same thing.

    It had a severe twitch under certain circumstances too as I recall. Can't remember exactly
    why, but it was a funky servo. I think it was a BlueBird brand? Can't remember. I blew it up
    goofing around, and never bothered replacing it.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Oct 2008
    Posts
    51


    Did you find this post helpful? Yes | No

    Default

    Its down to the indidual servo buddy, the experiances i have had is the nice and cheap servos have alot of start up movement.... I got a cheap load of servos from ebay and they all have this problem. I also have another servo which i got from a friend at work which is of a higher wuality that doesnt have the issue

Similar Threads

  1. PMDC SERVO MOTOR WITH quadrature encoder DRIVE ?
    By phoenix_1 in forum Schematics
    Replies: 37
    Last Post: - 22nd November 2009, 19:45
  2. The best way to control a servo with a PIC
    By The Master in forum Off Topic
    Replies: 41
    Last Post: - 19th October 2008, 02:44
  3. how to change servo motor PWM
    By dboy in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 21st September 2008, 07:02
  4. RC Servo Receiver
    By Ioannis in forum General
    Replies: 2
    Last Post: - 23rd October 2007, 06:56
  5. inturrepts to control the servo motor position!
    By parinshah in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd May 2006, 07:55

Members who have read this thread : 2

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