Your SlideShare is downloading. ×
0
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Ultrasound Sensor
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ultrasound Sensor

1,089

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,089
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Ultrasonic Rangefinder calibration | smoothing
  • 2. 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
  • 3. Applications
    • Monitoring fetuses
    • Burglar alarms
  • 4. MaxBotix LV-MaxSonar ® - EZ1 GND +5 ANALOG SIGNAL
    • Specs:
    • 2.5-5.5V power supply
    • Reads up to every 50ms
  • 5. 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
  • 6. 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();
    • }
  • 7. 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
  • 8. Sensor Read Playing Noise
    • http://a.parsons.edu/~leek603/UltraSpeaker.pde
  • 9. Where to buy
    • Sparkfun (expensive: $24.95-$29.95)
    • Digikey (annoying but cheap: $8.95-$16.32)

×