Using a Sensor to Move Disks
| Quantity | Materials Needed |
|---|---|
| 1 |
VEX V5 Workcell |
| 1 | |
| 1 |
Engineering Notebook |
| 1 |
Device to run VEXcode V5 |
| 1 |
Micro-USB cable |
| 3 |
Colored Disks (1x red, 1x blue, 1x green) |
In this section, you will begin to automate their VEX V5 Workcell by using the Optical Sensor. They will find the coordinates of where to hold a disk over the Optical Sensor in order to add a location point. This location point is used so that the arm mounted on the V5 Workcell stops over the Optical Sensor to detect the color of the disk.
Rather than using the colored boxes on the V5 Brain’s screen, the color detected by the Optical Sensor will trigger the arm mounted on the V5 Workcell to move and drop off disks to the matching colored drop off location. You will explore how to use an [If then] block to determine how the arm mounted on the V5 Workcell should move when each color is detected.
You will complete the activity by successfully moving all three colored disks (red, green, and blue) to their accompanying drop off location using the Optical Sensor.
You will begin by locating coordinates.