
Learn to build a Vex robotics test rig by wiring a motor with bumper, limit, and ultrasonic sensors to digital ports 3, 4, and 5.
Set up motors and sensors in robo C for vex robotics, configuring bump switch, limit switch, and sonar sensors, and a motor with an encoder, then generate the initial code.
program a vex motor on port 2 to run three seconds at power using ms waits, and learn to run two motors in tandem by reversing one for forward motion.
Use a bump switch and flow control with if-else statements to choose motor direction in a Vex robotics loop, spinning forward when the bump sensor is on and backward otherwise.
Upgrade an if-else motor control by implementing a forever loop using a while true condition to continuously check the button, running forward while pressed and reversing when released.
Practice motor control in VEX robotics by using a motor command to set port and speed as a percentage, enabling forward and backward motion in a forever loop (no encoder).
Push the bumper button to accelerate the motor by increasing a speed variable from zero, using speed = speed + 1, and applying it to motor 1.
Duplicate the bumper switch logic to integrate a limit switch for input control. The adjustment changes motor speed by plus two or minus two to enable acceleration, deceleration, and stopping.
Learn to read the ultrasonic sonar sensor in centimeters, use an if statement to trigger motor action under 20 cm, and test with the debugger to observe sensor values.
Use ultrasonic sensor readings to control a motor with if statements, starting at speed 40 and stopping when distance exceeds 20, with a 0-100 range and slow-down near walls.
Explore how a two-wheeled platform and arm are controlled by motors to move straight, turn by degrees, lift, and operate a grabbing element, while introducing time-based commands.
Create and save a motor setup for Robot C, then configure four motors with motor and sensors tool, assign ports 1, 10, 6, 7, select VEX 393, and set reversal.
Move the robot forward by number of centimeters using a C function that sets motor power and run time in milliseconds with an int cm input to achieve exact distance.
Turn the robot by exact degrees using a new turn function, save the forward program, test 90-degree left turns, and ensure the degrees input is used inside the function.
Develop a turn right function, balance motor power for symmetric turns, and test two 45-degree moves; add breaks to reduce gliding and note motor differences before the arm lift lesson.
Learn to move the robot arm up and down with the arm motor, test both directions, and tune arm movement up to 50 degrees while considering gravity and a delay.
Design and test a motor-driven grabbing claw with an open boolean input to open or close, control degrees and power, lift a bottle, and stop all motors.
Navigate a 65 by 65 cm box-to-box course through gates, submit an initial algorithm with annotated code and dimensions report, and record times for iterative improvement.
Master turning and path optimization as the robot navigates around a bottle to finish in a box, with notebook measurements, code visuals, and reflective improvement ideas.
Configure the motors and sensors for the VEX robotics setup, including left and right motors, claw and arm motors, line trackers, a potentiometer, touch sensor, and ultrasonic sensors.
measure distance with an ultrasonic sensor, stop at a set distance, and control motors with a while loop and if/else inside a forever loop.
Use distance feedback to control the robot's approach to a box, accelerating from afar and braking as it nears, via a loop using the distance sensor to set motor speed.
Learn to use a touch sensor to toggle a distance-finding program on a VEX robot, implementing an on/off boolean, a forever loop, and motor control to start and stop.
Learn a zig zag line-following method using a line tracker, a threshold, and motor control to steer left when on the line and right when off, in a forever loop.
Build a zig zag line-following function for vex robotics by tuning threshold, power, and ratio to drive both motors smoothly in a forever loop.
Learn to build a proportional line follower that turns based on sensor error, using a threshold and a proportional constant to smoothly track the line and adjust motor powers.
Conduct a line following assessment on a tape course five centimeters thick over five to six metres with varied bends, using a line follower and reporting time improvements.
Code robot obstacle avoidance to reach the finish line from 80 cm, using while loops, if-then, or functions, and compare diverse, well-documented solutions across shapes and walls.
Guide a vex robotics robot to approach a can. Use a proportional line follower, grab with the claw, lift the arm, and deposit it in a bin with ultrasonic sensing.
Learn to drive along a line to a can, close the claw, lift the arm, and deposit the can in the bin, using a start button function and touch/ultrasonic sensors.
Learn to invert line-following for reverse motion, fine-tune motor power and thresholds, and program the robot to grab a can, carry it to a bin, and drive back.
Learn to program a VEX robot to scan its environment with an ultrasonic sensor, detect objects, spin the two-motor chassis, and use the claw to pick up targets.
Solve the final assessment by integrating the scan for object and pick up algorithm with line-following. After pickup, locate and follow the line to the box, drop off the object.
Why Vex Robotics?
VEX Robotics is the ultimate robotics platform: powerful micro-controller (ARM® Cortex®) together with high power high torque motors, precise sensors and a metal frame. Best of all it is programmed in a very user friendly interface (CodeBlocks) using Robot C which is essentially the C programming language with a host of new robotics related functions.
What is special about this course?
In the first module students complete several quite advanced examples of INPUT / OUTPUT programming whereby they control the speed and the direction of a motor by bringing their hand closer to and further from a distance sensor. This task is broken down into the simplest possible steps; in each step students add two to three lines of code, experiment with changing variables and observing the output of the robot. This ensures that they understand not only what each line of code does, but how it does it and what will happen when it changes.
In the second module students create functions that move the robot forward and backward a precise number of degrees. They also learn to control the robot arm, performing both grabbing and lifting. The module contains key concepts like booleans, while loops and various varieties of functions.
In the third module student learn how to follow lines both using a basic Zig Zag algorithm and a much more advanced proportional algorithm which uses a sensor feedback loop. They also use fedback to create a program which gets the robot to keep constant distance between itself and the nearest object.
In the fourth module students apply everything they learned into two advanced tasks, the first of which is to follow a line and pick up cans along the way taking them to the bin at the end of the line. The second is an environment scanner which looks for rubbish (cans) , picks them up and drops them off at the bin.