Lesson: 20L ESR Getting Loopy

Printer-friendly version
Overview: 
In this lesson, students learn how the Loop Block can be used to repeat a section of code, either forever, or for a set number of times. NOTE: the programming screen shots in these videos are from the full PC version of the LEGO programming software, not the App versions (Chromebook) so students will need to infer how to accomplish the same code on their device.
Objectives: 

1) The videos in this lesson use the PC version of the EV3 programming software.  The video below explains the difference between what you will see in these videos and how to do the same steps with Riley and your Chromebook EV3 Programming software:

2) Watch this video to learn how to the Loop Block works and have Riley repeat these movements over and over... 

3) Start the video again and pause it so you can create the same program for Riley, but using the Chromebook EV3 Programming software instead.

4) Watch this video to learn how to exit a Loop Block after a set number of times (or count) around the loop:

5) Start the video again and pause it so you can create the same program for Riley, but using the Chromebook EV3 Programming software instead.

6) Can you program Riley to exit the Loop Block when a Touch Sensor is pressed, or Color Sensor "sees" a certain color?

7) Answer these questions:

What does the Loop Block do?
How do you exit a Loop?

Differentiated Instruction Material: Supplemental: 
Scope & Sequence: 
HW Platform: 
SW Platform: 
Interactivity Style: