Skip to main content

The VEX IQ Distance Sensor

Read about the Distance Sensor

To learn more about the Distance Sensor, ask the Reader to organize how the group will read the VEX IQ Distance Sensor article from the VEX Library.  This article will cover how the Distance Sensor works and provide common uses.

VEX IQ Distance Sensor

Program with the Distance Sensor

Have the Programmer open VEXcode IQ and follow these steps:

Test the Distance Sensor

Have the Tester connect the VEX IQ Brain to your computer and then follow these steps:

  • Download the project to the IQ Robot Brain.
  • Run the project to report if the Distance Sensor detects an object or not. If it does, it reports how far away it is from the sensor.
  • For help downloading and running a project, view the Download and Run a Project tutorial video.
  • Based on your observations of how the sensor behaved on the Testbed and the information from the reading, answer the following questions and ask the Recorder to document them in your engineering notebook:
    1. In what scenario would you use a Distance Sensor instead of a Bumper Switch?
    2. Why might you want a robot to detect objects at a distance?