Connect the AI Vision Sensor to Web-based VEXcode EXP

To utilize your AI Vision Sensor in VEXcode projects, the initial step is to establish a successful connection between the sensor and VEXcode. This requires:

  • An AI Vision Sensor.
  • An EXP Brain.
  • A computer with either App-based or Web-based VEXcode EXP.
  • A smart cable.
  • A USB-C cable.

With these items in hand, proceed below to see the steps for connecting your AI Vision Sensor to VEXcode EXP.

AI Vision Sensor connected to a laptop with a USC C cable.

1. Connect the AI Vision Sensor to your computer with a USB-C cable.

VEXcode EXP Toolbar with the Devices icon highlighted in between the Code Viewer and the Print Console icons.

2. Open VEXcode EXP and open the Devices menu.

VEXcode EXP Devices menu with the Add a device button highlighted.

3. Select Add a Device.

VEXcode EXP Devices menu after the Add a device button has been selected. The AI Vision option is highlighted.

4. Select AI Vision.

Screenshot of the Select a Port menu that shows the available Ports for the AI Vision Sensor.

5. Select the Smart Cable port that the sensor is connected to.

AI Vision Sensor Settings menu in VEXcode EXP with the sensor labeled as AIVision1. A large AI Vision Sensor icon is displayed, and beneath it, a blue button labeled Configure is highlighted.

6. Select Configure.

AI Vision Utility with no sensor connected. The live feed is blank and reads No AI Vision Sensor Detected. Above, there is a highlighted button that reads Connect.

7. The AI Vision Sensor Utility window will open. Select Connect to connect your AI Vision Sensor.

Browser connection window, with an option that reads VEX Robotics Communications Port. The Communications Port option is highlighted, and below the Connect button is highlighted.

8. A window prompting you to select the serial port for connection will appear. Choose the only available option.

Browser prompt that reads codeexp.vex.com wants to use your camera. Below, there are two options that read Allow and Block. The Allow option is highlighted.

9. A dialogue box asking for permission to use your camera will appear. Select Allow.


Note: If another camera is already connected to your computer, such as a laptop’s web camera, you may see the indicator for it turn on momentarily. This is normal and VEXcode will default to the AI Vision Sensor.

AI Vision Utility is opened in VEXcode EXP. The AI Vision Sensor's current view is shown and highlighted. Above, a green Connected status is highlighted to indicate that the connection is successful.

10. The AI Vision Sensor’s video screen will show what the sensor is seeing.

This may take a few seconds to update.

If it does not update, check your cable connections to the sensor and computer.

AI Vision Utility menu with a highlighted button below the current view that reads Firmware is Up to Date. The button is greyed out, and the current version is listed below. In this example the version reads Version 1.0.0.b16.

11. Below the AI Vision Sensor’s screen is information about the AI Vision Sensor’s firmware.

AI Vision Utility menu showing a button below the current view that reads New Update Available. Below the button the version is listed, in this example it reads Version 1.0.0.b12.

12. If the button says New Update Available, that means you need to update the firmware. Follow this article to learn about Updating the AI Vision Sensor's Firmware.

AI Vision Utility menu showing a button below the current view that reads Firmware is Up to Date. The button is greyed out and the version is listed below. In this example it reads Version 1.0.0.b13.

13. If it says Firmware is Up to Date then your AI Vision Sensor has the most current firmware and is ready to go!

AI Vision Sensor connected to an EXP Brain with a Smart Cable.

14. Once you have finished configuring the AI Vision Sensor, disconnect the Sensor from the computer and attach it to your EXP Brain with a Smart Cable.

For information on how to configure your AI Vision sensor, go here.

AI Vision Sensor connected to the EXP Brain with a Smart Cable. The Brain is shown connected to a laptop computer with a USB cable.

15. You can now connect your EXP Brain to your computer to download projects using the AI Vision Sensor.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: