Lesson 7 - EdPy
|
Watch Bill Gates, founder of Microsoft, explain if/else statements and decision making in programming.
|
7.1 Infrared obstacle detection
In this activity, you will learn more about infrared (IR) light and how Edison can use IR to detect obstacles.
In this activity, you will learn more about infrared (IR) light and how Edison can use IR to detect obstacles.
lesson_7.1_edison_forms.pdf | |
File Size: | 142 kb |
File Type: |
7.2 Detect an obstacle and stop
In this activity, you will need to write a program to make your Edison robot drive until it encounters an obstacle and then stop.
In this activity, you will need to write a program to make your Edison robot drive until it encounters an obstacle and then stop.
lesson_7.2_edison_forms.pdf | |
File Size: | 155 kb |
File Type: |
7.3 Obstacle avoidance
In this activity, you will write a program to make your Edison robot drive until it encounters an obstacle, turn and drive away.
In this activity, you will write a program to make your Edison robot drive until it encounters an obstacle, turn and drive away.
lesson_7.3_edison_forms.pdf | |
File Size: | 192 kb |
File Type: |
7.4 Detect an obstacle a an event
In this activity, you will write an event driven program to make your Edison robot continuously drive forward while avoiding obstacles.
In this activity, you will write an event driven program to make your Edison robot continuously drive forward while avoiding obstacles.
lesson_7.4_edison_forms.pdf | |
File Size: | 254 kb |
File Type: |
7.5 Right and left obstacle detection
In this activity, you will write a program for Edison to react to obstacles on the left or right of the robot. To do this, we will use 'if statements'.
In this activity, you will write a program for Edison to react to obstacles on the left or right of the robot. To do this, we will use 'if statements'.
lesson_7.5_edison_forms.pdf | |
File Size: | 288 kb |
File Type: |