Preview Mode. Sign in to save progress!
You are in preview mode! Progress will not be saved!
Sign in to save your progress!

Threshold Value Challenge

Program the robot to activate different colors of the Touch LED as it moves closer to an object!
Threshold Value Challenge



Make sure the robot has Touch LED and the Ultrasonic Sensor, then place the robot a lengthy distance away from an object/wall.
For this challenge, first, place the robot 1 meter away from an object/wall, with the Ultrasonic sensor facing it. Next, program the robot to light the Touch LED on yellow, then moves closer to the object/wall. While it is moving close, the Touch LED should change colors, depending on how close it is to the object.

  • Yellow - At the start of the program
  • Orange - When less than 750mm
  • Red - When less than 500mm

When the robot is less than 250mm, the robot is stop moving.

Video Upload: Threshold Value Challenge

Upload a video of your robot completing the Threshold Value Challenge.
Contact Us