Boe Bot Servo Testing
jplrobot
Posts: 12
I am a beginner following the Boe Bot instruction manual and have a question arising from pulsing the servos at Pages 59 through 61.
1. I have successfully centered both servos
2. Both servos run as commanded in clockwise and counterclockwise direction
3. After a few cycles of testing, program says "scanning ports ......" and stays stuck in this mode
4. Exiting the program and reconnecting has not remedied the situation
5. I thought the battery pack was low but the pack shows 6V as the batteries are fresh
Any thoughts as to what may be the cause? I have gone back and run the earlier code snippets and they run without a glitch.
Thanks for your help.
1. I have successfully centered both servos
2. Both servos run as commanded in clockwise and counterclockwise direction
3. After a few cycles of testing, program says "scanning ports ......" and stays stuck in this mode
4. Exiting the program and reconnecting has not remedied the situation
5. I thought the battery pack was low but the pack shows 6V as the batteries are fresh
Any thoughts as to what may be the cause? I have gone back and run the earlier code snippets and they run without a glitch.
Thanks for your help.
Comments
If you want us to help further, you need to provide the program you're using. If it's "straight out of the book", provide a page number at least. If you've copied it out of the book, your copying is suspect. Make sure you've connected the servos properly. These examples do work (keeping in mind the severe limitations of 9V batteries for this use). Remember that the power switch has to be in position 2 for the servos to work and you need to have the voltage jumper set properly to use the +5V output of the regulator (Vdd) rather than the unregulated battery input (Vin). If you use a 6V or 7.2V battery pack, you'd use the Vin setting because that's low enough to not damage the servos in that case and that setting helps keeps motor noise out of the regulated supply.
' {$PBASIC 2.5}
DEBUG "Program running!"
DO
PULSOUT 13, 650
PAUSE 20
LOOP
That is the program I used, servos ran off of that command a while ago, but now they just don't... Thanks for the help anyways.
Just curious... what is the proper amount of amperage for a 9V battery and how did you test it?