PROGRAMMING
SAMPLE PROGRAM FOR THE CONVEYOR BELT
The conveyor belt is able to move objects along its two belts, changing the direction in which the object is
moving in the process. Before running the program, place a large wheel frame on the belt in front of the
ultrasonic sensor. When the program is run, the belt will move the large wheel frame forward, pause for a
second, and then continue to move the large wheel frame onto the second track. The second track will then
move the large wheel frame forward until it falls off.
This program is preloaded in the app under Program 22. Test it out and write down how the robot behaves for
each program segment below.
PROGRAMMING NOTES
Programming the Conveyor Belt
Programming the Turtle Robot
DEMO PROGRAM:
Program 22
OPENING SEGMENT:
SEGMENT 0-31:
SEGMENT >32:
49
49