Day 3: Using Our Senses
Today's goal is to learn about sensors and basic event handling. We will gain experience using conditionals and loops in our code as we examine different ways for solving mazes with our robots and the touch and ultrasonic sensors.
- Unplugged activity: Blindfolded maze runners
- Lesson: Sensors (touch and ultrasonic) and mazes
- Lab: Building a 3-turn maze solver
Resources
Lab
For today's lab activity, we will learn how to solve mazes using the ultrasonic sensor on the EV3. We will build robots that are capable of solving any maze consisting of three 90 degree turns. Successful programs will use several while loops and conditional statements!