Sentry System Multiple Sensors

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

LabView Basics.
Sensors.
Challenges Close Shave Sprint, Spin, Sprint The Labyrinth
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Remote Communication.
Introductory Presentation
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Choose a Sensor.
Using the NXT Light Sensor. 2 Connect One Light Sensor – 1 From My Files use Left / Right NXT buttons and get to View menu and push Orange button. From.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Guard Robot Project.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System One-Way Communication.
Robotics Lego NXT Mindstorms.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
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.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
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.
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.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
LEGO Mindstorms NXT Introduction. Component NXT Brick Touch Sensor Light Sensor Ultrasonic Sensor Interactive Servo Motors MMN Lab.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Scanning and.
Program ultrasonic range sensor in autonomous mode
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
Application of Math and Science Principles Creating a robot that moves a specified distance straight ahead and Creating a robot that turns a specified.
Maze Challenge Maze Challenge activity > TeachEngineering.org
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
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
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
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.
Clap On, Clap Off Introductory Presentation. Opening Activity What is a sensor? Can you give examples? ?
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
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.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Integration.
Forward Until Near Stop when near a wall.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Two-Way Communication.
NXT Mindstorms Kit Programming
Introductory Presentation
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Exploring Computer Science Lesson 6-5
Introductory Presentation
Introductory Presentation
By Sanjay and Arvind Seshan
This is the Lego NXT ->
Introduction To Programming with LEGO NXT 2
How Does an Ultrasonic Sensor Work?
Loops and Switches Pre-Quiz
Introductory Presentation
Module F: Presentation Understanding Robot Fundamentals
Introductory Presentation
Introductory Presentation
Introductory Presentation
Exploring Computer Science Lesson 6-5
Beginner Programming Lesson
Holyoke Codes LEGO ROBOTICS
Line Following Behavior
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
Introductory Presentation
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Obstacle Detection.
Obstacle Detection.
Lego MINDSTORMS EV3.
Basic Robotic Programming
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Sentry System Multiple Sensors See Teacher Guide for printing instructions

Opening Activity Partner with the person next to you. The person on the left (“A”) will read the column on the left below, silently to him or herself The person on the right (“B”) will read the column on the right out loud Person A on the left will try to answer questions about both Go to the next slide when ready…

Opening Activity Read this column silently to yourself: A robot is a machine with the capability to Sense, Plan, and Act. This means, first of all, that it can Sense important things about its environment. It can then Plan what it should do, based on that information. Lollipops are delicious. Finally, it can Act to carry out that plan. These three things together make a robot capable of more complex and useful tasks than an ordinary machine. While Person B reads this out loud: ( Person A don’t look! ) On October 8, 2005, twenty-three robotic vehicles lined up at the starting gate for the DARPA Grand Challenge. These were vehicles of all shapes and sizes, outfitted with special sensors and software to allow them to drive on their own, with no human operators. These would compete to travel more than 100 miles of rough desert terrain in order to win a $2 million prize.

Opening Activity Answer the following questions. Left column What three defining capabilities of a robot were discussed in the left column? In what order were the three discussed? What sentence did not belong in that column? Right column What was the name of the event described in the right column? What was special about the vehicles in this event? What was the prize?

Opening Activity Multiple Inputs and Interference Reading and listening are very difficult to do at the same time because both tasks demand the attention of the same area of the brain Robots have a similar problem Many sensors, only one program to watch them all You might have tried switching back and forth quickly between reading and listening This doesn’t tend to work very well for people But it works fine for computers, because they can do it very quickly, and don’t forget what they had been doing before

Watching One Sensor How to watch a sensor A Switch Block is set to watch the sensor, and based on what it sees, do different things Example: Touch Sensor Touch Sensor Switch checks value of sensor Beep if pressed Be silent if not pressed Wait For Blocks, Sensor Blocks, and Loops are also used to check sensors, depending on how you want to use them Beep if Pressed Check the touch sensor; if it is pressed, make a sound… do nothing otherwise

Watching More Than One Sensor “At the same time” A robot can’t actually do more than one thing “at the same time” It can do things in order so quickly that you can’t tell the difference Therefore, you can’t technically watch more than one sensor “at the same time” However, you can check several sensors in order so quickly you can’t tell the difference Look and Listen Check the Ultrasonic Sensor and the Sound Sensor one after another (use picture alerts instead of sounds so the Sound Sensor doesn’t get confused)

Multiple Sensors: Technical Review The Sensors Switches Loops

Touch Sensor Detects physical contact Tells you: 1 if touched 0 if not touched Poke, Poke? The cross axle probe inserted into the end of the Touch Sensor contact increases its effective range

Sound Sensor Detects Sound Tells you: Amplitude (volume) of sound Low numbers = quiet High numbers = loud Can be confused by sounds of different frequencies (pitch) Listen Carefully The Sound Sensor can detect many sounds, from gentle vibrations to jarring collisions

Light Sensor Detects light intensity Tells you: The intensity of light detected Low numbers = dark High numbers = light Light on the front can be turned on or off Light the Way The light sensor in Reflected Light mode shines its own light out and measures the amount that bounces back

Ultrasonic Sensor Detects distance Tells you: Distance to a surface or object in front Indicates a distance in cm or inches Ro-Bat The Ultrasonic Sensor uses the same basic principle for detecting distance as cave-dwelling bats do.

The Rotation Sensor is built into the Interactive Servo Motors Detects rotation of the motor axle Tells you: Amount the axle has rotated in degrees or full rotations Rotational position of an attached piece* Linear position of an attached piece* Rotato Chips The Rotation Sensor is built into the Interactive Servo Motors * If you also know the initial position and how the piece is attached, you can calculate this

Sensor Switch Block Switch Blocks… allow the program to observe a value, and choose between different paths of code to follow, based on the observed value. Sensor Switch Blocks… check a specified sensor to determine which group of blocks to run. Keep Your Distance Based on the value of the Ultrasonic Sensor, this Switch will either move backward (if the sensor value is less than the threshold), or move forward (if the sensor value exceeds the threshold)

Infinite Loop The Loop Block runs the blocks inside it over and over again, until a certain stopping condition is met. The infinite loop or “forever” loop has no stopping condition, and therefore will repeat the blocks inside over and over, forever. Back and Forth The loop causes the robot to repeat the forward-then-back motion forever

Summary Humans and robots both have trouble paying attention to more than one input at a time Robots can get around the problem by checking sensors quickly and repeatedly Your sentry needs to watch more than just one sensor in order to detect many different kinds of hazards In this Investigation, you will learn how to program the sentry to watch for multiple problems using different sensors “at the same time”