Using the 'Arm Install' example project with the V5 Workcell

The ‘Arm Install’ example project in VEXcode V5 is used to display the potentiometer values on the V5 Brain, set the motors to ‘COAST,' 'HOLD,’ or 'TARGET' to move the motors so that their associated potentiometers are within the targeted value range. This project is used during the building of the Workcell in V5 Workcell STEM Lab 1.

Diagram illustrating the installation process of the V5 Workcell arm, showing key components and assembly steps for setting up the workcell in a Career and Technical Education context.

This article will cover each of the options on the V5 Brain’s screen and why you would need to use that function of the project.

For details on how to open and use an example project in VEXcode V5, see this VEX Library article.


Joint Values

When you run the ‘Arm Install’ project, the V5 Brain displays the potentiometer values of the four joints on the Workcell.

Screenshot of the V5 Workcell setup process showing an error message indicating installation failure, relevant to Career and Technical Education.

Each joint has a predetermined range of potentiometer values. The V5 Brain will indicate if those values are within the predetermined range (PASS) or not within the acceptable range of values (FAIL).

Using potentiometers on the V5 Workcell ensures that it was built and assembled properly. The potentiometers are required to be installed at a certain position and at a certain rotation so the Workcell knows its 'home location' and functions as intended. For more information about potentiometers and how they function, see this VEX Library article.


‘TARGET’

The ‘TARGET’ option will move the motors connected to the potentiometers at each joint on the Workcell to their target location. The targeted location is the approximate center of the accepted potentiometer range.

Potentiometer ranges:

  • Joint 1: 1600 - 2000
  • Joint 2: 1900 - 2400
  • Joint 3: 1700 - 2100
  • Joint 4: 200 - 650

Screenshot of an error message indicating installation failure for the V5 Workcell setup in a Career and Technical Education context.

When the target option is first selected, the motors at each joint not within the target range will begin moving. While the motors are moving, a ‘Y’ or ‘N’ will appear next to each potentiometer value. This indicates if the target has been reached (‘Y’ for yes) or not (‘N’ for no).

Diagram showing the installation process of the V5 Workcell target, illustrating key components and steps involved in setting it up for Career and Technical Education applications.

Because the target is at the approximate center of the range, you may see the potentiometer value as passing (‘PASS’), but the target is not being reached (‘N’).

Diagram illustrating the installation process for the V5 Workcell, showing components and connections for setting up in a Career and Technical Education context.

Once the potentiometer values are within range and within the target values for that joint, the line of text on the V5 Brain associated with the joint will show ‘PASS Y’ in green.

Note that this process may take up to two minutes to complete. The Workcell is moving in slow increments to ensure the potentiometer associated with that joint is within the targeted range.


‘HOLD’

Diagram illustrating the installation process for the V5 Workcell, highlighting key components and steps for successful setup in a Career and Technical Education context.

The ‘HOLD’ option holds the four motors on the Workcell in place.

This can be useful while installing the arm onto the base of the Workcell. Movement of the gears and shafts connected to the motors could knock the potentiometers out of their accepted range. Holding the motors steady can help to keep those values in the passing range.

Note that the motors on the Workcell may still shift, even in the ‘HOLD’ position, if enough pressure is applied. This could damage the motor and move the potentiometer into the failing position. Ensure care when attaching the arm onto the base of the Workcell.


‘COAST’

Diagram illustrating the installation process for the V5 Workcell in CTE, showing all necessary components and connections for setup.

The ‘COAST’ option allows the motors to freely move. This can be useful while adding the mastering jig into the build so the joints can easily move into position.

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

Last Updated: