Configuring a 4-Motor Drivetrain in VEXcode IQ (2nd gen)

Using VEX IQ (1st generation)? See this article.

When starting to program with VEXcode IQ (2nd gen), 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. 


Adding a Drivetrain

select_the_devices_window_icon.png

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

select_2nd_gen.png

Select the generation that you are working with.

select_add_a_device.png

Select “Add a device.”

select_drivetrain_4_motor.png

Select 'Drivetrain 4-Motor.'

Note: To configure a 2-Motor Drivetrain, see this article.

Screen_Shot_2021-09-23_at_3.49.56_PM.png

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

Screen_Shot_2021-09-23_at_3.46.13_PM.png

The IQ (2nd gen) Brain has a built in gyro that is referred to as the "Brain Inertial" to distinguish it from the external Gyro that is added when configuring for an IQ (1st gen) Brain. To configure this gyro, select 'Brain Inertial'. 

Note: the 'Brain Inertial' gyro built into the (2nd gen) Brain turns clockwise- while the (1st gen) gyro turns counter-clockwise. 

Screen_Shot_2021-09-23_at_2.52.05_PM.png

You will notice that the Brain Inertial icon appears in the upper right corner of the Devices window. Once the Drivetrain has been configured, select “Done” to submit the device to 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

Screen_Shot_2021-09-23_at_4.37.19_PM.png

You can change the port numbers for the Left Motors and Right Motors in the Drivetrain by selecting a plug icon in the top right corner of the Options screen.

Screen_Shot_2021-09-23_at_4.57.01_PM.png

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

Screen_Shot_2021-09-23_at_4.58.24_PM.png

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


Changing a Drivetrain’s Gear Ratio

Screen_Shot_2021-09-23_at_4.59.44_PM.png

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


Reversing a Drivetrain

Screen_Shot_2021-09-23_at_5.00.46_PM.png

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


Deleting a Drivetrain

Screen_Shot_2021-09-23_at_5.02.29_PM.png

A Drivetrain can also 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: