Sharp GP2Y1026AU0F Application Manual

Application Guide for
Sharp GP2Y1026AU0F Dust Sensor
(Arduino Uno/Mega)
2018.07.07 v2
Foxconn Technology Group
Sharp Corporation
Application Guide for Sharp GP2Y1026AU0F Dust Sensor
http://www.socle-tech.com
Table of Contents
1. OVERVIEW ....................................................................................................................................................... 3
2. HOW DO SHARP DUST SENSORS WORK? ......................................................................................................... 3
3. KEY CONCEPTS AND TERMINOLOGY................................................................................................................. 4
4. COMPARING GP2Y1010AU0F AND GP2Y1026AU0F .......................................................................................... 4
5. AIRFLOW DESIGN RECOMMENDATION ............................................................................................................ 5
6. GP2Y1026AU0F CONNECTOR CABLE................................................................................................................. 5
7. USING GP2Y1026AU0F WITH ARDUINO ........................................................................................................... 6
8. ARDUINO SKETCH (EXAMPLE/DEMO SOURCE CODE) ....................................................................................... 7
2
9. EXAMPLE SERIAL MONITOR OUTPUT ............................................................................................................. 10
10. LINEAR COEFFICIENT CALIBRATION ................................................................................................................ 10
11. REFERENCES ................................................................................................................................................... 11
Application Guide for Sharp GP2Y1026AU0F Dust Sensor
http://www.socle-tech.com
1. Overview
Designed for use in commerical air purifiers, Sharp Corporation dust sensors have proven
popular over the years with electronics hobbyists and researchers interested in building air
quality and pollution monitors. In particular, Sharps GP2Y1010AU0F dust sensor model is
the subject of many electronics projects due to its low cost and ease of availability through
components distributors. Since the introduction of GP2Y1010AU0F, Sharp has released
newer models such as GP2Y1014AU0F and GP2Y1026AU0F which offer improvements in
design and function. Sharp GP2Y1026AU0F is a digital UART sensor featuring a built-in
microcomputer (MCU) which handles some of the processing you would normally need to
provide yourself such as offset calibration, temperature correction, LED pulsing, and
3
averaging of data values to minimize noise.
2. How do Sharp dust sensors work?
Sharp dust sensors operate on the principle of light scattering. A photo-detector and LED
emitter oppose each other at an angle within the rectangular package of the sensor which
has a dust through hole on either side. Air containing dust particles flows into the sensor
chamber and causes the light from the LED emitter to be scattered towards the photo-
detector. The dust sensor outputs a voltage value which varies according to the intensity
of light scattered which in turn corresponds to the level of dust in the sensor chamber. The
actual dust density (or dust concentration) can then be calculated from the output voltage
value using a linear relation.
Application Guide for Sharp GP2Y1026AU0F Dust Sensor
http://www.socle-tech.com
Dust Size
is the diameter of a dust
particle which is
measured in microns
(µm) which is the same
as a micrometre.
PM
2.5
is particulate matter less
than 2.5 microns in
diameter such as
combustion particles.
Also called fine particles
which are hazardous to
human health.
PM
10
is particulate matter less than 10 microns
in diameter such as
dust, pollen, and
mold.
Dust Density
(or Dust Concentration)
is measured in units of mass / volume such as
µg/m3 or mg/m3.
Output Voltage
Sharp dust sensors
generally output a
voltage which increases
with dust density.
Sensitivity
is the change in output
voltage when the dust
density changes by
100 µg/m3.
Specification Parameter
GP2Y1010AU0F
GP2Y1026AU0F
Light emitting element
LED
LED
Min. detectable dust size
0.5μm
0.5μm
Dust density sensing range
0 to 600 μg/m3
0 to 1000 μg/m3
Sensing time
< 1 second
1 second
Sensitivity / Accuracy
0.5V ± 0.15V per
100 µg/m3 change
Accuracy ±30%
0.35V ± 0.06V per
100 µg/m3 change
Accuracy ±15%
Output interface
Analog
Digital (UART)
Sensing of PM2.5 and
PM10 separately
No (measures total dust
density only)
No (measures total dust
density only)
LED pulse drive circuit
No (requires external
circuit)
Yes
Offset correction
No (must subtract voltage
level at zero dust)
Yes
Temperature correction
No
Yes
Averaging of data readings
No
Yes
3. Key concepts and terminology
4
4. Comparing GP2Y1010AU0F and GP2Y1026AU0F
You can find the detailed specifications for both dust sensor models here.
Loading...
+ 7 hidden pages