Configuring a Custom Robot in VEXcode GO

When building a custom robot with any of the following devices, each device will need to be configured to be available for use in VEXcode GO. These include:

  • Drivetrain - Drivetrain blocks
  • non-drivetrain Motor - Motion blocks
  • LED Bumper - Bumper Looks/Sensing blocks
  • Electromagnet - Magnet block
  • Eye Sensor - Eye Sensing blocks

You can configure a device by selecting ’Add a device’ in VEXcode GO. You only need to configure the devices which you are using on your custom robot. You can add up to four Smart Port devices and one Eye Sensor.

Smart Port devices:

Brain_with_ports.jpg

You can configure one build (set of devices) per project.

The following article will cover:

  • Adding a Device to the Configuration
  • Adding a Drivetrain - Drivetrain blocks
  • Adding a Motor - Motion blocks
  • Adding a LED Bumper - Bumper Looks/Sensing blocks
  • Adding an Electromagnet - Magnet block
  • Adding an Eye Sensor - Eye Sensing blocks
  • Deleting a Device

Adding a Device to the Configuration

To add a device for your custom robot, select the Robot Configuration icon to open the Devices window.

Screen_Shot_2020-10-28_at_5.13.19_PM.png

Note: These steps need to be followed each time you add a new device to your custom robot.

Select ‘Add a device.’

Screen_Shot_2020-10-28_at_5.13.57_PM.png

Select ‘CUSTOM ROBOT.’

2020-10-24_12-03-26.jpg


Adding a Drivetrain - Drivetrain blocks

If your custom robot has a two-motor drivetrain, like the Code Base robot, you will need to add a Drivetrain to the configuration.

codebase_writing.png

After selecting the ‘CUSTOM ROBOT’, select ‘DRIVETRAIN.’

2020-10-24_13-34-31A.jpg

Select the Smart Port the Left Motor is plugged into.

2020-10-24_13-43-46A.jpg

Note: you can determine the drive side by looking from the rear of your robot to the front. The standard Code Base build has the left motor in port 4 and the right motor in port 1.

codebase-back.png

Select the Smart Port the Right Motor is plugged into.

2020-10-24_13-53-09A.jpg

Select ‘DONE’ to complete the configuration or ‘CANCEL’ to return to the Devices menu.

2020-10-24_14-26-01.jpg

Note: there is an option to change the Gear Ratio of the Drivetrain.

Once the Drivetrain has been configured, the following Drivetrain blocks will be available for your project.

2020-10-24_14-39-46.jpg

For more information on the commands from the ‘Drivetrain’ category, view the Help information.


Adding a Motor - Motion blocks

If your custom robot has a motor which is a non-drivetrain motor, like the Robot Arm (1-Axis) build, you will need to add it to the configuration.

1-axis-arm.png

After selecting the ‘CUSTOM ROBOT’, select ‘MOTOR.’

2020-10-24_15-22-39A.jpg

Select the Smart Port the Motor is plugged into.

2020-10-25_16-02-23A.jpg

Select ‘DONE’ to complete the configuration or ‘CANCEL’ to return to the Devices menu.

2020-10-24_15-32-55A.jpg

Note: there is an option to change the name of the Motor in the text window from Motor2 to a different name, and an option to change the direction the Motor spins.

For example, if a motor lifts an arm on your custom robot, you can rename the motor to ArmMotor.

2020-10-28_9-18-23.jpg

Renaming the motor will make programming much easier because the name will show up on the Motion blocks.

2020-10-28_9-25-27.jpg

The actions of the motor can also be renamed to make your programming easier. For example, you could change the text window labels for the ArmMotor’s direction to up and down.

2020-10-28_11-04-04A.jpg

Changing these labels will also show up on the parameters for the Motion blocks.

2020-10-28_11-13-41.jpg

Once the Motor has been configured, the following Motion blocks will be available for your project.

Motion.png

For more information on the commands from the ‘Motion’ category, view the Help information.


Adding a LED Bumper - Bumper Looks/Sensing blocks

If your custom robot has a LED Bumper, you will need to add a LED Bumper device to the configuration.

led_bumper.png

After selecting the ‘CUSTOM ROBOT’, select ‘LED BUMPER.’

2020-10-24_13-34-31B.jpg

Select the Smart Port the LED Bumper is plugged into.

2020-10-25_15-28-57A.jpg

Select ‘DONE’ to complete the configuration or ‘CANCEL’ to return to the Devices menu.

2020-10-25_15-34-58A.jpg

Note: there is an option to change the name of the LED Bumper in the text window from LEDBumper3 to a different name.

Once the LED Bumper has been configured, the following ‘Bumper Looks’ and ‘Bumper Sensing’ blocks will be available for your project.

2020-10-25_15-41-29A.jpg

For more information on the commands from the ‘Bumper Looks’ and ‘Bumper Sensing’ categories, view the Help information.


Adding an Electromagnet - Magnet blocks

If your custom robot has an Electromagnet, you will need to add an Electromagnet device to the configuration.

electromagnet.png

After selecting the ‘CUSTOM ROBOT,’ select ‘ELECTROMAGNET.’

2020-10-25_11-01-55A.jpg

Select the Smart Port the Electromagnet is plugged into.

2020-10-25_15-57-52a.jpg

Select ‘DONE’ to complete the configuration or ‘CANCEL’ to return to the Devices menu.

2020-10-25_16-04-07A.jpg

Note: there is an option to change the name of the Electromagnet in the text window from Magnet2 to a different name.

Once the Electromagnet has been configured, the following Magnet block will be available for your project.

2020-10-25_16-13-01.jpg

For more information on the Magnet command, view the Help information.


Adding an Eye Sensor - Eye Sensing blocks

If your custom robot has an Eye Sensor, you will need to add an Eye Sensor device to the configuration. Note: The Eye Sensor must be plugged into the Eye Sensor port - NOT one of the 4 Smart ports.

code-base-eye-sensor.png

After selecting the ‘CUSTOM ROBOT,’ select ‘EYE.’

2020-10-24_13-34-31Y.jpg

Select ‘DONE’ to complete the configuration or ‘CANCEL’ to return to the Devices menu.

2020-10-25_16-37-08A.jpg

Note: Be sure the Eye Sensor is plugged into the Eye Port.

Once the Eye Sensor has been configured, the following Eye Sensing blocks will be available for your project.

Eye_sensing.png

For more information on the Eye Sensor commands, view the Help information.


Deleting a Device

After you have added the devices, a device can be deleted by selecting the device.

replace.jpg

Selecting the ‘Delete’ option at the bottom of the screen will delete the device.

2020-10-25_17-12-00.jpg