ewand
Posts: 2
Joined: Wed Oct 04, 2017 1:16 pm

Mearm servos don't move

Wed Oct 04, 2017 10:01 pm

Hi there,

I've just bought a MeArm and I'm trying to calibrate the servos with a Pi3. I've got ServoBlaster (https://github.com/richardghirst/PiBits ... rvoBlaster) running and talking to the GPIO, but the best I can get on either of the servos I've tried is a bit of buzzing from inside. Nothing seems to move. I've uploaded a video: https://www.youtube.com/watch?v=5QGd8gd7zAA https://www.youpak.com/watch?v=5QGd8gd7zAA (in case the first one doesn't work).

As you can see in the video, I can control it. In this particular case, when I try and send the servo to 100% using ServoBlaster, it does this, and when I send anything less than 100%, it stops. In other cases I was able to get it to buzz at a different frequency, as if it had slowed down. But never was I able to make anything actually move.

Have I burned out these two servos without knowing it? Or is there something else going on?

I'm happy to provide more relevant info if the problem isn't obvious from this video.

Thanks
-ewan

pcmanbob
Posts: 9612
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Mearm servos don't move

Thu Oct 05, 2017 2:10 pm

Hi.

well I cant actually see it doing anything ?

may be if you put a horn on the output we could see it moving or not as the case may be.

Are you sure you have the servo connected correctly they require 5v, Gnd & signal wires.

this site has details on wiring colours : http://www.hooked-on-rc-airplanes.com/rc-servos.html#9 near the bottom of the page just scroll down.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

User avatar
OutoftheBOTS
Posts: 711
Joined: Tue Aug 01, 2017 10:06 am

Re: Mearm servos don't move

Thu Oct 05, 2017 9:39 pm

Ok I have looked at the ServoBlaster program that your using and it is a clever little program.

Servo set their position by receiving a wave of on/off (normally from a radio wave) and depending upon how long the on is what position they goto, on for 0.5ms then servo goes to -90, on for 1.5ms then it goes to 0 and on for 2.5ms then it goes to 90.

changing the length of the on time (width of on time) is known as PWM (pulse width modulation) the RPi only has 2 PWM hardware generators and basically was included to create stereo audio output but on most standard installs of the Raspain OS it setup for mono audio and 1 PWM is left for the use to use for what ever.

This program uses these PWM generator to send the on/offs to the GPIO pins.

U might have to change your config.txt file to disable the audio so that the PWM is free to be used for the ServoBlaster program.

Because of the limited PWM on the RPi most of the time that I need to use PWM (especially if wanting to control multiply servos) I will use an external board to generate it. I use the PCA9685 for all my servo control as it can generate 16 separate PWM signals so I can very easily drive 16 servos all at once.

ewand
Posts: 2
Joined: Wed Oct 04, 2017 1:16 pm

Re: Mearm servos don't move

Sat Oct 07, 2017 7:40 am

Yes, the wires are connected correctly, and no, it's not moving. I'll try disabling the audio and I'll also make double sure that my adapter is sending the correct voltage. Thanks.

Return to “Automation, sensing and robotics”