Guide

6
I.8
I.9
Simple Programming Exercises Using Only the Robot Brain
You can make some changes to the way a robot is programmed by making simple conguration
changes using only the LED screen and buttons on the VEX IQ Robot Brain. Please see your kit
documentation and follow instructions to make conguration changes, testing out each change.
Simple Programming Exercises Using Programming Software
Before you complete any of the exercises below, you will need to:
1. RETURN THE DRIVER CONTROL PROGRAM TO ITS DEFAULT SETTINGS.
2. Become familiar with your programming software. Specically, you should be able to open and use your
programming software, save custom programs, connect your programming computer to your VEX IQ robot,
successfully transfer custom programs to your Robot Brain, and run custom programs after they are transferred.
Your teacher will decide the best way to get you comfortable with your programming software.
Notes: All of the possible exercises below utilize an Autopilot or similar robot with ONLY Smart Motors and the featured
sensor connected to any unused port in the Robot Brain. Be sure to use the unit Idea Book Page to plan and troubleshoot
your custom programs as part of these exercises. A sample Idea Book Page is provided for reference as needed.
Possible Programming Exercises with Bumper Switch & Smart Motors:
1. Robot backs up autonomously to a wall until one or both of the bumper switches on the
Autopilot Robot is/ are activated by the wall, stopping the robot.
2. Teacher-created exercise.
Possible Programming Exercises with Touch LED Sensor & Smart Motors:
1. Robot drives autonomously forward 5 motor revolutions with Touch LED glowing green.
2. LED starts out red. Tap Touch LED, it glows green and robot drives forward autonomously. Tap
LED again to change it back to red and robot stops.
3. Teacher-created exercise.
Possible Programming Exercises with Distance Sensor & Smart Motors:
1. Robot drives autonomously toward a wall. Robot stops driving 6 inches from wall.
2. Robot drives autonomously toward a wall. Robot stops driving 6 inches from wall, then
backs up 5 motor revolutions in return direction.
3. Teacher-created exercise.
Possible Programming Exercises with Color Sensor & Smart Motors:
1. Robot drives autonomously forward when Color Sensor is shown a green card. Robot stops
when Color Sensor is shown a red card.
2. Robot drives autonomously forward when Color Sensor is shown a green card. Robot drives
autonomously backwards when Color Sensor is shown a blue card. Robot stops when Color
Sensor is shown a red card.
3. Teacher-created exercise.
Possible Programming Exercises with Gyro Sensor & Smart Motors:
1. Robot drives autonomously forward 5 motor revolutions, then spins 180 degrees and stops.
2. Robot spins 90 degrees, then pauses for 5 seconds, then spins another 90 degrees, then
pauses another 5 seconds, and keeps repeating the pattern until program is stopped.
3. Teacher-created exercise.