Introductory Presentation

Slides:



Advertisements
Similar presentations
Full Speed Ahead Introductory Presentation. Opening Activity Choose one of the objects to the right and in ten or more steps explain how it goes from.
Advertisements

EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
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.
Right Face Introductory Presentation. Opening Activity How can you use this to make a right turn program? This is your program from Full Speed Ahead to.
EducateNXT NXT... an introduction The Kit and the Software.
Computational Neurobiology Center, College of Engineering, University of Missouri, Columbia MO DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
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.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Maze Challenge Maze Challenge activity > TeachEngineering.org
This block is a : displaydisplay looploop movemove soundsound switchswitch waitwait motor.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
Hello My Name Is… Introductory Presentation. Opening Activity Think about the following: 1.When you are feeling sad, how do you act? 2.How would someone.
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Sentry System Multiple Sensors
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.
Forward Until Sound Program
Clap On, Clap Off Introductory Presentation. Opening Activity What is a sensor? Can you give examples? ?
Find the Mindstorms Icon on the computer.. To start a new program click go.
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
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.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
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.
Faster Line Tracking Introductory Presentation. Opening Activity Try the following with a partner: Obtain a meter stick Holding the meter stick vertically,
2.8 NXT Test Programs (Try Me Mode) U2C8
NXT Mindstorms Kit Programming
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Introductory Presentation
Introductory Presentation
Introductory Presentation
Introductory Presentation
Follow The Guidelines.
This is the Lego NXT ->
Introduction To Programming with LEGO NXT 2
Unit 2 – What is a Robot? Pg
How Does an Ultrasonic Sensor Work?
Introductory Presentation
Introductory Presentation
Music by Touch Music by Touch Presentation > TeachEngineering.org
Introductory Presentation
Module F: Presentation Understanding Robot Fundamentals
Introductory Presentation
Introductory Presentation
Exploring Computer Science Lesson 6-5
Forward Until Touch Robot goes forward until it hits a wall.
Follow The Guidelines Light Sensor
Holyoke Codes LEGO ROBOTICS
Introductory Presentation
Introductory Presentation
Introductory Presentation
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.
Introductory Presentation
Introductory Presentation
Introductory Presentation
Compiled from various Internet sources Presented by Mr. Hatfield
Obstacle Detection.
Obstacle Detection.
Oregon Robotics Tournament and Outreach Program
Downloading to the NXT requires the correct hardware setup
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Introductory Presentation Clap On, Clap Off Introductory Presentation

What is a sensor? Can you give examples? Opening Activity What is a sensor? Can you give examples? ?

Opening Activity A sensor is something that receives and responds to stimuli. If the sensor is an electrical device, it can do things like measure temperature, volume, etc. Examples: Eyes Ears Motion sensor (turns on your lights at your house) Clap-on lights Thermostat

Opening Activity On your robot, sensors connect through ports on the bottom of the NXT brick. They are marked 1, 2, 3, and 4. 1 2 3 4

Can you identify the sensors on this robot? Discussion Questions Can you identify the sensors on this robot? Ultrasonic Sensor senses the closeness of objects The sensors are attached to the ports Touch Sensor senses when it’s pressed in

Review You know that it takes many steps in order to get from one place to another. Motor C Stop Motor B Stop Motor C forward Motor B forward Wait for Rotation .

Which sensor did this program “wait for”? Review Which sensor did this program “wait for”? The Rotation Sensor It’s easy to forget about the Rotation Sensor (because it is contained within the motor casing), but it works just like the other sensors in the system.

to “wait for” a loud noise. Preview The “Clap On, Clap Off” activity will use the Wait for Block using the Sound Sensor option to “wait for” a loud noise.

The program looks like this:

Preview Sensors associate number values with sounds. The sensor is “waiting” for a value between 0 and 100. Example: Room Noise (6) Talking (45) Clap (70) 100 No Noise Loud Noise

Preview You are able to test the Sound Sensor to find what values it gets for different sounds by… finding View Mode

To get to Port View 1. 2. Click the Right button to get to projects Click the Right button again to reach Port View 4. 3. Port 1 has nothing plugged in Click the Down button to reach each port 5. Port 2 has the sound sensor attached, and is getting a reading.

Preview There are over 100 possible sound values. Room Noise (6) Talking (45) Clap (70) 100 No Noise Loud Noise Do you really want to tell the program what to do for each of 100+ different possibilities? No! The program would take weeks to write, and wouldn’t fit on the NXT!

Preview Solution: Use a sound threshold to cut the range of possible readings down to two. Talking (45) Clap (70) Room Noise (6) Talking (soft) Clap (loud) Room Noise (soft) Threshold (set at 55) 100 A sound “threshold” is a cutoff point that divides all sound values into two possible categories, “Soft” or “Loud.”

Can you think of other instances where thresholds are used? Preview The program then tells the robot to “wait” for a value either above or below the threshold Threshold Can you think of other instances where thresholds are used?

Examples of Thresholds: Preview Examples of Thresholds: Example number: What is it: Explanation: Above the threshold: Below the threshold: 55 miles per hour 52 inches 90 percent Grade Speed Limit Height restriction This number sets a boundary between who can safely ride the roller coaster and who cannot This number will set the boundary between what is a legal and illegal for driving speed This number may set a boundary between an “A” and a “B” You are able to ride the roller coaster You get an A You get a speeding ticket You must grow taller in order to ride You get a B You are driving legally

Preview How do you find a good value for the threshold, the number that divides loud and quiet for the Sound Sensor? Value that the Sound Sensor reads for “loud” (73) + Value that the Sound Sensor reads for “quiet” (35) ____________________________________________ Find the average of these numbers 108 108 / 2 = 54 We learned about averages in the Wheels and Distance slideshow Threshold = 54

Preview Try it! Threshold = 58 Value that the Sound Sensor read for “loud” = 65 Value that the Sound Sensor read for “quiet” = 51 Threshold = 58

Preview Recall: With the Rotation Sensor, we had to choose which port to watch. Remember to look at which port your Sound Sensor is connected to and choose that port.

If the robot is already moving.. And you are waiting for a sound, the first move block doesn’t know how far it will need to move, so it should just be set to “On”, like this:

Good Luck! Now you have the necessary knowledge to get started in the Clap On, Clap Off Activity.