Boe Bot (USB) Servos Unresponsive
It seems my Servos have stopped responding. I wrote a test program that worked previously.
I have made sure its position is on 2 on the BOE board and tested different batteries. I have even gone as far to try setting different power sources and a replacement BS2 stamp. When I set the jumper for the power source, then the·Stamp Editor no longer recognizes the stamp (?) Can someone provide some suggestions?
I have the red wire attached to P2 and the black wire attached to Vss.
' {$Stamp BS2} ' Stamp Directive ' {$PBASIC 2.5} pulse_count VAR Word ' Declare a VAR. FOR counting DEBUG "Clockwise 3 seconds " FOR pulse_count = 1 TO 122 ' Sends 122 clockwise right pulses PULSOUT 12, 650 ' 1.0 ms pulse TO right servo PAUSE 20 ' PAUSE FOR 20 ms NEXT DEBUG "Stop 1 second " FOR pulse_count = 1 TO 40 ' Stop in 40 pulses PULSOUT 12, 750 ' 1.2 ms pulse TO right servo PAUSE 20 ' PAUSE FOR 20 ms NEXT DEBUG "Counterclockwise 3 seconds " FOR pulse_count = 1 TO 122 ' Sends 122 right pulses PULSOUT 12, 850 ' 1.0 ms pulse TO right servo PAUSE 20 ' PAUSE FOR 20 ms NEXT PAUSE 500 ' PAUSE FOR 0.5 s END ' END
I have made sure its position is on 2 on the BOE board and tested different batteries. I have even gone as far to try setting different power sources and a replacement BS2 stamp. When I set the jumper for the power source, then the·Stamp Editor no longer recognizes the stamp (?) Can someone provide some suggestions?
I have the red wire attached to P2 and the black wire attached to Vss.
Comments
Have you tried connecting the 470 Ohm resistor and LED to pin 12 as shown in the student guide page 48? Is the LED lit?
Have you tried using another servo on pin 12?
Have you tried the pulsout on pin 13?
You might have a broken connection.
I might have some more ideas once I get my Boe-Bot and start playing with it.
Robert
Post Edited (manaox2) : 3/28/2007 5:24:57 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
EDIT: considering that the servos might me damaged, I connected them to a 9V battery directly. It works when you tap the connectors to make a pulse... its one directional as well. This makes me think that they should still work.
Post Edited (manaox2) : 3/28/2007 6:10:26 PM GMT
I think you may have misunderstood what I was saying…The servos must have a separate power source…The signal that drives them is not the source of that power. It sounds like you’re measuring the voltage at the signal pin to get this 4V. As a note, 9V is technically too much…If you did it for short periods of time it would be okay, but running the servos from 9V continuously would be very bad for the life of the servo. The typical range is 4.8V to 6V. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Does this help your confusion?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support