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.
1. Connect the AI Vision Sensor to the EXP Brain with a Smart Cable.
2. Connect the EXP Brain to your computer with a USB-C cable.
3. Open VEXcode EXP and open the Devices menu.
4. Select Add a Device.
5. Select AI Vision.
6. Select the Smart Cable port that the sensor is connected to.
7. Select Configure.
8. The AI Vision Sensor Utility window will open. Select Connect to connect your AI Vision Sensor.
9. A window prompting you to select the serial port for connection will appear. Choose the only available option.
10. 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.
11. 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.
12. Below the AI Vision Sensor’s screen is information about the AI Vision Sensor’s firmware.
13. 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.
14. If it says Firmware is Up to Date then your AI Vision Sensor has the most current firmware and is ready to go!