28125 Parallax Inc, 28125 Datasheet - Page 138

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Moving Forward
Here’s a funny thing: to make the Boe-Bot go forward, the Boe-Bot’s left wheel has to
turn counterclockwise, but its right wheel has to turn clockwise. If you haven’t already
grasped this, take a look at Figure 4-2 and see if you can convince yourself that it’s true.
Viewed from the left, the wheel has to turn counterclockwise for the Boe-Bot to move
forward. Viewed from the right, the other wheel has to turn clockwise for the Boe-Bot to
move forward.
Remember from Chapter 2 that the
the speed and direction the servo turns. The
FOR…NEXT
Backward
loop control the number of pulses that are delivered. Since each pulse takes
Forward
Left Side
Counterclockwise
PULSOUT
Right Turn
Left Turn
StartValue
Clockwise
command’s
Forward
Right Side
Forward
and
Duration
Figure 4-1
Your Boe-Bot and
Driving Directions
EndValue
argument controls
arguments of a
Figure 4-2
Wheel
Rotation for
Forward
Motion

Related parts for 28125