Execute the Code
Before you can upload the sketch to the PULSE, remember to check your
connections. The Line Finder Sensor should be in D2. Upload the sketch. The green
LED will light up, indicating the code is ready to execute. When this has occurred,
disconnect the USB cable and set the Codee Bot on the white or reflective surface.
To run this code, you will need to place a black stripe on a white or reflective surface
for the robot to follow. White glossy cardboard, foam board, poster board, or several
sheets of paper tiled together can work for the surface.
The black stripe can be made using electrical tape. You can make a curvy path or
just a straight line. There will be a limitation on how sharp a curve your robot will be
able to follow, so do not make the curves too tight.
The Codee Bot should be placed with the Line Finder Sensor slightly to the side
of a line to follow. Press the green Start button to execute the sketch. Observe the
behavior of the robot. Press the red Stop/Reset button to end the sketch. Based on
the sketch comments, did the behavior match expectations?
S-curve
Curve
Straight
Line length of 1
meter or roughly
36 inches
Sensor
Sensor
Sensor
Tip: You might need to
nudge the bot to get it to
move because the wheels
might slip on smooth
surfaces.
Troubleshooting: Be sure
to check that the Line
Finder Sensor is plugged
into the correct sensor
port and that it is adjusted
properly to sense the line.
Some height adjustment
might be needed, or the
small adjustment screw on
the back side of the sensor
module might need to
be tweaked. To see if the
sensor is working properly,
manually move the robot
back and forth over the
black and white surface. The
red LED on the Line Finder
Sensor should be on when
the sensor is over the white
surface and off when it is
over the black line.
Building and Coding the PULSE CodeeBot
109
Summary of Contents for tetrix prime
Page 1: ...44301 TETRIX PULSE Robotics Controller Programming Guide...
Page 7: ...PULSE Controller Technology Overview Getting Started 5...
Page 61: ...Step 9 Step 10 Step 12 Step 14 Step 11 Step 13 Building and Coding the PULSE CodeeBot 59...
Page 62: ...Step 18 Step 17 Finished Assembly Step 16 Step 15 60 Building and Coding the PULSE CodeeBot...
Page 73: ...Step 1 0 Step 1 1 Build two like this Building and Coding the PULSE CodeeBot 71...
Page 74: ...Step 1 2 Step 1 3 72 Building and Coding the PULSE CodeeBot...
Page 75: ...Step 1 4 Building and Coding the PULSE CodeeBot 73...
Page 78: ...Step 2 2 Step 2 3 76 Building and Coding the PULSE CodeeBot...
Page 79: ...Step 2 4 Step 2 5 Building and Coding the PULSE CodeeBot 77...
Page 80: ...Step 2 6 Step 2 7 78 Building and Coding the PULSE CodeeBot...
Page 81: ...Step 2 8 Building and Coding the PULSE CodeeBot 79...
Page 83: ...Step 3 0 Step 3 1 Building and Coding the PULSE CodeeBot 81...
Page 84: ...Step 3 2 82 Building and Coding the PULSE CodeeBot...
Page 85: ...Step 3 3 Building and Coding the PULSE CodeeBot 83...
Page 87: ...Step 4 0 Step 4 1 Building and Coding the PULSE CodeeBot 85...
Page 88: ...Step 4 2 86 Building and Coding the PULSE CodeeBot...
Page 89: ...Finished assembly should look like this Building and Coding the PULSE CodeeBot 87...
Page 131: ...GS Activity 4 extension GS Activity 5 extension Appendix 129...
Page 144: ...142 Notes...
Page 145: ......