Published on STEMRobotics (https://stemrobotics.cs.pdx.edu)

Home > EV3 - SwitchLoops

EV3 - SwitchLoops

Submitted by deborah steele on 13 May, 2014 - 09:08

In this lesson students will continue to explore the technique of embedding a Switch block inside of a controlled loop in order to accomplish continuous obstacle detection. They will also tackle the EV3 Trainer's culminating challenge: Search and Rescue

 In this Lesson we have 2 Primary Instruction Resources:

  1. The EV3 Trainer lesson on SwitchLoops
  2. The EV3 Trainer Final Challenge: Search and Rescue

Resource 1:

The EV3 Trainer has a lesson describing SwitchLoops

Behaviors  > Decisions > 9. Switch-Loops

The EV3 Trainer Teacher's Guide [1] references this on pages 77-82.

Students should be able to answer all the review questions at the end of each step and end up with a solid command of the SwitchLoop concept and how this technique enables near simultaneous checking of two sensors, allowing for behaviors such as Obstacle Detection over a known distance.

The EV3 Trainer Teacher’s Guide has additional reproducibles for those who have purchased the product. The reproducibles for Switch-Loops can be found on pages 109-112.

As students progress through, have them document their milestones in the SwitchLoops Task Assignment Sheet [2]. [3]

The challenge for this lesson is the Obstacle Orchard Challenge [4].  During sign off, check that student grasp this key concept:

  • The SwitchLoop allows near simultaneous checking of two sensors by:
    • Allowing only "fast" blocks inside the switch (no Move_Rotations, or time delays)
    • Controlling the Loop with a second sensor

Resource 2:

The EV3 Trainer Final Challenge: Search and Rescue

Final Challenge  > Search and Rescue Challenge

Have students sign off this culminating challenge [5] in the SwitchLoops Task Assignment Sheet [2]. [3]

 




National Science Foundation

Source URL: https://stemrobotics.cs.pdx.edu/node/3103?root=10308

Links
[1] http://www.education.rec.ri.cmu.edu/content/lego/ev3/files/EV3%20teachers%20guideWEB.pdf
[2] https://stemrobotics.cs.pdx.edu/node/3104
[3] http://stemrobotics.cs.pdx.edu/node/3073
[4] https://stemrobotics.cs.pdx.edu/node/3106
[5] https://stemrobotics.cs.pdx.edu/node/3117