Final ProjectPing))) Characterization
Farhaz Karmali
Harshit Goyal
Andrew Tomlinson
Project Description
• Interface a Parallax Ping))) Ultrasonic Range Finder with the Arduino Uno microcontroller package
• Characterize the Ping))) sensor for general use through experimentation
• Create a simple GUI to display the distance found by the Ping)))
The Arduino Uno• The Arduino Uno R2• Board for the ATmega328 microcontroller• 16 MHz• Power from PC• USB B connector• Programming with
Arduino IDE
The Ping))) Range Finder
• Male 3-pin header• GND• 5 VDC• SIG• 40 KHz Tx
Limitations
• a) Object is more than 3 meters away• b) Reflective surface at low incidence ang. • c) Object is too small to be detected
Limitations cont.
• Objects that absorb sound or have a soft or irregular surface may not reflect enough sound to be detected accurately.
• Air temperature affects the speed of sound according to:
• Cair = 331.5+ (0.6× TC ) m/s
• Percent error over 0 to 70 ° C is significant: 11 to 12 percent
Limitations cont.
A bit of code…
Code continued
C#
C#
The Wall
The Ball
The Tube
The Block
Special Notes
• Acoustics of material • Temperature• Object Shape
References
• Ping Datasheets:– http://
www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
– http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/28015-PING-v1.5.pdf
• Andy Pope excel add-in:– http://www.andypope.info/charts/polarplot.htm