2 different servos. One works, one doesn't?!?
Botdocter
Posts: 271
I have a cheap helicopter servo that works with the propeller. Allthough my better servo, with much more torque is not moving on the same pin with the same code.
Any suggestions? I know both servos are working!!
Any suggestions? I know both servos are working!!
Comments
Describe exactly how you have them hooked up. How are the servos getting power, how are they grounded? How are they connected to the Propeller? Does the servo twitch at all or is it dead silent?
What code are you using? Are you swapping out the servos while the code is running?
Rich H
About 5 years ago, there was a boom in new and better servos. Even Futaba created a new generation of higher cost, better servos. Many of these were more precise, more powerful, with metal gears, and other claims. But as with all leading edge innovation, some of the products never really delivered. I guess Google may help you to determine the true status of you have.
Of course, it could always be something as simple as a bad connector that has been overlooked and all this research and thought is unnecessary.
what is the setup where BOTH servos work?
Powersupply voltage and maximum current that the powersupply can deliver
What are the voltage and current requirements of both servos?
did you MEASURE the voltage and current in the original and working setup?
Did you connect both servos to the SAME RC-receiver?
If not did you compare the signal-output towards the servo with an oscilloscope?
to state the obvious do the connectors have the same pinout?
best regards
Stefan
The rotation of the servo with lineair upgoing value:
0---80% OK, then it moves to 40% and goes up from there.
Help!!!
The only time I have a problem driving a servo, (mine being a digital servo), was with the new Parallax USB Propeller Servo Controller
It requires a 5K to 10K resistor in line with the signal line, (because of the Level Translator).
You have not shown what your hardware connections are or the the software that you are using that produces the errors. That would help a lot.
Jim
I think it is a problem in my code. I will post it as soon as possible. Mobile now...
could it be a faulty crystal?
I would be interested to see the code that produced this error.
What hardware are you using? Demo Board, Servo Controller?
Jim
Doesn't help much as the indentation is not shown and the other objects are missing. In order for someone trying to run this, the other objects should be included. It's not fun trying to do a google on all the other objects and coming up with the same ones that you are running.
Create an archive File > Archive > Project and post that.
Also a hint on the hardware you are using. Breadboard, Protoboard, Demo Board?
Jim
Edit: OK you are using the Robot Controller Board.
RRSerial.zip
I was able to download the code and send it to my PPDB.
I see an initialization on the servos when you first type in data, (maybe 0 degrees to 90 degrees?)
What kind of data is it looking for and what format? I see you are looking for RoboRealm input. What does that look like?
I can open PST and type in random values, (numeric and alpha), and the servo signals are going from ~1.5ms to ~1.7ms randomly.
Some more info on RoboRealm format would help.
Jim
The values are received by the propeller as:
234 (rxVal_4)
127 (rxVal_3)
265 (rxVal_2)
169 (rxVal_1)
So only the numbers. Everything between () are comments.
Wat is beeing send by roborealm is :
\\value1\\value2\\value3\\value4
Hope this helps..