Don’t Bump into Me! Presentation > TeachEngineering.org

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.
LabView Basics.
How Does a Sound Sensor Work?
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
 Some animals such as bats, use ultrasound waves to detect obstacles and objects around them.  Ultrasounds are reflected of surfaces or objects and.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Robotics Day4.
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.
Robot Sensors and Sound. Gather information from the surroundings and send it to the computer (called the “intelligent brick” in a LEGO robot) Robot sensors.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
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.
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.
Chapter 16.5: Using Sound Pg
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.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
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
Are we like robots? JEOPARDY Center for Computational Neurobiology, University of Missouri.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
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.
Forward Until Near Stop when near a wall.
How Do You Make a Program Wait?
How to design, build, and program a LEGO robot!
Remote Control Using Bluetooth
NXT Mindstorms Kit Programming
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Line-Follower Challenge
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
What Is an Electric Motor? How Does a Rotation Sensor Work?
Understanding Communication with a Robot? Activity (60 minutes)
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
How Does a Color Sensor Work?
Robot Soccer Challenge
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
Introductory Presentation
BEGINNER EV3 PROGRAMMING Lesson
Introductory Presentation
Introductory Presentation
Controlling your quadcopter
Holyoke Codes LEGO ROBOTICS
Navigating a Maze.
Warm Up- What is a robot? Describe in one sentence what you understand by the term ‘robot’ 2. What are the main parts of a robot? What do people do to.
Maze Challenge Maze Challenge activity > TeachEngineering.org
That’s Hot! Robot Brain Programming
The programming page of the Brick
Introductory Presentation
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.
How Does an Ultrasonic Sensor Work?
Obstacle Detection.
Obstacle Detection.
Hare and Snail Challenges
Lego MINDSTORMS EV3.
Getting started with LEGO EV3 Mindstorms software
Controlling your quadcopter
Presentation transcript:

Don’t Bump into Me! Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri

Don’t Bump into Me! Pre-Quiz How do bats sense distance? Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework. Provide an example “stimulus-sensor- coordinator-effector-response” framework using an EV3 ultrasonic sensor.

Don’t Bump into Me! Pre-Quiz Answers How do bats sense distance? Bats sense distance using sound. They emit sound waves and receive back reflected waves. The time it takes to receive the waves back provides them with a very good estimate of the distance. This is exactly how ultrasonic sensors estimate distance. Describe how bats sense distance in a “stimulus-sensor- coordinator-effector-response” framework. Calls made by mouth > ears hear the reflected waves > brain decides what to do > wing muscles move > flight path changed, as needed Bats use this same method to catch mosquitoes, too! Provide an example “stimulus-sensor-coordinator-effector- response” framework for an EV3 ultrasonic sensor. Object in front of the ultrasonic sensor > ultrasonic sensor > LEGO brick/computer > robot motor > robot moves

Human-Robot Similarities Your hand is commanded by your brain, depending in the input it receives from the senses. Similarly, the LEGO brick can move the taskbot. Here’s a design challenge to show how this might be done.  Center for Computational Neurobiology, University of Missouri

Don’t Bump into Me! 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 ultrasonic sensor. Have each group attach an ultrasonic sensor to its taskbot following the instructions in the LEGO base set. For programming help, refer to the previous unit: What Is a Computer Program? (unit 3) Discuss as a group the logic of the program. Write down your programming design. Create, test and debug your program.

Don’t Bump into Me! Activity Engineering Design Challenge Program Objective: Control the taskbot using the ultrasonic sensor, so that it does not bump into any toy LEGO people. Program Description: Design the program to cause the robot to move forward until it detects a LEGO person within 10 inches in front of it. Once this occurs, have the robot back up by 5 wheel rotations, turn to the right, and then continue on its way until it sees a another LEGO person, at which time it makes a right turn and stops. Answer for teacher on slides 7-11 Answer on slides 7-11

Ultrasonic Sensor Activity Answers Click the “Loop” icon (orange tab, third from left) and drag and drop the loop command onto the workspace. Click on the Infinity sign on the loop command and select U=ultrasonic sensor then select proximity. Then verify the sensor settings : a. Select distance in inches b. Compare Type<4 c. Threshold value =50

Ultrasonic Sensor Activity Answers 3. Select the “move tank” option under the green tab and drag into the loop. a. Make sure tank movement is set to rotations b. Select the Left and Right power to be 30 c. Set rotations to .5 d. Make sure that Break at end is set to coast/false. 4. Select “move tank” option and place outside of loop. b.Select the Left and Right power to be 30 c.Set rotations to .5 d. Make sure that Break at end is set to break/true. Ultrasonic Sensor Activity Answers

Ultrasonic Sensor Activity Answers 5. Select the “move tank” option under the green tab and drag into the loop. a. Make sure tank movement is set to rotations b. Select the Left to 50 and Right power to be -50 c. Set rotations to .5 d. Make sure that Break at end is set to brake/true. 6. Click the “Loop” icon (orange tab, third from left) and drag and drop the loop command onto the workspace. 7. Click on the Infinity sign on the loop command and select infared sensor then select proximity. Then verify the sensor settings : a. Select distance in inches b. Compare Type<4 c. Threshold value =50 Ultrasonic Sensor Activity Answers

Ultrasonic Sensor Activity Answers 8. Select the “move tank” option under the green tab and drag into the loop. a. Make sure tank movement is set to rotations b. Select the Left and Right power to be 30 c. Set rotations to .5 d. Make sure that Break at end is set to coast/false. 9. Select the “move tank” option under the green tab and drag into the loop. b. Select the Left to 50 and Right power to be -50 c. Set rotations to .5 d. Make sure that Break at end is set to brake/true. Ultrasonic Sensor Activity Answers

Ultrasonic Sensor Activity Answers Troubleshooting: If the robot does not turn when it sees the Lego man as expected; Make sure sensors/motors are connected to the correct port as directed in the Lego building booklet. Read back through the instructions and make sure all the properties for the commands are set correctly. If the robot is not stopping/ sensing objects in front of it make sure that there is no object with dark color blocking the path. The sensor has issues recognizing dark colored objects because it is both infrared and ultrasonic. Instructions are for the Lego Education version of software not the Lego Home version Ultrasonic Sensor Activity Answers

Don’t Bump into Me! Post-Quiz List three real-world examples of tools, technologies or equipment that use the echolocation concept. Provide an example “stimulus-sensor- coordinator-effector-response” framework for one of your real-world examples

Don’t Bump into Me! Post-Quiz Answers List three real-world examples of tools, technologies or equipment that use the echolocation concept. Radar, sonar, ultrasound medical equipment (see more on slide 15) Provide an example “stimulus-sensor-coordinator-effector- response” framework for one of your real-world examples Example: Radar on an airplane transmits sound waves into a region in the flight path > sound sensor in the radar system receives reflected sound waves > computer calculates the presence and location of rain, snow, clouds, storms and other planes > computer sends instructions by wires to display screen showing colored map of location of weather and obstacles > pilot adjusts flight path and/or elevation for safest route

Real-World Applications radar systems: airplane navigation, weather and storm monitoring, polar ice formation/melting measurement sonar systems: ship navigation, fishing, underwater sea floor mapping for depth, navigation dangers and marine ecosystems medical diagnostic : pregnancy, internal organs, tumors measuring speed and distance: radar guns, radar, sonar

Vocabulary auditory: Related to hearing. echolocation: Biological sonar used by animals such as bats and dolphins in which the animal sends out a call and uses the echo to locate and identify surrounding objects. 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. transducer: Another term for a sensor (see above). ultrasonic: A sound of a frequency that humans cannot hear, but dogs and bats can hear. Center for Computational Neurobiology, University of Missouri

Image Sources Slide 1, 5: LEGO robot with ultrasonic sensor attached; source: 2006, Flickr: Robot 1 via Nogwater @ Wikimedia Commons http://commons.wikimedia.org/wiki/File:Robot_1.jpg Slides 1, 3: clipart flying black bats; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=bat&ex=1#ai:MC900304955| 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 4: LEGO parts; source: LEGO MINDSTORMS EV3 User’s Guide Slides 7-11: Screen capture images by the author. Slide 14: ultrasound medical diagnostic tool; source: MedlinePlus, U.S. National Library of Medicine, National Institutes of Health http://www.nlm.nih.gov/medlineplus/ency/imagepages/1110.htm Slide 14: jetliner radar drawing; source: NASA: http://virtualskies.arc.nasa.gov/communication/8.html Slide 14: weather-storm radar; source: NOAA: http://www.srh.noaa.gov/mlb/?n=jeanne