Challenge: Maze 2.0
Building and Programming
Building and Programming
To create a device which will avoid all obstacles
ALL students will: Create a device which avoids some obstacles
MOST students will: Create a device which avoids most obstacles
SOME students may: Create a device which avoids all obstacles, regardless of the angles
Ultrasonic sensor: The ultrasonic sensor measures distance to an object up to a maximum of 255cm (or 100 inches) away. It does this by sending out high frequency sound waves that bounce off any object in range, and measuring how long it takes the sound to return to the sensor.
Loops: Repeat the code until a certain condition is met
Functions: Using pre-set code, which you can call upon whenever you need it. No need to repeat!
You are going to create a device which will avoid all obstacles placed infront of it. Read below for the project requirements
Build a device that can navigate the maze! Make sure you do the following:
Some of the walls are narrow, don't make your device too wide.
Ensure the device can turn properly - use 2 wheels and a marble if you can
You need a spinning antenna (just for a bit of fun), use a medium motor.
To be exemplary, you must use an ultrasonic sensor
You can ignore the narrow orange and black zones. Do not ignore the square ones!
To be exemplary, you must visit the 4 different parts of the maze
For maze 1, you must smoothly go round the bend. For maze 2, you must navigate through the cones - no touching!
You must make a sound when the robot enters the sound area
The antenna must be spinning the whole time the robot is moving
Your robot must not go off the maze
To be exemplary, you must use a function for turning left 90 degrees and turning right 90 degrees. These must be called in your program multiple times
You must program your ultrasonic sensor to work at some point
Make sure your MS Rover Robotics Online Portfolio is clearly labelled and every image is a suitable size.