Touch Sensor Missions

Home > Activities > Robots > Missions

Computer Challenge logo

 

  Motor Control
Touch Sensors
  Light Sensors

 

For these missions you need a robot with a single touch sensor and bumper in the front.

For help completing these missions, see Touch Sensor Examples. For more, see the tutorial Touch Sensors.

1. Bump and back up. Program your robot to go forward until it bumps into something, then back up for one second and stop.

2. Music bot. Program your robot to play a few notes of a familiar tune each time the touch sensor is pressed, using a loop. Here are some examples:

  • "Charge": GCECEG
  • Beethoven's 5th: EEEC

3. Bumper cars. Make your robot go forward until it bumps into something, back up a little bit, turn part way around and continue. Use a loop to make it keep doing this.

 

  © 2009 Computer Challenge