Boe Bot error
kevin.shen18
Posts: 3
I have purchased a Boebot and began following the tutorial/guidebook that came with it(Robotics with the BoeBot)
On page 106, in the Boebot Navigation chapter(4) it teaches you how to chance the PULSOUT width parameters in order to make Boebot move in a straight line.
When I try the values of 850 and 650 the left and right wheels spin and the boebot moves in a straight line. However when I chance the value of 13 to 780,and the value of 720(so I get a slower speed), and then run it, Boebot runs slower(which was expected) but veers of to the right as if was slowly turning right. The right wheel was turning slower than the left. I am sure the servos are centered(I even double checked. It was definitely not the batteries, I even tried replacing them, no luck.
So what could be causing this problem to the boebot. It worked for 850 and 650, but veered right for 780 and 720. I tried 750 for both pins/servos and the servos were still, which meant the servos were centered.
On page 106, in the Boebot Navigation chapter(4) it teaches you how to chance the PULSOUT width parameters in order to make Boebot move in a straight line.
' {$STAMP BS2} ' {$PBASIC 2.5} DEBUG "Program running" FREQOUT 4,2000,3000 counter VAR Word FOR counter = 1 TO 122 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 LOOP END
When I try the values of 850 and 650 the left and right wheels spin and the boebot moves in a straight line. However when I chance the value of 13 to 780,and the value of 720(so I get a slower speed), and then run it, Boebot runs slower(which was expected) but veers of to the right as if was slowly turning right. The right wheel was turning slower than the left. I am sure the servos are centered(I even double checked. It was definitely not the batteries, I even tried replacing them, no luck.
So what could be causing this problem to the boebot. It worked for 850 and 650, but veered right for 780 and 720. I tried 750 for both pins/servos and the servos were still, which meant the servos were centered.
Comments
Now these specific pulse widths vary from bot to bot and trial and error is generally the best way to find them. A pair of wheel encoders takes the guess work out of things, but that can wait until you gain more experience with the basics.
Also keep in mind that as the batteries get weaker there will also be changes needed to the pulse widths.