Thames & Kosmos 620380 Experiment Manual page 55

Robotics smart machines rovers & vehicles
Table of Contents

Advertisement

PROGRAMMING
SAMPLE PROGRAM FOR THE HELICOPTER
Start by placing the helicopter on a table. Run the program. First, the
program turns motor B on, which spins the rotor blades. Then, lift the
helicopter up off the table with your hand. Once the model is several
centimeters from the table surface, the ultrasonic sensor detects the
absence of the table. The program then tells motor A to retract the
landing gear. Now you can pretend the model is flying around. When
it's time to land, slowly bring the helicopter close to the tabletop
again. The sensor will tell motor A to swivel back into landing mode,
and the landing gear will extend so the helicopter can land.
This program is preloaded in the app under Program 14. Test it out
and write down how the robot behaves for each program segment
below.
52
DEMO PROGRAM:
Program 14
OPENING SEGMENT:
SEGMENT 0-20:
SEGMENT 21-50:
SEGMENT 51-70:
SEGMENT >71:

Advertisement

Table of Contents
loading

Table of Contents