Running the Driver Control Program - IQ Brain (2nd gen)

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

The Drive program is a default program built into the VEX IQ Robot Brain so it can be used with Smart Motors, Bumper Switches, and the VEX IQ Controller without programming. The Drive program maps the Controller’s joysticks and buttons to control specific Smart Ports on the Brain.

Watch this video to learn about using the Driver Control program on the Brain.

Step 1: Check that the Smart Ports are properly wired.

Above is a view of the Brain's Smart Ports, with 6 on opposite sides for 12 total. Below is a view of the Brain's screen and buttons.Diagram of the IQ (1st gen) Controller showing its buttons and joysticks. Above is a view from the front of the controller, with the left joystick's axes are labeled as A and B. The left joystick's center button is labeled L3. The two round buttons below the left joystick are labeled as the E axis. The right joystick's axes are labeled as C and D. The right joystick's center button is labeled R3. The two round buttons below the right joystick are labeled as the F axis. Below is a view of the top of the controller to show the shoulder buttons. The two buttons on the left side of the controller are labeled as the L axis, and the two buttons on the right side of the controller are labeled as the R axis.

Smart Port Number Device Type Functionality
1 Smart Motor Turns using Joystick A
2 Bumper Switch Stops R Down button from turning Smart Motor in Port 4
3 Bumper Switch Stops R Up button from turning Smart Motor in Port 4
4 Smart Motor Turns using R buttons
5 Smart Motor Turns using F buttons
6 Smart Motor Turns using Joystick D
7 Smart Motor Turns using Joystick A
8 Bumper Switch Stops L Down button from turning Smart Motor in Port 10
9 Bumper Switch Stops L Up button from turning Smart Motor in Port 10
10 Smart Motor Turns using L buttons
11 Smart Motor Turns using E buttons
12 Smart Motor Turns using Joystick D
  • Check that Smart Ports 1-12 have the correct types of devices listed in the table above. Note that not ALL devices in all 12 ports have to be connected in order for this program to run. The above is an example list of which devices could be used in which ports. 
  • Check that the Controller is wirelessly connected.

NOTE: To review how to connect devices to Smart Ports properly, see this article

Step 2: Find and Run the Drive program

There is a program already built into the Brain that allows you to drive the BaseBot using the Controller without having to write any code. Follow the steps below to learn how to run the Driver Control program on the Brain.

Brain powered on, with the indicator light glowing green and the screen showing the Home menu with the Drive option selected. The Check button is highlighted.

Press the checkmark to select the highlighted Drive program.

Brain screen is shown in the Drive menu with the Run option selected. The Check button is highlighted.

Press the checkmark again to run the program.

Brain screen is shown in the Drive Run menu where sensor information is reported in real time as it is driven.

As the program is running, the Brain's screen will look like this image.

To stop the program, select the x button.

Controller Configurations

There are four different configurations of the Driver Control program on the Brain: Left Arcade, Right Arcade, Split Arcade, and Tank drive. Follow the steps below to learn what each of the four configurations are and how to select them on the Brain.

Brain screen is shown in the Home menu with the Drive option selected. The Check button is highlighted.

Press the checkmark to select the highlighted Drive program.

Brain screen is shown in the Drive menu with the Controls option selected. The Controls option is the fourth option in the Drive menu. The Left and Right buttons are highlighted.

Use the arrows to highlight the "Controls" option.

Brain screen is shown in the Drive menu with the Controls option selected. The Check button is highlighted.

Press the checkmark to select the highlighted Controls option.

From the Controls menu, toggle through the four different drive options by pressing the checkmark. This process is shown in this animation.

Each of the four driver control options allows you to control the BaseBot using the joysticks in different ways.

Configuration Description Joystick Controls
Brain screen is shown in the Controls Menu with the Left Arcade configuration.

Left Arcade

Drive the BaseBot forward, reverse, left, and right all using the left joystick.

Controller icon for left arcade, indicating that the left joystick is used.
Brain screen is shown in the Controls Menu with the Right Arcade configuration.

Right Arcade

Drive the BaseBot forward, reverse, left, and right all using the right joystick.

Controller icon for right arcade, indicating that the right joystick is used.
Brain screen is shown in the Controls Menu with the Split Arcade configuration.

Split Arcade

Drive the BaseBot left and right using the left joystick, and forward and reverse using the right joystick.

Controller icon for split arcade, indicating that the left and right joysticks are used.
Brain screen is shown in the Controls Menu with the Tank Drive configuration.

Tank Drive

Drive the left motor of the BaseBot using the left joystick, and the right motor of the BaseBot using the right joystick.

Controller icon for tank drive, indicating that the left and right joysticks are used.

Customizing Driver Control

Brain screen is shown in the Controls Menu with the Motor for the L axis selected. The screenshots show the Motor's direction being changed from Forward to Reverse.

To further customize the Driver Control program you can use the ‘Controls’ window to:

  • Change the direction of the motor movement for each set of buttons by reversing the direction from ‘Forward’ to ‘Reverse’, as shown in these images.

Brain screen is shown in the Controls Menu with the Motor for the F axis selected. A green Smart Port icon indicates that there is a Motor connected to port 5 that will be controlled by the F axis.

Change which buttons are used to control which motors:

  • Change which port the motor is physically plugged into on the Brain
  • Look at the ‘Controls’ window to check that your motor is connected the desired buttons
  • A connected port will show a green icon (as port 5 shows in the image to the right), while a disconnected port will show a white icon (as ports 4 and 11 show in this image).

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

Last Updated: