Vex Ultrasonic Sensor (US) Interfacing and Programming

Slides:



Advertisements
Similar presentations
Device receives electronic signal transmitted from signs containing information A device that can communicate GPS location relative to the destination.
Advertisements

Vex Robotics Introduction to Sensors. introduction to sensors Sensors assist robots in seeing and feeling the physical world through which they travel.
Echoes. Reflection  The reflection of sound waves applies to frequencies above human hearing. 20 kHz is human maximum20 kHz is human maximum Bats can.
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
SONAR SOund NAvigation Ranging By Dale Williams Tech Topic 12/1/04.
PRESENTATION BY ATIF DAR ULTRASONIC SENSORS.. CONTENTS PAGE Page 1 – Homepage Page 3 – Description of Ultrasonic Sensor. Page 4 – How the Ultrasonic Sensor.
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.
Ultrasonic Sensor Made By: 1.Hadeer Radwan 2.Alaa Mustafa 3.Amany Amr.
Sensors. This is a set of transmitter and receiver in one of the photoelectric sensor. Detection distance can be adjusted according to the requirements.
Program ultrasonic range sensor in autonomous mode
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
May 2008US Sensor Calibration1 Ultrasonic Sensors Calibration Omar A. Daud Truc-Vien T. Nguyen May 16, 2008.
Traffic Monitoring System using Acoustic Sensors Yuping Dong May 14, 2008.
Unit 5 – “Watch Out!”. Introduction New Topics Case Structures New Functions Less? Comparison Function Ultrasonic Sensor.
ARM Timers.
ROBOTC for VEX On-Site Professional Development
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
OBSTACLE AVOIDANCE ROBOT
RTLS. LOCATING / POSITIONING SYSTEMS A positioning system is a mechanism for determining the location of an object in space Interplanetary systems Global.
PHY 235 Robotics Workshop Day 5 Distance Sensing Using The Ultrasonic Ping Sensor.
Each time the scanner scans an item, it performs a calculation by counting the ‘check digit’. Eg: add every odd---( = 22) If the check.
The Reflection of Sound Waves the reflection of sound is a common occurrence as in water waves, sound waves reflect at the same angle in which they were.
AAPT workshop W03 July 26, 2014 Saint Cloud State University, MN, USA
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Istituto Tecnico Industriale A.Monaco EURLAB Object Detection Object Detection by Ultrasonic How to install and program a ultra sonic sensor with Arduino.
Istituto Tecnico Industriale A.Monaco EURLAB Object Detection Object Detection by Ultrasonic How to install and program a ultra sonic sensor with Arduino.
Forward Until Near Stop when near a wall.
Ultrasonic Sensor TYWu.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Chapter 1 – Expressions, Equations, and Functions Algebra I A - Meeting 4 Section 1.6 – Represent Functions as Rules and Tables Function – is a pairing.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Unit 2 Lesson 3 Sound Technology
- Usable range of 0 to 6 feet. - Find dark or bright areas.
Prof. Sajid Naeem (DOES – PC)
Download the GOTO BEACON program from the E10 website, Robot lab section,
ANTI-COLLISON AND BRAKING SYSTEM
ROBOTC for VEX Online Professional Development
CMA46 Questions & Answers.
ROBOTC for VEX On-Site Professional Development
Ultrasonic Distance Sensor
Programming – Using a Range Finder
Ultrasound.
Serial I/O and Data Communication.
ROBOTC for VEX Online Professional Development
WALL DETECTOR ROBOT VEHICLE
Arduino Uno and sensors
How an Ultrasonic Range Finder works
LEVEL CONTROL USING ULTRASONIC
LEGO Robotics Ultrasonic Sensor
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Maxbotix Ultrasonic Distance Sensor
Ultrasonic Distance Sensor
Programming – Using a Range Finder
Introductory Presentation
Introductory Presentation
Obstacle Detection Ultrasonic Sensor.
Introductory Presentation
Prepared by : fatheyah faqih Supervisor:Dr.Falah Hassn
What we will do today: Carry out calculations involving ultrasound.
Elecbits.
Introductory Presentation
Going round in circles… Going round in circles…
Obstacle Detection.
Obstacle Detection.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Calculating Sound Waves!
Sound Waves and Ultrasound
Ultrasonic Distance Sensor
Presentation transcript:

Vex Ultrasonic Sensor (US) Interfacing and Programming

Ultrasonic Sensors d = (v)(t) d = (v)(t)/2 Generally have a transmitter and receiver. Transmits a high- frequency sound. Waits to receive echo. Calculates distance based on time it took to receive the echo. d = (v)(t) Round-Trip Distance d = (v)(t)/2 One-Way Distance d = distance, v = speed of sound, t = time to receive echo 2

The Vex Ultrasonic Sensor INPUT Sends ultrasonic wave Connect to digital output of the controller OUTPUT Receives the echo Connect to the input of the controller The labeling is a bit counter-intuitive! 3

Connecting the sensor to the controller

Ultrasonic Sensor Programming The following statement starts an ultrasonic sensor i.e., the sensor starts sending and recording the sound signals. Sensor connected to output port 6 through which it receives digital control signals from the controller. StartUltrasonic ( 5, 6 ) ; Sensor connected to input port 5 Select start Youssefi

Ultrasonic Sensor The following statement is used to read a value from the sensor Range = GetUltrasonic ( 5 , 6 ); The sensor is connected to output port # 6 on the controller Variable into which the translated value is stored Input to Ultrasonic port #5 Select Get option Define variable Range Youssefi

Select Config to Change input port #6 to an output port Cortex Controller Change port 6 from input to output by clicking on the circle Digital ports taken by the IRB Hsu/Youssefi

Checking if the obstacle is near or far Input to Ultrasonic sensor connected to output port 6 on controller Output from Ultrasonic sensor connected to input port 5 on controller Checking if the obstacle is near or far Hsu/Youssefi