Device Setup: Sensors#

Add a Sensor#

Open the Devices Tab#

Select the Devices tab.

Screenshot of VEXcode's tab bar, with the Devices tab highlighted.

If the Devices tab is not visible, see Add a Tab in the Navigating VEXcode tutorial.

Select ‘Add a Device’#

Select Add a Device in the Devices tab.

Screenshot of the Devices tab, with the Add a Device button highlighted.

Select a Sensor#

Select which sensor you’d like to add to the robot.

Screenshot of the Select a device screen, showing the available sensors.

Select the Port#

Select which port the sensor is connected to on the VEX IQ (2nd gen) Brain.

Screenshot of the Select a port screen for a sensor, showing ports 1 through 12 to choose from.

Configure Additional Settings#

Some more complex sensors, like the AI Vision Sensor, will have additional settings to configure. For example, the AI Vision Sensor lets you turn on Detection Modes and configure Color Signatures and Color Codes.

Screenshot of the AI Vision Sensor Settings screen, showing Detection Modes, Configured Colors, and Configured Codes.

Select Done#

Once your sensor is configured, select Done to add it to your robot.

Screenshot of the Select a port screen for a sensor, with a port selected and the Done button highlighted.

View the Sensor in Your Devices List#

The sensor will now appear in your list of devices, and its blocks will be added to your toolbox.

Screenshot of the Devices tab, showing TouchLED2 in the list of devices.