EasyManua.ls Logo

Sharp GP2Y1026AU0F - Example Serial Monitor Output; Linear Coefficient Calibration

Sharp GP2Y1026AU0F
11 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10
Application Guide for Sharp GP2Y1026AU0F Dust Sensor
http://www.socle-tech.com
9. 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.
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 the GP2Y1026AU0F specification.

Related product manuals