Thames & Kosmos Robotics Smart Machines Track & Treads Experiment Manual page 12

Table of Contents

Advertisement

WRITING PROGRAMS
PROGRAMMING MOTORS
1. Press the motors command icon and the motor
programming window appears (D).
2. In the motor programming window, you can
create a command to control motor one (blue)
and/or motor two (red) to turn forward or
backward. You can choose a relative speed from
-4 (fastest in one direction) to 4 (fastest in the
other direction).
Note: A positive speed (1-4) in the motor command
doesn't always mean your model will move
forward! You will have to test which direction
results in the desired output direction on your
specific models, because the orientation of the
motor and the gearing will change the direction.
3. With the time slider (E), you can also set the
duration for which the motor(s) will turn, from 0.5
to 5.0 seconds.
4. When you are satisfied with your selections, press
the green check mark button and the motor block
(F) appears in the program segment.
The blocks show which motor(s) (G) the command
will turn, and at what speed and in what direction
(H) each motor will turn. Below that, it shows
how long the motor(s) will turn (I).
The blue gear wheel represents motor one and the
red gear wheel represents motor two.
Tip! Add red and blue dots or stickers to the battery
box and motors so you can easily keep track of
which motor you are programming.
5. You can add more command blocks to the same
segment by pressing the "+" button (B) again.
12
D
F
G
H
I
E
Motor
indicator
dots

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

620382

Table of Contents