Skip to content

pstradowski/esp8266-sharp-air-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

esp8266-sharp-air-sensor

This is simple Lua script to use Sharp GP2Y1010AU0F with NodeMCU. It is inspired by work of Chris Nafis http://www.howmuchsnow.com/arduino/airquality/ and https://github.com/Trefex/arduino-airquality/tree/master/Module_Dust-Sensor, but I used more precise approach to calibrate the sensor. While Chris Nafis had a chance to compare his sensor with Dylos DC1100 Pro Air Quality, I must rather use an approach described in the application note: http://sharp-world.com/products/device/lineup/data/pdf/datasheet/gp2y1010au_appl_e.pdf - I store minimum value reported by the sensor in a config file (storage.lua) and calculate final measurements using V0 as described in the applicaiton note. I use a voltage divider to lower down the output of GP2Y1010AU0F to the level of ESP8266(1V), so the code incorporates values of my resistors.

About

NodeMCU script to read Sharp GP2Y1010AU0F

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages