Your SlideShare is downloading. ×
0
Ultrasonic Rangefinder calibration | smoothing
About Ultrasonic Sensors <ul><li>Works like radar or sonar, but with  ultrasound  waves </li></ul><ul><li>Evaluates the di...
Applications <ul><li>Monitoring fetuses </li></ul><ul><li>Burglar alarms </li></ul>
MaxBotix LV-MaxSonar ®  - EZ1 GND +5 ANALOG SIGNAL <ul><li>Specs: </li></ul><ul><li>2.5-5.5V power supply </li></ul><ul><l...
Detection Patterns Beam Characteristics: (A) 0.25-inch diameter dowel (B) 1-inch diameter dowel (C) 3.25-inch diameter rod...
Distance from the Sensor <ul><li>// This program prints the distance of a target object </li></ul><ul><li>// from an ultra...
Smoothing/Calibration <ul><li>Smoothing is a process by which an analog input is read repeatedly, dumped into an array, an...
Sensor Read Playing Noise <ul><li>http://a.parsons.edu/~leek603/UltraSpeaker.pde </li></ul>
Where to buy <ul><li>Sparkfun (expensive: $24.95-$29.95) </li></ul><ul><li>Digikey (annoying but cheap: $8.95-$16.32) </li...
Upcoming SlideShare
Loading in...5
×

Ultrasound Sensor

1,111

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,111
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Ultrasound Sensor"

  1. 1. Ultrasonic Rangefinder calibration | smoothing
  2. 2. About Ultrasonic Sensors <ul><li>Works like radar or sonar, but with ultrasound waves </li></ul><ul><li>Evaluates the distance of an object/target by generating ultrasound waves and interpreting the echoes </li></ul>Ultrasound is sound pressure with a greater frequency (greather than ~20kHz) than the threshold of human hearing
  3. 3. Applications <ul><li>Monitoring fetuses </li></ul><ul><li>Burglar alarms </li></ul>
  4. 4. MaxBotix LV-MaxSonar ® - EZ1 GND +5 ANALOG SIGNAL <ul><li>Specs: </li></ul><ul><li>2.5-5.5V power supply </li></ul><ul><li>Reads up to every 50ms </li></ul>
  5. 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. 6. Distance from the Sensor <ul><li>// This program prints the distance of a target object </li></ul><ul><li>// from an ultrasonic sensor </li></ul><ul><li>int ultra = 0; // select the input pin for the sensor </li></ul><ul><li>int val = 0; // variable to store the value coming from the sensor </li></ul><ul><li>void setup() { </li></ul><ul><li>Serial.begin(9600); </li></ul><ul><li>} </li></ul><ul><li>void loop() { </li></ul><ul><li>val = analogRead(ultra); // read the value from the sensor </li></ul><ul><li>long inch; </li></ul><ul><li>inch = val/2; // converts value to inches </li></ul><ul><li>Serial.print(inch); </li></ul><ul><li>Serial.print(&quot;inch&quot;); </li></ul><ul><li>Serial.println(); </li></ul><ul><li>} </li></ul>
  7. 7. Smoothing/Calibration <ul><li>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 </li></ul><ul><li>http://a.parsons.edu/~leek603/UltrarangeCalibration.pde </li></ul>
  8. 8. Sensor Read Playing Noise <ul><li>http://a.parsons.edu/~leek603/UltraSpeaker.pde </li></ul>
  9. 9. Where to buy <ul><li>Sparkfun (expensive: $24.95-$29.95) </li></ul><ul><li>Digikey (annoying but cheap: $8.95-$16.32) </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×