HPMA115S0
HPMA115S0 copied to clipboard
Arduino Library for Honeywell's Particle Sensor (HPMA115S0-XXX)
The HPMA115C0 devices add PM1 and PM4 readings, so the message length has changes. Also: * Fix example header file name * Fix sendCmd function prototype to be const instead...
I tried adjusting the adjustment coefficient for calibration, but it doesn't like it recognizes the command. Tried hpma115S0.SetAdjustmentCoefficient(120);, hpma115S0.SetCustomerAdjustmentCoefficient(120);, hpma115S0.SetCustomerCoefficient(120); All saying "'class HPMA115S0' has no member named 'SetAdjustmentCoefficient'". Any...
1. Adding Adjustment Coefficient support 2. Removing redundant debug prints (using macro) 3. ESP8266/ESP32 support (based on https://github.com/felixgalindo/HPMA115S0/pull/2)
If you change delay in example loop from 1000 to something else readings are different. For example if you wait 10 sec after each reading you get much smaller values...
Line 9 in example.ino is #include But the name of the library is hpma115S0.h For this reason the sketch wouldn't compile, but after changing the name it works flawlessly on...
It fixed Invalid conversion from 'const char*' to 'char*' [-fpermissive]