Forward Until Sound Program

Slides:



Advertisements
Similar presentations
EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach.
Advertisements

Forward Until Dark. NXT Light Sensors How does the Light Sensor detect brightness? The Light Sensor shines a red light on the surface below it and reports.
Proportional, Integral, Derivative Line Following October 5, 2013.
Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
How Does a Sound Sensor Work?
Reading Quiz Chapter 25 Dr. Harold Williams. © 2010 Pearson Education, Inc. Reading Quiz 1.Which of the following will cause an induced current in a coil.
Wait, sound sensor >70, Port 2 Flowchart – Heartbeat 1 Start Motor A, Move Backward, 1/3 Rotation, Power 20 Wait, 1 Second Sound Sensor (Port 2) Less than.
Introductory Presentation
From the NXT top menu Connect desired hardware as indicated Enter a command in the box indicated from the menu provided Repeat for all 5 boxes.
EducateNXT NXT... an introduction The Kit and the Software.
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.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
The Marvelous Ear The Marvelous Ear Presentation
Computer Science Lego Robotics Lab 07 Page 51. CS Lego Robotics Lab 07 (Updated ) Objectives: 1.Extend the Lego robot with three sensors. 2.Program.
Program ultrasonic range sensor in autonomous mode
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
II. Uses of Magnetic Fields (p ) Electromagnet Speaker Motor
Getting Started! Lego Mindstorms Program NXT 2.0.
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.
Dynamic Microphones. Step-By-Step  Let’s take a step by step look into how the microphone process’s sound.
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.
Minds and Computers 3.1 Preview Spin left motor Spin right motor Wait until the motors have spun two rotations Stop left motor Stop right motor What five.
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
ICE at Georgia Tech Robots and Artificial Life Forms An NXT Zoo! Mr. Michaud
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
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
Patina Becenti Mentor – Mansel Nelson. Introduction  The idea is to educate young students to explore the world of science and engineering.  Implement.
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? ?
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.
NXT Drag Racer Deanna Margo, Darrah Margo, Melissa Kinsman.
Program Flow LabVIEW Robotics Fundamentals. Unintuition You know what this program does… So what does this one do? Inserted code.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
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.
Policies/Procedures QUIZ 1.T or F, Entering classroom just before the bell rings is okay as long as you’re in the room while it is still ringing. 2.What.
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.
The Corridor Challenge
BEGINNER PROGRAMMING LESSON
Introductory Presentation
Introductory Presentation
Introductory Presentation
Follow The Guidelines.
Introduction What is a transducer? A device which converts energy in one form to another. Transducer Active Passive Generates its own electrical voltage.
Touch Sensor.
How Does an Ultrasonic Sensor Work?
Loops and Switches Pre-Quiz
Module F: Presentation Understanding Robot Fundamentals
Introductory Presentation
Introductory Presentation
Loops with Multiple Sensor Controls
How many key terms can you find in FIVE minutes?
Creating an Arm.
Forward Until Touch Robot goes forward until it hits a wall.
Follow The Guidelines Light Sensor
Introductory Presentation
Storing Values as Variables
Introductory Presentation
SENSORS.
Revision Quiz Bowl on Electromagnetism
Elecbits Project: IoT based Smart Dustbin
II. Uses of Magnetic Fields (p ) Electromagnet Speaker Motor
Obstacle Detection.
LEGO MINDSTORMS EV3 training
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Forward Until Sound Program

NXT Sound Sensors

NXT Sound Sensors How does the Sound Sensor detect sound? The Sound Sensor has a diaphragm membrane that is struck by sound waved, and vibrates them. The vibrating diaphragm contains magnets, whose vibrations induces (creates) an electrical current in a surrounding coil of wire. The NXT detects this current and interprets it into a Sound Sensor reading.

Forward Until Sound Program

Establishing The Threshold On the NXT Select the View Mode Select Sound DB Select Port 2 Position the robot in an area that is quiet to acquire the two sound readings as shown in the next two slides

Establishing The Quiet Threshold

Establishing The Clap Threshold

Calculate The Threshold

Motor Block One Details

Sound Sensor Block Two Details

Motor Block Three Details

Test Your robot. Will it stop when you clap?

Forward Until Silence

Forward Until Silence Sound Sensor Block Two Details Wait for the Sound Sensor on Port 2 to get a Silent reading Silence/Quiet=Sound Sensor value<Threshold value

Test your robot does it go Forward Until Silence

Calculating Thresholds Quiz Would the robot classify the following Sound Sensor readings as Sound or Silence? Sensor = 25 with Threshold = 40 Sensor = 65 with Threshold = 40 Sensor = 47 with Threshold = 54 Sensor = 42 with No talking =30 and Whisper = 70 Sensor = 85 with No Clap = 43 and Clap = 100

Calculating Thresholds Quiz Answers a. Sensor = 25 with Threshold = 40 Sensor value is less than Threshold therefore it is silence b. Sensor = 65 with Threshold = 40 Sensor value is greater than Threshold therefore it is sound c. Sensor = 47 with Threshold = 54

Calculating Thresholds Quiz Answers d. Sensor = 42 with No Talking =30 and Whisper = 70 The threshold is (30+70)/2=50 The Sensor Value is less than Threshold, therefore it is No Talking. Intuitively - the Sensor value is closer to No Talking than Talking, therefore it is No Talking e. Sensor = 85 with No Clap = 43 and Clap = 100 The threshold is (43+100)/2=72 The Sensor Value is greater than Threshold, therefore it is a Clap. Intuitively - the Sensor value is closer to Clapping than No clapping therefore it is clap.