140
140
Direction Control
●
The digital pins D6 and D9 control the right motors.
●
Setting D6 high and D9 low makes the right wheels spin forward.
●
Setting D6 low and D9 high makes the right wheels spin reverse.
●
Setting D6 low and D9 low turns off the motors.
●
The digital pins D10 and D11 control the left motors.
●
Setting D10 high and D11 low makes the left wheels spin forward.
●
Setting D10 low and D11 high makes the left wheels spin reverse.
●
Setting D10 low and D11 low turns off the motors.
●
Making the left motors go forward and the right motors go reverse turns the
robot right.
●
Making the left motors go reverse and the right motors go forward turns the
robot left. The next page shows the code for each direction.
Содержание StenBOT Rover Kit
Страница 1: ...1 StenBOT Rover Kit Stensat Group LLC Copyright 2013 ...
Страница 4: ...4 Overview ...
Страница 21: ...21 21 End of Section In this section you learned the parts of the robot and how they all tie together ...
Страница 22: ...22 22 Assembly ...
Страница 54: ...54 54 Mount the Solderless Breadboard The solderless breadboard is mounted as shown inch 4 40 Screws ...
Страница 58: ...58 58 Processor Board and Arduino Software ...
Страница 105: ...105 105 Next Example The next example will be to detect light intensity Remove the LED and switch circuit ...
Страница 118: ...118 118 Completing The Robot Motion ...
Страница 138: ...138 138 Digital Signal Connections ...
Страница 153: ...153 153 Robot Sensing This section you learn about using sensors to control the robots movements ...
Страница 166: ...166 166 Remote Control ...