hit counter script
Sharp GP2Y1026AU0F Application Manual

Sharp GP2Y1026AU0F Application Manual

Dust sensor, arduino uno/mega

Advertisement

Quick Links

Socle Technology Corp.
Foxconn Technology Group
Sharp Corporation
Application Guide for
Sharp GP2Y1026AU0F Dust Sensor
(Arduino Uno/Mega)
2018.07.07 v2

Advertisement

Table of Contents
loading

Summary of Contents for Sharp GP2Y1026AU0F

  • Page 1 Socle Technology Corp. Foxconn Technology Group Sharp Corporation Application Guide for Sharp GP2Y1026AU0F Dust Sensor (Arduino Uno/Mega) 2018.07.07 v2...
  • Page 2: Table Of Contents

    Application Guide for Sharp GP2Y1026AU0F Dust Sensor Table of Contents OVERVIEW ............................... 3 HOW DO SHARP DUST SENSORS WORK? ......................3 KEY CONCEPTS AND TERMINOLOGY......................... 4 COMPARING GP2Y1010AU0F AND GP2Y1026AU0F ..................4 AIRFLOW DESIGN RECOMMENDATION ......................5 GP2Y1026AU0F CONNECTOR CABLE......................... 5 USING GP2Y1026AU0F WITH ARDUINO ......................
  • Page 3: Overview

    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 averaging of data values to minimize noise.
  • Page 4: Key Concepts And Terminology

    Application Guide for Sharp GP2Y1026AU0F Dust Sensor 3. Key concepts and terminology Dust Size is particulate matter less is the diameter of a dust than 2.5 microns in is particulate matter particle which is diameter such as less than 10 microns measured in microns combustion particles.
  • Page 5: Airflow Design Recommendation

    11501W90-6P-S-HF which should be compatible with the old JST connector. What this all means is if you have an old cable harness for GP2Y1010AU0F, the cable should work just fine with GP2Y1026AU0F as well. The following table and figure shows the pin assignments for GP2Y1026AU0F.
  • Page 6: Using Gp2Y1026Au0F With Arduino

    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.
  • Page 7: Arduino Sketch (Example/Demo Source Code)

    Arduino or else the upload will fail. Another option is to use Serial1 on Arduino Mega 2560 for communicating with the dust sensor. The GP2Y1026AU0F dust sensor outputs 1 byte every 10ms 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.
  • Page 8 Application Guide for Sharp GP2Y1026AU0F Dust Sensor Source Code Listing – sharp_gp2y1026au0f_v2.ino – PART A /*************************************************************************************** GP2Y1026AU0F Dust sensor sample code for Arduino – demo purposes only - 2018.07.07 Board Connection: Arduino GP2Y1026 10pin Serial monitor setting: 9600 baud Original code by Sharp Corporation with modifications by Socle Technology Corp.
  • Page 9 Application Guide for Sharp GP2Y1026AU0F Dust Sensor Source Code Listing cont’d – sharp_gp2y1026au0f_v2.ino – PART B // Assign values. dataStart = frame[0]; VoutH = frame[1]; VoutL = frame[2]; VrefH = frame[3]; VrefL = frame[4]; checksum = frame[5]; dataEnd = frame[6];...
  • Page 10: Example Serial Monitor Output

    If you are switching between different Arduino boards, make sure you go to the Tools menu and set Board and Port appropriately before compiling or uploading the code. The following screen capture shows example output from the GP2Y1026AU0F dust sensor as displayed on the Serial Monitor.
  • Page 11: References

     http://www.sharp-world.com/products/device/lineup/data/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- c_fig3_266483250  https://newatlas.com/smartphone-sensor-crowdsourced-pollution-map-karlsruhe/32932/ Socle Technology Corporation is a subsidiary of Foxconn and the official supplier of Sharp optoelectronic components and sensors in North America and China. http://www.socle-tech.com...

Table of Contents