Dobrica Pavlinušić's random unstructured stuff
GP2Y1010AU0F: Revision 8
Product Name: GP2Y1010AU0F dust sensor module https://www.instructables.com/id/How-to-Interface-With-Optical-Dust-Sensor/ Too cheap to be useful? https://techblog.calvinboey.com/review-of-the-sharp-dust-sensor-gp2y1010au0f/ Technical parametersPower supply voltage: DC5 � 2V Operating Current: 20mA (peak) Sensitivity: 0.5V / (0.1mg / m3) The minimum detection level of particles: 0.8 m Clean air voltage: 0.9V typ. Working temperature: -10 ~ 65 Storage temperature: -20 ~ 80 Size: 46mm � 30mm � 17.6mm Size Weight: 15g arduinohttps://github.com/mickey9801/GP2Y1010AU0F
calcVoltage = voMeasured * (this->_VCC / 1024.0); Source code here works much better if you do 10 readings and average them before sending result tasmota |