MBOT TASKS
Task 1.
Connect MBot and get colored lights to change
Task 2.
Program the MBot to move before it hits the wall
Task 3.
Program the Mbot to complete an 360 every time it senses a black line
Task 4.
Competition
Connect MBot and get colored lights to change
Task 2.
Program the MBot to move before it hits the wall
Task 3.
Program the Mbot to complete an 360 every time it senses a black line
Task 4.
Competition
Task One - Program the Mbot flashing lights
|
3.) Delete any non-mBot bots and add an mBot, then connect.
4.) If it worked the Mbot light under the "robots" tab will turn green 5.) Insert This code and click the flag.. The light on your robot should turn red |
Put this code together to make it flash between red and blue
|
Task Two - Ultra Sonic Sensor
Task Three - 360 No Scope
|
Your Task: Get the robot to sense a black line, then complete a 360 and move onto the next thing.
1.) Get the panda to display this: 2.) Test what happens when the line sensor goes over a black line. It should display a number.
3.) Program the robot to do a 360 when it touches a black line, use the code from the previous exercise. |
Task Four - The Competition
The competition is to race around the classroom
Your robot gets 20 seconds of autonomous racing
and then it is free control
Your robot gets 20 seconds of autonomous racing
and then it is free control