Skip to main content

Using a Sensor to Move Disks

Materials Required:
Quantity Materials Needed
1

V5 Robotic Arm

1

VEXcode V5 Factory

1

Engineering Notebook

1

Device to run VEXcode V5 Factory

1

Micro-USB cable

3

Colored Disks (1x red, 1x blue, 1x green)

In this section, you will begin to automate their V5 Robotic Arm 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 V5 Robotic Arm 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 V5 Robotic Arm 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 V5 Robotic Arm 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.