How to make boe-bot roll faster
I am new to the boe-bot and have entered a little contest that places some emphasis on roll speed. Are there any tips for help the Boe-bot roll faster? I can only get about 0.5 fps on new batteries using a for loop to command the pulsout. Thanks for any help.
TBP
TBP
Comments
Be sure to have the jumper that is near the servo ports set so that the servos draw power from VIN. Note that voltages over 6.0 volts will probably decrease the life of the servos.
You could also swap out the servos for faster ones. They would need to be modified for continuous rotation.
Rich H
p138
Robotics
v2.2
The key to ramping is to use variables along with constants for the PULSOUT commands Duration argument. Figure 4-4 shows a FOR NEXT loop that can ramp the Boe-Bots speed from full stop to full speed ahead. Each time the FOR NEXT loop repeats itself, the pulseCount variable increases by 1. The first time through, pulseCount is 1, so its like using the commands PULSOUT 13, 751 and PULSOUT 12, 749. The second time through the loop, the value of pulseCount is 2, so its like using the commands PULSOUT 13, 752 and PULSOUT 12, 748. As the value of the pulseCount variable increases, so does the speed of the servos. By the hundredth time through the loop, the pulseCount variable is 100, so its like using the commands PULSOUT 13, 850 and PULSOUT 12,650, which is full-speed ahead for the Boe-Bot.