Configuring a 2-Motor Drivetrain in VEXcode IQ (1st gen)

Using VEX IQ (2nd generation)? See this article.

When starting to program with VEXcode IQ, blocks from the Drivetrain category will not appear in the Toolbox until a Drivetrain has been configured.

You can only configure one Drivetrain per project. 

If you are configuring a Drivetrain without a Gyro Sensor, see this article


Adding a Drivetrain

Icon representing the selection of devices in the VEX IQ Robotics platform, used in the context of configuring robots within the knowledge base for educational resources and tutorials.

To configure a Drivetrain, select the Devices button to open the Devices window.

Screenshot of the VEXcode IQ interface displaying the Robot Config section, showcasing options for configuring VEX IQ robotics components and programming settings for educational robotics projects.

Select the generation that you are working with.

Screenshot of VEXcode IQ software interface showing robot configuration options, including settings for motors, sensors, and programming blocks, designed for educational use in VEX IQ robotics projects.

Select “Add a device.”

Diagram showing the configuration of a VEX IQ robot with two motors, illustrating the motor placement and connections for optimal performance in educational robotics projects.

Select 'Drivetrain 2-Motor.'

Diagram illustrating the configuration of drivetrain motors 1 and 6, along with gyro 4, for VEX IQ robotics platform, highlighting key components and connections for educational robotics projects.

Select which ports the Left Motor, Right Motor, and the Gyro Sensor are attached to on the VEX IQ Brain. Ports that are already configured for other devices will be unavailable.

Screenshot of VEXcode IQ interface displaying robot configuration settings, including options for motor and sensor setup, designed for VEX IQ Robotics platform users to facilitate programming and building educational robots.

Once the Drivetrain has been configured, select “Done” to complete the configuration or “Cancel” to return back to the Devices menu.

Note: Selecting “Cancel” will undo any changes you have made to the device and will not be a part of the configuration.


Changing a Drivetrain’s Port Numbers

 

Diagram showing the selection of plugs for a two-wheel robot with a gyro sensor in the VEX IQ Robotics platform, illustrating components and configurations for educational robotics projects.

You can change the port number for the Left Motor, Right Motor, or Gyro in the Drivetrain by selecting the device’s plug icon in the top right corner of the Options screen.

Diagram showing the configuration for connecting motors to ports on a VEX IQ robot, illustrating the layout and connections for optimal performance in robotics projects and programming.

Select a different port on the Port Selection screen and the port number will turn green.

Then, select Done to submit the change.


Changing a Drivetrain’s Wheel Size

Diagram illustrating how to change wheel size on a VEX IQ robot, featuring labeled components and step-by-step instructions to assist users in configuring their robot for optimal performance.

You can change the wheel size for the Drivetrain by selecting the dropdown menu under “Wheel Size.”


Changing a Drivetrain’s Gear Ratio

Screenshot of VEXcode IQ interface showing the Robot Config section, highlighting options for configuring VEX IQ robotics components and programming settings for educational robotics projects.

You can change the gear ratio for the Drivetrain by entering values in the “Input” and “Output” boxes.


Reversing a Drivetrain

Screenshot of VEXcode IQ interface displaying the Robot Config section, showcasing options for configuring and programming VEX IQ robotics components for educational and beginner robotics projects.

The Options screen also allows the direction of the Drivetrain to be reversed.


Deleting a Drivetrain

Screenshot of the VEXcode IQ interface showing the Robot Config section, featuring options for configuring VEX IQ robot components and programming settings for educational robotics projects.

A Drivetrain can be deleted by selecting the “Delete” option at the bottom of the screen.

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

Last Updated: