Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.

Slides:



Advertisements
Similar presentations
What Is an Electric Motor? How Does a Rotation Sensor Work?
Advertisements

How Does an Ultrasonic Sensor Work?
How Do You Make a Program Wait?. 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go.
How Does a Sound Sensor Work?
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Robot Soccer Challenge
Remote Control Using Bluetooth. 1. Give two examples of electrical connections. 2. What is the difference between wired and wireless connections? 3. What.
Computational Neurobiology Center, College of Engineering, University of Missouri, Columbia MO DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
How Does a Light Sensor Work?. 1. How do humans sense light? 2. Provide an example “stimulus-sensor- coordinator-effector-response” framework using the.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Line-Follower Challenge. 1. How does a light sensor work? Does the light sensor detect white or black as a higher amount of light reflectivity? Absorbance?
Don’t Bump into Me!. 1. How do bats sense distance? 2. Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Navigating a Maze. Navigating a Maze Pre-Quiz 2 1. What is the difference between a program and an algorithm? 2. About how many inches does an NXT move.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Master Driver. Master Driver Activity Your Engineering Challenge Make your robot move in a straight line from the start position, and make it stop accurately,
Programming a light sensor to follow a black line.
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
That’s Hot! Robot Brain Programming
Somerset Berkley Regional High School Robotics Engineering with LabView.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Use the book to build and mount the light sensor on your robot. This will allow the robot to remain inside the blue square (fight ring) on the tile floor.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
How Do You Make a Program Wait?
How to design, build, and program a LEGO robot!
Remote Control Using Bluetooth
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Line-Follower Challenge
Don’t Bump into Me! Presentation > TeachEngineering.org
What Is an Electric Motor? How Does a Rotation Sensor Work?
Understanding Communication with a Robot? Activity (60 minutes)
What Is a Program? What Is a Program? lesson > TeachEngineering.org
How Does a Color Sensor Work?
Image 1, Ref - see slide What is a Robot?
Robot Soccer Challenge
Programming Part 2 Mod Kit
How Does an Ultrasonic Sensor Work?
Navigating a Maze.
How Does a Touch Sensor Work?
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Sensors Training.
Robot Programming Computer Literacy S2.
Sensors and Logic Switches
INTERMEDIATE PROGRAMMING LESSON
Controlling your quadcopter
What is a Robot?.
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Storing Values as Variables
Navigating a Maze.
SENSORS.
Maze Challenge Maze Challenge activity > TeachEngineering.org
INTERMEDIATE PROGRAMMING LESSON
That’s Hot! Robot Brain Programming
Coding the EV3 using make code
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
LEGO Education - Mindstorms EV3 - Computer/control center – The Brick
Hare and Snail Challenges
Getting started with LEGO EV3 Mindstorms software
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri

Follow the Light Pre-Quiz Provide a “stimulus-sensor-coordinator- effector-response” framework using human eyes as the color sensor. Provide the logic for a program for a LEGO robot that enables it to follow a flashlight. Follow the Light Presentation > TeachEngineering.org

Follow the Light Pre-Quiz Answers Provide a “stimulus-sensor-coordinator-effector-response” framework using human eyes as the color sensor. Humans have two eyes that collect light that falls on objects in front of them, and helps them “see” the objects. Stimulus-to-response framework: sight of a scary object such as a wasp > two eyes > human brain > signal to leg muscles > run to safety Provide the logic for a program for a LEGO robot that enables it to follow a flashlight. Use two color sensors attached to the front of the taskbot. Turn the taskbot towards the sensor (of the two) that reads the higher intensity of light.

Human-Robot Similarities Your brain commands your hand to perform a task, depending on what it has seen. Similarly, the EV3 brick can command its motor to move the taskbot, as we will now do in an activity. Center for Computational Neurobiology, University of Missouri

Follow the Torch Light Activity Objective – Your Engineering Challenge Build a LEGO taskbot with a color sensor, and program it to make the robot follow a flashlight as the light beam is moved around by a person. Expect the activity to take 50 minutes.

Engineering Design Process What is the engineering design process? A series of steps used by engineering teams to guide them as they develop new solutions, products or systems. Steps Define the problem Identify criteria and constraints Brainstorm possible solutions Generate ideas Explore possibilities Select an approach Build a prototype to test Refine the design A constraint is a limitation or restriction. For engineers, constraints are the limitations and requirements that must be considered when designing a workable solution to a problem.  The process is cyclical — it is usually necessary to test and modify many times to improve your design and get it right!

Follow the Torch Light Activity Let’s get started: Divide the class into groups of three students each. Distribute the LEGO taskbots and the parts necessary to attach the color sensors to them. Have each group attach a color sensor to its taskbot following the instructions in the LEGO base set. Discuss as a group the logic of the program. Write down your programming design. Create, test and debug your program.

Answers: Follow the Torch Light Activity Click the “loop” icon and drag and drop the loop command onto the sequence beam. Verify the loop control is set to forever in the control panel. Click the “switch” icon and drag the switch inside of the loop command. Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 3. Click the “switch” icon and drag the switch inside of the top of the previous switch. Verify the following setting in the control panel. Control: sensor Sensor: Color sensor Display: Flat view Checked Port: 2 Compare: Light > 70 Function: Generate light checked Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 4. Click the “move” icon and drag and drop the move block in the top of the new switch. Verify the following settings in the control panel. Port: B and C Direction: Forward Steering: In the middle Power: 75 Duration: Unlimited Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 5. Click the “move” icon and drag and drop the move block in the bottom of the new switch. Verify the following settings in the control panel. Port: B Direction: Forward Power: 75 Duration: Unlimited Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 6. Click the “move” icon and drag and drop the move block in the bottom of the new switch. Verify the following settings in the control panel. Port: C Direction: Stop Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 7. Click the “switch” icon and drag and drop the switch inside the bottom of the original switch. Verify the following settings in the control panel. Control: sensor Sensor: Color sensor Display: Flat view Checked Port: 2 Compare: Light > 70 Function: Generate light checked Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 8. Click the “move” icon and drag and drop the move block in the top of the new switch. Verify the following settings in the control panel. Port: C Direction: Forward Power: 75 Duration: Unlimited Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 9. Click the “move” icon and drag and drop the move block in the top of the new switch. Verify the following settings in the control panel. Port: B Direction: Stop Answers: Follow the Torch Light Activity

Answers: Follow the Torch Light Activity 10. Click the “move” icon and drag and drop the move block in the bottom of the new switch. Verify the following settings in the control panel. Port: B and C Direction: Stop Answers: Follow the Torch Light Activity

Follow the Light Post-Quiz Compare the “stimulus-sensor-coordinator- effector-response” framework of the human eye to the framework using a color sensor for a LEGO robot. Provide the logic for a program for a LEGO robot that enables it to follow a flashlight.

Follow the Light Post-Quiz Answers Compare the “stimulus-sensor-coordinator-effector-response” framework of the human eye to the framework using a color sensor for a LEGO robot. Stimulus-to-response frameworks: For the human eye: sight of a scary object such as a wasp > two eyes > human brain > signal to leg muscles > run away from wasps For the LEGO color sensor: light > EV3 color sensor > (transmission to coordinator) value sent to EV3 brick via wire > brick sends a signal to the EV3 motors > robot moves Provide the logic for a program for a LEGO robot that enables it to follow a flashlight. Use two color sensors attached to the front of the taskbot. Turn the taskbot towards the sensor (of the two) that reads the higher intensity of light.

Vocabulary peripheral: Surrounding. sensor: A device that converts one type of signal to another; for instance, the speedometer in a car collects physical data and calculates and displays the speed the car is moving. visual: Related to seeing. Center for Computational Neurobiology, University of Missouri

Image Sources Slide 1; ghost with flashlight, source: Microsoft® clipart at http://office.microsoft.com/en- us/images/special-occasions-CM079001933.aspx?qu=flashlight&ex=1 Slides 1, 4: LEGO parts; source: LEGO MINDSTORMS EV3 User’s Guide Slide 4: brain; source: ADAM, Medline Plus, U.S. National Library of Medicine, National Institutes of Health: http://www.nlm.nih.gov/medlineplus/braindiseases.html Slide 4: eye; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=eye&ex=1#ai:MP900406700|mt:2| Slide 4: pointing finger; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=pointing+finger&ex=1#ai:MC900233154| Slide 6: two kids with flashlight; source: US Embassy: http://iipdigital.usembassy.gov/st/english/article/2013/11/20131125287867.html#axzz2ll0npPnd Slides 7-15: Screen capture images by the author.