background image

 

 

Application Guide for 

Sharp GP2Y1026AU0F Dust Sensor 

(Arduino Uno/Mega) 

2018.07.07 v2 

Socle Technology Corp. 

Foxconn Technology Group 

Sharp Corporation 

 

Summary of Contents for GP2Y1026AU0F

Page 1: ...Application Guide for Sharp GP2Y1026AU0F Dust Sensor Arduino Uno Mega 2018 07 07 v2 Socle Technology Corp Foxconn Technology Group Sharp Corporation ...

Page 2: ...T 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 9 EXAMPLE SERIAL MONITOR OUTPUT 10 10 LINEAR COEFFICIENT CALIBRATION 10 11 REFERENCES 11 ...

Page 3: ...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 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 packag...

Page 4: ...ensitivity is the change in output voltage when the dust density changes by 100 µg m3 4 Comparing GP2Y1010AU0F and GP2Y1026AU0F 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 m 3 0 to 1000 μg m 3 Sensing time 1 second 1 second Sensitivity Accuracy 0 5V 0 15V per 100 µg m 3 change Accuracy ...

Page 5: ...u can look at adding a mini 20x20mm or 25x25mm external fan It is also advisable to use a coarse mesh filter in your application design to prevent large dust particles from entering the Sharp sensor and accumulating inside While a light vacuum can be used to remove large dust pieces which may be attached inside the sensor your application design may preclude such kind of maintenance access to the ...

Page 6: ... sensor directly to your Arduino board The pulse drive circuit also helps to extend the lifetime of the sensor under continuous operation Although the Sharp sensor has a RxD terminal you don t need to send it any commands in order to begin receiving serial UART data from the sensor s TxD terminal Simply connect the sensor to your Arduino board as shown in the figure below This example uses Arduino...

Page 7: ... through its TxD terminal According to the specification it produces a 7 byte data frame as follows Thus it takes 70ms to output a data frame which is equivalent to 14 frames per second However the dust sensor MCU applies averaging to the data readings in order to reduce noise and so the output voltage values only change about once per second This means that you will see a lot of consecutive frame...

Page 8: ...TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE include SoftwareSerial h define rxPin 10 define txPin 11 Use software seri...

Page 9: ...rial print Serial print VoutL Serial print VoutL Serial print Serial print VrefH Serial print VrefH Serial print Serial print VrefL Serial print VrefL Serial print Serial print Checksum Serial print checksum Serial print Serial print dataEnd Serial print dataEnd Serial print Calculate Vout float Vout VoutH 256 VoutL 1024 0 5 0 Serial print Vout Serial print Vout 1000 0 Serial print mV Calculate a ...

Page 10: ...riately before compiling or uploading the code The following screen capture shows example output from the GP2Y1026AU0F dust sensor as displayed on the Serial Monitor 10 Linear Coefficient Calibration The fixed a coefficient in the example code is used to convert output voltage from the sensor into a dust density value In the code the coefficient value is set to approximate the following graph from...

Page 11: ...pdf datasheet gp2y1010au_appl_e pdf https pdfs semanticscholar org d641 19160b9effd57448b44d39d5ac5468ed0eff pdf http www teco edu budde publications MUM2013_budde pdf http eereview com article gp2y1014au0f pm25 optical dust density sensor http www iaarc org publications fulltext isarc2014_submission_50 pdf https www researchgate net figure Particulate matter sensors AES 1 a DSM501A b and GP2Y1010...

Reviews: