A Comparison of Accuracy between Ultrasonic and Infrared Proximity Detectors

CSEF · 2014 Electronics & Electromagnetics

Overview

Objectives/Goals To determine which proximity detector - ultrasonic or infrared - yields a more comprehensive range of distances and angles. It was hypothesized that the ultrasonic would yield the greater range. Methods/Materials The manipulated variable was the type of proximity detector used, with reference to wave type. The responding variable was the range at which these detectors could accurately detect an object#s distance. First, a board that represented the entire of field of detection was constructed - 5 cm marks were labeled along the horizontal of the board and 5 degree marks were labeled along the vertical of a board. Then, the UNO software was programmed to read these voltages from the sensors and convert these voltages into a distance. The sensors were then hooked up to the specific software on a laptop through a USB cable. The sensors were then placed at the top middle of the simulation board. An object was moved about this board at various location and the measured distances were compared with the distances being reported by the sensors that appeared on the laptop. The area in which the sensors could accurately detect the object was recorded. 5 trials were taken for each sensor. This experiment was conducted in a setting away from direct sunlight and any substantial noise levels. Materials: Infrared sensor (Sharp-GP2Y0A21YK0F), ultrasonic sensor (Sainsmart HC-SR04), Arduino UNO software, laptop, ruler, notebook, pencil, protractor, large board, small cardboard box. / Results The ultrasonic detector yielded a large range of 3-115 cm and 20 degrees to either side. The infrared yielded a range of 7-25 centimeters with 6 degrees to either side. The ultrasonic also proved to be more precise. Conclusions/Discussion The data proves the hypothesis to be supported. The ultrasonic sensor yields a more accurate and more comprehensive range than the infrared sensor.

Summary statement

The comparison of the comprehensive ranges of two proximity detectors - ultrasonic and infrared.

Help received

Mother helped set up board; Dad helped program sensors.

Competition history

  • CSEF 2014 Electronics & Electromagnetics · Entry S0919

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Browse more like this

Source: California Science & Engineering Fair public projects

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. An account also raises your daily allowance for “Has this been done?”, and lets you create a key for the MCP server with a much higher limit than anonymous use. Browsing stays public.

Continue with Google