28125 Parallax Inc, 28125 Datasheet - Page 309

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
Exercises
Projects
4. What PBASIC directive do you use to declare a constant? How would you give
1. List the sensitivity of the IR detector for each kHz frequency shown in Figure 8-
2. Write a segment of code that does the frequency sweep for just four frequencies
3. Make a condensed checklist for the tests that should be performed to ensure
P1. Create different types of electrical tape intersections and program the Boe-Bot to
P2. Advanced Project - Design a maze-solving contest of your own, and program the
the number 100 the name “BoilingPoint”?
1.
instead of five.
faithful stripe following.
navigate through them. The intersections could be 90° left, 90° right, three-way,
and four-way. This will involve the Boe-Bot recognizing it is at an intersection.
When the Boe-Bot executes StripeFollowingBoeBot.bs2, the Boe-Bot will stay
still at intersections. The goal is to have the Boe-Bot realize it’s not doing
anything and break from its proportional control loop.
Hints: You can do this by creating two counters, one that increments by 1 each
time through the
delivers a forward pulse. When the counter that increments each time through the
DO…LOOP
applied. If less than 30 forward pulses were applied, the Boe-Bot is probably
stuck. Remember to reset both counters to zero each time the loop counter gets
to 60. After the Boe-Bot recognizes that it is at an intersection, it needs to move
to the top edge of the intersection, then back up and figure out whether it sees
electrical tape or white background on the left and right, then make the correct
90° turn. Use a preprogrammed motion for turning 90°, without proportional
control. For three-way and four-way intersections, the Boe-Bot may turn either
right or left.
Boe-Bot to solve it!
gets to 60, use
DO…LOOP
IF…THEN
, and the other that only increments when the Boe-Bot
to check how many forward pulses were

Related parts for 28125