pan/tilt servo malfunction

Added by shoaib mohamed 10 months ago

Hello,
I recently purchased a pixy and pan/tilt kit but I am having issues with it. The servos go crazy out of control when I try to run the demo from pixymon, also the same case when running it from Arduino. I was using a very short cable of about 1ft long and then I changed to a longer cable of about 3ft and the problem still remains. I have also tried many solutions listed in the forum but nothing helps.

Please help me out on this as soon as possible because I am using pixy for my university project and I need to come up with a solution.

Thanks


Replies (5)

RE: pan/tilt servo malfunction - Added by Edward Getz 10 months ago

Hello Shoaib,
Make sure you're not using a USB hub, or perhaps your servo wires are reversed. Have you seen this guide?

http://cmucam.org/projects/cmucam5/wiki/My_pantilt_is_acting_sort_of_crazy

Also make sure that your Pixy has a good lock on the object you are trying to detect.

http://cmucam.org/projects/cmucam5/wiki/Some_Tips_on_Generating_Color_Signatures_2

Edward

RE: pan/tilt servo malfunction - Added by tony hallen 7 months ago

My servos pan/tilt to max position, then sit there jittering.

I tried adjusting frequency (default is 60) and reducing range (default is -200 - +200).

I connected 2 similar 9oz servos and they worked correctly with freq = 75.

Any suggestions as to adjusting settings or other fixes for the original servos? Different manufacturers' servos might need different settings?

Any help is appreciated.

RE: pan/tilt servo malfunction - Added by Jesse French 7 months ago

Hi Tony,

sounds like a power issue. How are you powering Pixy and Pan/Tilt?

Thanks,
Jesse

RE: pan/tilt servo malfunction - Added by Peter Moritz 26 days ago

I have similar symptoms.
Keep loosing track of the object. Inconsistent servo movement buzzing jittering etc..

Powering it with a good straight short usb cable.
I want to hook up a power cable on that white connector, but i dont know what the polarity should be.
Is it + Or + left to right?

RE: pan/tilt servo malfunction - Added by Edward Getz 26 days ago

Hi Peter,
Are you using the servomotors on the right (see pictures in the link below)?

http://cmucam.org/projects/cmucam5/wiki/Assembling_pantilt_Mechanism

If so, it will probably require some tuning of the PID parameters.

Here is some information on powering over the power connector:

http://cmucam.org/projects/cmucam5/wiki/Powering_Pixy

I was reading your other issues, the clicking and the like, and I'm wondering if your servos are somehow defective. Let me know what you find with the other power source.

Edward

(1-5/5)