Vex Robot Wiring Guide

Untitled

Plugging In and Controlling Motors

The VEX Clawbot has four motors which power the two sides of the drivetrain, claw motor and arm motor. How does the VEXnet Joystick send commands to these specific motors? Earlier in this unit, the VEXnet wireless link was discussed, which allows users to send commands to microcontroller. There was also discussion of the preloaded default code, loaded onto the microcontroller, which allows users to quickly get their robots running. This default code is programmed to map the controls on the VEXnet Joystick, directly to the motor ports on the Cortex Microcontroller. When the following motors are plugged into the following ports, the default code allows for the following controls.

1

 

Plug the left drive motor directly into motor port 1 on the Cortex Microcontroller. Make sure the red wire is on the left side.

  • Plug the right drive motor directly into motor port 10 on the Cortex Microcontroller. Make sure the red wire is on the left side.
  • Plug the claw motor into a motor controller 29, making sure that the colors of the wires match up. Plug the other end of the motor controller 29 into the Cortex Microcontroller. This is a keyed connection, so there is only one way to plug this wire in.
  • Plug the arm motor into a motor controller 29, making sure that the colors of the wires match up. Plug the other end of the motor controller 29 into the Cortex Microcontroller. This is a keyed connection, so there is only one way to plug this wire in.
  • For more details on wiring the VEX Clawbot see page 16 of the Clawbot Assembly Instructions.

Installing Batteries and VEXnet Keys

  • Plug a 7.2v VEX battery into the 7.2v battery port on the front of the Cortex Microcontroller, next to the on/off switch. This is a keyed connection, so there is only one way to plug this wire in.
  • Plug a VEXnet key to the Cortex Microcontroller into the USB slot on the top of the Cortex Microcontroller.
  • Using a Phillips head screw driver or VEX 3/32 Allen Wrench (depending on which version of the Joystick is used), remove the screws that attach the battery cover to the VEXnet Joystick. Remove the battery cover.
  • Install six (6) identical AAA batteries into the VEXnet Joystick. DO NOT mix different types of batteries.
  • Reinstall the battery cover by inserting the two tabs of the battery cover along the back edge to aid in installation, and then reattach the screws that were removed earlier.
  • Plug a VEXnet key to the VEXnet Joystick into the USB slot above the battery cover.