Writing A Program; Troubleshooting The Sensor Connection - Thames & Kosmos Robotics Smart Machines Experiment Manual

Table of Contents

Advertisement

• The "Opening" program segment (K) runs once at the
beginning when the Go button is pressed.
• When an object is detected between 0 and 30, the blue
0-30 segment (L) runs.
• When an object is detected between 30 and 50, the green
31-50 segment (M) runs.
• When an object is detected between 50 and 100, the
purple >51 segment (N) runs.
You can slide the range markers to change the distance
ranges. You can also increase the number of distance
range segments by pressing the add range marker button
(O). You can delete a segment with the delete button (P).
Range markers must be a minimum of 5 distance units
apart. You cannot add a new range marker if there is
another marker at 90 or higher.

WRITING A PROGRAM

1. Now you are ready to write your first program. Click the
gear button (A) to enter the programming mode. Choose
a blank program (Program 8 starts out blank).
2. The programming screen appears.
3. Press the plus sign "+" button (B) in one of the program
segments to add a command.
4. The commands menu (C) pops up. You can select
between three types of commands:
• Choose Motors to add motor commands.
• Choose Notes to add sound commands.
• Choose Rest to add a pause command.
Or press the red X button to exit the commands menu.
Continued on next page >>>
Programming the Robots
O
K
L
M
N
B
P
A
C
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents