Forward Until Near Stop when near a wall.

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.
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.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Choose a Sensor.
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.
 Some animals such as bats, use ultrasound waves to detect obstacles and objects around them.  Ultrasounds are reflected of surfaces or objects and.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
1 Ultrasonic Distance Sensor. 2 How it Works The distance sensor emits short bursts of sound and listens for this sound to echo off of nearby objects.
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.
Basic Robot Design. 3 Steps Design Build Program Drawing and thinking of ideas Using your design to make a robot Telling your robot what to do.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
Embedded Programming and Robotics Lesson 10 Ultrasonic Range Finder Range Finder1.
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.
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.
Introduction to LEGO NXT 6 hour course. Introductions You Your Expectations.
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.
Unit 5 – “Watch Out!”. Introduction New Topics Case Structures New Functions Less? Comparison Function Ultrasonic Sensor.
Capacitor Connection in to LED socket Connection to 5v and ground Connection to light sensor pin.
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
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.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
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.
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
Light, Sound, and Ultrasonic Sensor. Doc leJOS API – leJOS Tutorial –
ICE at Georgia Tech Robots and Artificial Life Forms An NXT Zoo! Mr. Michaud
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? ?
Title Slide Progress Report Name. Goal Goal Statement – ex. design/create/fabricate … - should be clear and short Needs/Problems – clear and short Space.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
NXT Drag Racer Deanna Margo, Darrah Margo, Melissa Kinsman.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
1 ©2006 INSciTE Common Blocks. 2 ©2006 INSciTE Common Blocks Common blocks are full featured actions Like English statements Move Wait for an action Display.
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.
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.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
The Corridor Challenge
Introductory Presentation
Introductory Presentation
Introductory Presentation
Using tools and the ‘Wait’ Block
Programming – Using a Range Finder
Introduction To Programming with LEGO NXT 2
Touch Sensor.
How an Ultrasonic Range Finder works
Vex Ultrasonic Sensor (US) Interfacing and Programming
LEGO Robotics Ultrasonic Sensor
PROMGRAMING YOUR ROBOT
Loops and Switches Pre-Quiz
Programming – Using a Range Finder
Introductory Presentation
Introductory Presentation
Obstacle Detection Ultrasonic Sensor.
Introductory Presentation
Introductory Presentation
Forward Until Touch Robot goes forward until it hits a wall.
SENSORS.
Elecbits.
Introductory Presentation
Obstacle Detection.
Obstacle Detection.
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Forward Until Near Stop when near a wall

NXT Ultrasonic Sensors

NXT Ultrasonic Sensors How does the Ultrasonic Sensor detect distance? The ultrasonic Sensor sends out a high-frequency sound pulse and times how long it takes for the echo of the sound to be reflected back. Since the speed of sound is known, the sensor uses rate and time to calculate the distance.

Forward Until Near Program

Motor Block One Details

Ultrasonic Block Two Details

Motor Block Three Details

Test Your Robot Stop when near a wall

Backward Until Far Back away from the wall until a specified distance is achieved

Backward until Far Ultrasonic Block Two Details Wait for the Ultrasonic Sensor on Port 4 to get a Far reading Far = Ultrasonic Sensor value > Threshold value

Test Your Robot Back away from the wall until a specified distance is achieved