Log in

View Full Version : Servo isn't working..!


rai337
02-03-2013, 05:36
we're using a servo, and we connected him like a normal pwm with a jumper ofc, and we use him in the program and it doesn't working.. we're sure that we use it properly, and we also tried the example.. we know that the servo and the wire is working, can someone help, we are stuck...

Leav
02-03-2013, 05:50
Which example are you following?

here's a tutorial on the subject. try following the steps there and see if it helps...

http://frcmastery.com/wp-content/uploads/2011TipJars/FRC_Mastery_Step_3/FRC_Mastery_Step_3.html

rai337
02-03-2013, 09:15
it's exacly what we did actually.. we realy have no idea what's the problem..

Leav
02-03-2013, 09:33
OK so troubleshooting 101: isolate the problem.

Do you have an oscilloscope? (I seem to remember that your lab is well equipped). If so, you should try measuring the output of the signal pin (don't forget to connect the ground pin to ground!)

are you getting signal?
if you see a square wave signal, that's a good sign already. measure the frequency, it should be between 30-50 Hz. (the signal should have a period of ~20ms to ~33ms).

if you see all that, something is wrong with the servo.

if you don't see any signal -> probably software problem or wrong wiring (Digital side car working?)

if you see a wrong signal
(bad frequency or shape) -> probably software problem

rai337
02-03-2013, 11:18
We just solved the problem actually, from some reason the sidecar didn't work with the servo, so we're fine now. thanks anyway!