Programming Part 2 Mod Kit IQ Robotics
Every team must build a robot that meets the following requirements – EXACTLY Drive Base – Two Motors Right motor connected to Port 1 Left motor connected to Port 2 One Touch LED mounted and visible on the top Connected to Port 3 One Distance sensor mounted on the front bumper Connected to Port 4 One bumper switch mounted on the back bumper Connected to Port 5 Brain and battery must be easily accessible Programming Quiz
Programming Quiz
Practice programming distance sensor, bumper switch and touch LED Programming Quiz
Programming Quiz Programming the touch LED Select the “blocks” icon at the top Select the touch LED, or whatever you named it along the ribbon Programming Quiz
Try coding this. Download and see if it works Programming Quiz
Programming Quiz Bumper Switch Again, make sure the bumper switch, or whatever you are calling it is selected on the ribbon Programming Quiz
Try coding this. Download and see if it works Programming Quiz
The bumper switch can change the LED if you program in the LED section Programming Quiz
Programming Quiz Now the distance sensor As usual make sure you are in the distance sensor part of the ribbon Programming Quiz
Enter this and try to run it, put your hand in front of the sensor to see results on the screen Programming Quiz
Use blocks on the drive train to complete the following Programming Quiz
You need to be comfortable that you can program each of these four components to your robot. Try these challenges before the quiz Start backwards, then switch to forward when the bumper switch is bumped Turn on the LED from a button on the controller Drive up to wall, turn right, drive up to next wall (forever) Programming Quiz
New groups Programming Quiz
How the quiz will work. Each student will select one quiz paper, each of the 15 possible papers are different. Each includes three tasks that must be completed, and two challenge tasks. Each student will program this on their own, without help from other students. Each student may refer back to their previous work, their notes or their notebook. Because all the robots are the same, students may program on any one of the robots. PLEASE use simple file names, easily identified as your file. Programming Quiz