Students will begin the activity by drawing a "maze" or path that their OzoBot must navigate. The parameters for this maze are as follows:
· The maze must be drawn in pencil.
· Draw the maze so it is exactly 300 mm (30 cm) in length.
· The maze should have two turns--you can decide which way the robot turns.
· Each of the three segments of your maze must be a different length.
· Maximum length of any side is 120 mm (12 cm). Be sure to include the dimensions when you draw the maze.
Choose one of the following challenges and complete it. Challenge #4 is more difficult than Challenge #1. You will get a higher grade if you complete Challenge #4. The code should be written in OzoBlockly. Make sure you select the coding level in Blockly that will allow you to designate a specific speed for your robot (rather than just “fast” or “slow.”)
Challenge 1: Your Ozobot must travel at one constant speed throughout the maze. However, it must complete the maze in 10 seconds, so you will need to determine how fast to program the robot to move. The robot should have a pink light on top throughout the trip. Show the math explaining how you arrived at the correct speed.
Challenge 2: Your Ozobot must travel at three different constant speeds throughout the maze. Ozobot should also change color each time the speed changes. Once again, you must complete the maze in 10 seconds. Use math to figure out how fast you should program the robot to move during each interval.
Challenge 3: Your Ozobot must travel at two different constant speeds throughout the maze. Ozobot should also change color each time the speed changes. (Your choice) Once again, you must complete the maze in 10 seconds. Use math to figure out how fast you should program the robot to move during each interval.
Challenge 4: Your Ozobot must finish the first segment of the maze in 3 seconds. (You figure out how fast it needs to go!) During the second part of the maze, the Ozobot must travel at a speed of 45mm/sec. (You figure out how long it must travel at that speed before it must make its next turn!) During the last segment, Ozobot can travel as fast as necessary in order to complete the maze in exactly 10 seconds. Make your Ozobot change color after each segment of the maze.
Helpful hints:
You can make a right or left turn by programming your robot to rotate at 90◦ or -90◦.
When you make the turns, tell your robot to execute the turn at a speed of 100 mm/sec
If you make your robot move too slowly (under 20 mm/sec) the speed isn’t as accurate. Don’t program Ozobot to move slower than that.
Here's what you will turn in:
· Regardless of which Challenge you decide to complete, you must take a video of your Ozobot as it runs the maze. Be sure to display a timer in your video so we can ensure that Ozobot completed the task in the correct amount of time. You will submit your video in Canvas. Here’s an example so you can see what the video should look like https://youtu.be/uzdnx5Cs6ps
· You also need to include a diagram of your maze with the lengths of each side clearly shown.
· Make sure you show your work to explain how you figured out the time or speed for your Ozobot. Please be sure to include units and show all work. (Don't skip math steps!)
· Share a copy of your Blockly code with your teacher.