RoboGeeks

Introduction to Color Codes 07: Line Switch

Ozobot · Uploaded · 3:42 · Watch on YouTube

Ozobot shows how students use Line Switch Left, Straight, and Right Color Codes, plus U-turn codes, to guide the robot across disconnected lines. The lesson walks through an activity sheet in which the bot, cast as a frog, hops along lily pads to reach a fly.

Transcript

Captions as a .vtt fileEmbed with the transcript

  1. 0:08ozobot is great at following lines did you know it can also switch between lines that aren't
  2. 0:15connected let's learn how to program line switching by turning left going straight
  3. 0:22or turning right at a line end you will need an ozobot color code markers and the activity sheet
  4. 0:30ozobot is a frog and needs to hop from lily pad to lily pad to catch a fly on your activity sheet
  5. 0:40you'll see eight lines with numbers the numbers show the order ozobot must follow to get from start
  6. 0:48to the fly in the bottom left corner you'll find the color code key some codes will look familiar
  7. 0:57along with the new line switch codes pay close attention to the direction ozobot is traveling
  8. 1:04on each line to choose the correct line switch code let's begin find the start on line one
  9. 1:15if ozobot travels up this line what direction does it need to turn to reach line two that's right
  10. 1:22ozobot needs to turn right find the line switch right code in the key and add it to the line
  11. 1:29there are two missing color codes on line two because when ozobot reaches the next line
  12. 1:37it might turn left and go the wrong way to fix this we need to turn back around with a u-turn code
  13. 1:44at the top of line two then to move from line two to line three ozobot needs to go straight
  14. 1:53add a line switch straight code in the other empty space when ozobot moves to line three it might turn
  15. 2:02right and go the wrong way which means we need to add another u-turn code to the line end once ozobot
  16. 2:10is moving along line three it needs to go straight to reach line four add the line switch straight code
  17. 2:18on to line four you now know the missing color code on the line end is a u-turn once ozobot begins
  18. 2:27to travel up line four it will need to turn left to move to line five can you find the line switch
  19. 2:34left color code in the key and add it to the line now it's your turn use what you've learned to complete
  20. 2:43lines five six and seven on your own think about the direction ozobot is traveling and choose the
  21. 2:51correct line switch color codes to guide it to the next line when you're ready move on to line eight
  22. 2:59in order to get to the fly we need to add a u-turn at the other end once ozobot reaches the fly we can
  23. 3:07add a win exit color code to celebrate you are now ready to run your bot and complete the path
  24. 3:17put ozobot on start and watch as it moves from one line to the next to get to the fly great job
  25. 3:27programming ozobot to switch lines now you know how to program ozobot to move between lines that
  26. 3:34aren't connected great work building your coding skills
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Discussion

You pick a name in the next step. Already a member? Log in.

A mail when somebody comments. No account needed.

The newsletter

Get our free newsletter with new robots, prices and robotics news.