In this example, please connect your claw bot’s wheel motors to port 1 and port 2 of the VEX-IQ robot brain.
Launch FLOWOL v4
Select VEX-IQ as an interface
Connect the brain to the computer via USB cable
Goto the interface menu and select the VEX-COMM port
Select your download program to be in slot 1
Select ‘check mark’ for ‘run after download’ – normally you should unchecked it, but for this example program check it.
Step 1 – set your ports
Click on port 1 and change it to motor 1, and do the same for port 2.
Step 2 – to create a test program
Drag and drop a ‘Start/Stop’ symbol from the left column to anywhere in the center programming area. Click on the symbol to designate it as ‘Start’.
Drag and drop a ‘Output’ symbol from the left column to below the start symbol in the center programming area. Click on the symbol to designate it ‘Start’.
Click on ‘fd’ for motor 1 and ‘fd’ for motor 2
Drag and drop a ‘Delay’ symbol from the left column to below the output symbol in the center programming area. Click on the symbol and set the value to 5.
Drag and drop a ‘Start/Stop’ symbol from the left column to anywhere in the center programming area. Click on the symbol to designate it as ‘Stop’.
Click on the arrow symbol from the left column and link all the boxes together to create a complete instruction set.
Your program should look like this:
Step 3 – Test your program on-screen (without the robot)
To test this program on-screen (with out the robot) – click on the red ‘play’ icon on the lower hand corner.
Make sure to save this program before downloading it to the robot.
Step 4 – Test your program live (with the robot)
To download this program to your VEX-IQ robot
Check to make sure the USB cable is connected and that you have selected the VEX-COMM port at the Interface Menu.
Click ‘click to download’
The file name will be displayed on the robot brian’s screen upon successful download.
Click to Connect – allows you to operate the IQ robot by simply clicking the various ports on the screen.
Warning – this test program will switch on motor 1 and 2 and will most likely spin your robot rather than going straight.
Q) What should you do next to correct the problem?