Connecting a Distance Sensor
Items you will need:
• Fully assembled VEX IQ Robot such as the Standard Drive Base, Autopilot Robot, Clawbot
or Clawbot with Sensors (See
installed in the Robot Brain
• VEX IQ Controller with Radio and Controller Battery Installed
• Distance Sensor (228-3011)
The Distance Sensor is an input device that measures the distance to an object by using high
frequency sound waves. Distance Sensors are connected to the Robot Brain using Smart
Cables. These cables come in assorted lengths between 200mm and 600mm long. All
sensors should be connected to the Robot Brain with
the power is OFF. Smart Cables can only be plugged in
one way; when fully inserted they lock into place.
The default Driver Control program on the Robot Brain
will automatically look for and find the four advanced
VEX IQ sensors (Touch LED, Distance Sensor, Color
Sensor, and Gyro Sensor) on any unused port. Connect
the Distance Sensor to any unused Smart Port on the
Robot Brain.
If there are multiple advanced sensors of the same type
plugged in (for example, two Gyro Sensors), the Driver
Control program will only respond to the sensor on the
lower port number. There are no restrictions to type or quantity of sensor use when the Robot
Brain is running a custom user-created program.
The default action of the Distance Sensor in the Driver Control program is to prevent the
robot from running into an object or wall. When the Distance Sensor sees an object, it will first
slow down the Clawbot as it approaches the object. If the robot gets too close, the Clawbot will
stop to prevent a collision. If this occurs, drive in the opposite direction away from the object to
regain full control of the robot.
• Turn ON the Robot Brain and Controller.
• Select and run the Driver Control program.
• Use the Controller to drive the Clawbot in reverse towards a wall. When the Distance
Sensor sees an object that is too close to the robot, it will stop the robot from hitting that
object.
Page 8
for more information), Radio, and Robot Battery
109
Need help?
Do you have a question about the VEX IQ and is the answer not in the manual?
Questions and answers