top of page
Advanced Level 1
Lesson 1
Programming
Robots don't think like people, so how do we communicate with them? Let's find out by learning about programming!
Step 1: Watch this video to learn about sensors!
Humans perceive the world through senses: touch, smell, sight, hearing, and taste. Robots understand their surroundings in a similar way, but instead of using eyes, ears, nose, mouth, or hands, they use sensors!
Bump Sensor:
also known as a touch sensor, senses physical touch to help a robot avoid obstacles
Ultrasonic Sensor:
also known as a distance sensor, measures distance by emitting ultrasonic waves and measuring the time it takes for the waves to be reflected back to the sensor
*if you need more help understanding ultrasonic sensors, click the icon to watch a video
Step 4: Maze Activity!
Now that you understand how the sensors work, follow the steps to move your robot through a maze using distance sensors:
-
Open "Playground" in the toolbar at the top of the page
-
In the dropdown at the top of the window, select "Wall Maze"
-
Use distance sensors and move blocks to move the robot through the maze to the red and black checkered finish line
-
Hover over the box below to check your code!
Maze Code Solution
bottom of page