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

Home > IHS "Logic Loops"

IHS "Logic Loops"

Submitted by Brett Schormann on 13 February, 2013 - 13:34
Overview: 
The goal of this lesson is to explore using logic to control loops in the Lego MINDSTORMS NXT-G program. Students will work through the "Logic Loops" video lesson on the "Advanced" page of the "NXT Video Trainer 2.0" product from Carnegie Mellon University's Robotics Academy.
Objectives: 

Students will be able to:

1. Describe the advantage of using logic to control loops

2. Explain how a logic-controlledn Loop Block can be used to implement a more sophisticated wait-for function

3. Explain the operation of the "Compare" function in a Sensor Block's data hub

4. Explain the role of each parameter in a Logic Block

5. Write an NXT-G program for a robot which uses a logic-controlled Loop Block to implement a wait-for-mutiple sensors function

6. Write an NXT-G program for a robot which uses a logic-controlled Loop Block based on stored sensor readings from a Variable Block

Instruction Guide: 
Logic Loops [1]
Primary Instructional Material: 
Logic Loops [2]
Education Level: 
Middle School [3]
High School [4]
Scope & Sequence: 
Robotics [5]
Focus Subject: 
Computing / Computer Science [6]
Robotics Software [7]
HW Platform: 
NXT [8]
SW Platform: 
NXT-G [9]
Interactivity Style: 
Mixed [10]
Clone Of: 
"Logic Loops" [11]



National Science Foundation

Source URL: https://stemrobotics.cs.pdx.edu/node/2248

Links
[1] https://stemrobotics.cs.pdx.edu/node/976
[2] https://stemrobotics.cs.pdx.edu/node/776
[3] https://stemrobotics.cs.pdx.edu/taxonomy/term/40
[4] https://stemrobotics.cs.pdx.edu/taxonomy/term/41
[5] https://stemrobotics.cs.pdx.edu/taxonomy/term/141
[6] https://stemrobotics.cs.pdx.edu/focus-area/computing-science
[7] https://stemrobotics.cs.pdx.edu/focus-area/robotics-software
[8] https://stemrobotics.cs.pdx.edu/target-hardwareplatform/nxt
[9] https://stemrobotics.cs.pdx.edu/target-software-platform/nxt-g
[10] https://stemrobotics.cs.pdx.edu/taxonomy/term/26
[11] https://stemrobotics.cs.pdx.edu/node/775