Ultrasound Sensor
Upcoming SlideShare
Loading in...5
×
 

Ultrasound Sensor

on

  • 1,605 views

 

Statistics

Views

Total Views
1,605
Views on SlideShare
1,603
Embed Views
2

Actions

Likes
0
Downloads
18
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ultrasound Sensor Ultrasound Sensor Presentation Transcript

  • Ultrasonic Rangefinder calibration | smoothing
  • About Ultrasonic Sensors
    • Works like radar or sonar, but with ultrasound waves
    • Evaluates the distance of an object/target by generating ultrasound waves and interpreting the echoes
    Ultrasound is sound pressure with a greater frequency (greather than ~20kHz) than the threshold of human hearing
  • Applications
    • Monitoring fetuses
    • Burglar alarms
  • MaxBotix LV-MaxSonar ® - EZ1 GND +5 ANALOG SIGNAL
    • Specs:
    • 2.5-5.5V power supply
    • Reads up to every 50ms
  • Detection Patterns Beam Characteristics: (A) 0.25-inch diameter dowel (B) 1-inch diameter dowel (C) 3.25-inch diameter rod (D) 11-inch wide board moved left to right
  • Distance from the Sensor
    • // This program prints the distance of a target object
    • // from an ultrasonic sensor
    • int ultra = 0; // select the input pin for the sensor
    • int val = 0; // variable to store the value coming from the sensor
    • void setup() {
    • Serial.begin(9600);
    • }
    • void loop() {
    • val = analogRead(ultra); // read the value from the sensor
    • long inch;
    • inch = val/2; // converts value to inches
    • Serial.print(inch);
    • Serial.print("inch");
    • Serial.println();
    • }
  • Smoothing/Calibration
    • Smoothing is a process by which an analog input is read repeatedly, dumped into an array, and a running average is calculated and printed to the computer
    • http://a.parsons.edu/~leek603/UltrarangeCalibration.pde
  • Sensor Read Playing Noise
    • http://a.parsons.edu/~leek603/UltraSpeaker.pde
  • Where to buy
    • Sparkfun (expensive: $24.95-$29.95)
    • Digikey (annoying but cheap: $8.95-$16.32)