Skip to main content
Skip to Main Content
Skip to main content
Navigation

Introducing the AI Vision Sensor

In this video, Aimee introduces you to the AI Vision Sensor as a powerful addition to your sensor toolbox. She emphasizes choosing the right sensor for the task at hand when coding, and provides an overview of the strengths and uses of each sensor provided in the EXP Kit. She then describes the capabilities of the AI Vision Sensor, highlighting the many ways the data it provides can open up new possibilities when coding a VEX EXP robot. 

(mellow instrumental music)

Hello, and welcome to the VEX Classroom. My name is Aimee, and in this video, I'm going to introduce you to the AI Vision Sensor. The AI Vision Sensor is a very powerful tool in your sensor toolbox that you can use to collect a wide range of visual data about objects that your robot can then use to make lots of interesting decisions and complete a variety of tasks. It's really important, as you know, to choose the right sensor for the job that you are trying to accomplish with your robot.

To get started, let's look at some of the sensors that you already have in your toolbox. First, you have the Bumper Switch. The Bumper Switch tells you if it has been pressed or not pressed, making it a great choice when you need to trigger an action with a robot, such as triggering a claw to close around an object so you can pick it up, triggering a robot to stop driving, or even triggering a certain stack of code to run in a project. Great choices for the Bumper Switch. In this video, you can see that the robot on the left drives forward and presses the Bumper Switch of the robot on the right, which then turns that robot's Brain screen red. So, anything where you need to trigger an action, the Bumper Switch is a great possibility.

What about the Distance Sensor? The Distance Sensor sends out a pulse of laser light, which is then reflected back to the sensor, and it measures the amount of time it takes for that laser light to be reflected back. In this way, it can measure the distance from the front of the sensor to an object that's in front of it. It can tell you how close or far away something is, whether there's an object near, or the relative size of an object. It can even tell you the velocity of an object that's traveling towards it. So, say you are navigating an obstacle course and you don't want to hit a wall or an object, the Distance Sensor would be a great choice because you can code the robot to turn and avoid the object using the sensor. It's important to note that objects have to be directly in front of the sensor for it to detect that object. In this video, the robot rotates until the Distance Sensor detects a ball, and then it drives forward and shoves that object off the field. It doesn't matter what order the objects are in, in this case, it doesn't matter the color, it's just trying to get as many objects off the field as quickly as possible. The Distance Sensor is a great choice for an instance like that.

Now let's take a look at the Optical Sensor. The Optical Sensor has many functions. It can detect and report the amount of ambient light in a room, so how bright or dark your room is. It can also detect when an object is nearby, a little bit less distance than the Distance Sensor, but it can do that. It has a little LED light on it that you can shine on an object to augment your ability to detect things, and it can detect the color of an object. Anytime color is a factor in your coding, the Optical Sensor is a great choice. In a project like this one, the Clawbot is trying to only pick up and move the red Buckyball. You can see it goes forward, checks the color of the blue ball, rejects it, goes and picks up the red ball, and drops it off where it needs to be. Anytime color is a factor, the Optical Sensor is a great choice. Again, the objects that the sensor is detecting need to be directly in front of the Optical Sensor.

Okay, so what about the AI Vision Sensor? The AI Vision Sensor can report a wide range of data that you can use in a coding project for the robot to make decisions. It can detect data about an object that's not just directly in front of the sensor, but to the left or the right of the sensor, above or below the sensor. It can detect the color of objects and combinations of colors of objects.

Thank you for watching this introduction to the AI Vision Sensor. We hope you found it informative and helpful. If you have any questions or need further assistance, please feel free to reach out. Happy coding!

It can detect AprilTags. An AprilTag is like a small QR code, and the AI Vision Sensor can provide data about those as well. You could use an AprilTag to guide the robot towards a certain location, for example.

The AI Vision Sensor is pre-trained to detect a set of objects, and it can detect those objects and provide specific information on them, such as the Buckyballs and rings you see here. So, say you have a situation where you need to be able to tell the difference between a blue Buckyball and a blue ring, the AI Vision Sensor would be fantastic for that. You can combine all of that data together for your robot to make complex decisions to carry out a wide variety of tasks.

All right, I hope I've gotten you really excited about the possibilities that the AI Vision Sensor will bring to your students when coding. To learn more about the sensor and how to use it, please watch the additional videos in this video series, and I will see you back here in the VEX Classroom really soon.

(mellow instrumental music)

Share

Like this video? Share it with others!

Additional Resources

Looking for more? Learn about Detecting a Color with the AI Vision Sensor in this video.

Additional Resources

Like this video? Discuss it in the VEX Professional Learning Community.