Material taken from Robotics with the Boe-Bot

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 6 Digital Inputs
Advertisements

EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Intro to Robot Movement Topics: DC motors Servos Line following.
Introduction to Sensor Technology Week Three Adam Taylor
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
Obstacle Detection System for Wunderbot II Sonar and IR Sensors Members: Steve Sanko and Snehesh Shrestha.
Team 5 Ergonomic Sensor for PC Users Brian Dharmanto, Tam Hoang, Ahmed Almulhim, John Chhokar.
Control Some Material taken from RobotSubsumption.pdf.
SONAR SOund NAvigation Ranging By Dale Williams Tech Topic 12/1/04.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Basics of Sensors. A sensor is a device which is used to sense the surroundings of it & gives some useful information about it. This information is used.
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.
PROGRAMMING WITH ARDUINO. Arduino An open-source hardware platform based on an Atmel AVR 8-bit microcontroller and a C++ based IDE Over boards.
Sensors Material taken from Robotics with the Boe-Bot.
+ Proximity Sensors Tahani Almanie | Physical Computing.
Embedded Programming and Robotics Lesson 10 Ultrasonic Range Finder Range Finder1.
Sensors Material taken from Robotics with the Boe-Bot.
Final Project Ping))) Characterization
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Program ultrasonic range sensor in autonomous mode
Traffic Monitoring System using Acoustic Sensors Yuping Dong May 14, 2008.
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Practical Electronics & Programming
Kristina Makarova Yoko Ishioka Burt Carter Carlos Rios team.
Senior Design I Project Summer B Overview Objectives Constraints Possible Components.
Sensors Material taken from Robotics with the Boe-Bot.
Pulse Width Modulation (PWM). 100% Pulse Width Modulation (PWM) 0% On the chipKIT there are 490 periods per second. Use analogWrite(pin, value) to control.
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.
Proximity Sensors. What are proximity sensors is a sensor able to detect the presence of nearby objects without any physical contact.sensor.
TechKnowTone Contents: Sensor Features Sensor Connections Sample Sketch Questions …Sensor Features… Arduino Coding – Distance Sensors.
Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Sensors I Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic.
Control Some Material taken from RobotSubsumption.pdf.
Robot Project by Ahmad Shtaiyat Supervised by Dr. Salem Al-Agtash.
INTERNET OF EVERYTHING SDU 2016 Week 6. Getting Input from Sensors  Sensors give report on the world around it  Sensors convert physical input an electrical.
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.
Embedded systems and sensors 1 Part 2 Interaction technology Lennart Herlaar.
Mechatronics Hydrophobe Josh Pritts – Vice President / EE Team Leader.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
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.
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
Mechatronics Hydrophobe Josh Pritts – Vice President /EE Team Leader.
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
SENSORS.
SENSORS k.saideep.
Using Arduino and Cheap Ultrasonic Transducer for Robotics
Assist. Prof. Rassim Suliyev - SDU 2017
ULTRASONIC DISTANCE METER USING 8051
Sensors with Arduino A Microcontroller.
CSU-Pueblo Team: Paul Rael, Shae Anderson, Atilla Turkoz, Yudhi Paudel
Ultrasonic Distance Sensor
Programming – Using a Range Finder
WALL DETECTOR ROBOT VEHICLE
Arduino Uno and sensors
How an Ultrasonic Range Finder works
LEGO Robotics Ultrasonic Sensor
Maxbotix Ultrasonic Distance Sensor
Material taken from Robotics with the Boe-Bot
Day 32 Range Sensor Models 11/13/2018.
Ultrasonic Distance Sensor
Programming – Using a Range Finder
CTY SAR FCPS Shawn Lupoli, Elliot Tan
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Sound Waves and Ultrasound
CTY SAR FCPS Alexander Velikanov
Ultrasonic Distance Sensor
Presentation transcript:

Material taken from Robotics with the Boe-Bot Sensors Material taken from Robotics with the Boe-Bot

Where Are We Going? Sumo-Bot competitions

Devices that Contain Sensors The boebot uses sensors to interact with its environment. There are a variety of sensors used for a variety of purposes: smoke, sound, rotation/tilt, vibration, orientation, temperature, humidity, pressure, proximity, distance, light, and so on.

Ultrasonic Distance Sensor PING Ultrasonic Range Finder Parallax Tutorial PING ultrasonic distance sensor provides precise distance measurements from about 2 cm (0.8 inches) to 3 meters (3.3 yards). It works by transmitting an ultrasonic burst and providing an output pulse that corresponds to the time required for the burst echo to return to the sensor. By measuring the echo pulse width the distance to target can easily be calculated.

Theory of Operation The PING sensor emits a short ultrasonic burst and then "listens" for the echo. Under control of a host microcontroller (trigger pulse), the sensor emits a short 40 kHz (ultrasonic) burst. This burst travels through the air at about 1130 feet per second, hits an object and then bounces back to the sensor. The PING sensor provides an output pulse to the host that will terminate when the echo is detected, hence the width of this pulse corresponds to the distance to the target.

Limited Detection Range

Simple to Connect http://learn.parallax.com/

Programs Code---Without Library Support With the NewPing library #include <NewPing.h> int PingPin = 9; int maxDistance = 5 * 12 * 2.54; // max sonar range in cm NewPing sonar(PingPin, PingPin, maxDistance);; void setup() { Serial.begin(9600); } void loop() { delay(50); int location = sonar.ping_in(); Serial.print("Ping: "); Serial.print(location); Serial.println(” in");

QTI Line Sensor

How it Works The QTI is a reflective object sensor. There’s an infrared LED behind its clear window and an infrared phototransistor behind its black window. When the infrared light emitted by the LED reflects off a surface and returns to the black window, it strikes the infrared phototransistor’s base, causing it to conduct current. The more infrared incident on the phototransistor’s base, the more current it conducts.

Like an RC Circuit http://learn.parallax.com/

Code for Testing QTIs int LeftQTI = 8; int RightQTI = 2; void setup() { Serial.begin(9600); } void loop() { long tLeft = rcTime(LeftQTI); long tRight = rcTime(RightQTI); Serial.print("tLeft = "); Serial.print(tLeft); Serial.println(" us"); Serial.print("tRight = "); Serial.print(tRight); Serial.println(" us"); delay(1000); long rcTime(int pin) { // ..returns decay time pinMode(pin, OUTPUT); // Charge capacitor digitalWrite(pin, HIGH); // ..by setting pin ouput-high delay(1); // ..for 5 ms pinMode(pin, INPUT); // Set pin to input digitalWrite(pin, LOW); // ..with no pullup long time = micros(); // Mark the time while(digitalRead(pin)); // Wait for voltage < threshold time = micros() - time; // Calculate decay time return time; // Return decay time

Code for Detecting Reflection Customizing the code: Assign names to the pins Use multiple QTI sensors More?

Simple Connections http://learn.parallax.com/

Mount the QTI sensor close to the ground