💬 Dust Level Sensor
-
I've posted a working script and other details here:
https://forum.mysensors.org/topic/6391/the-dust-sensor-is-now-finally-working -
I now understand that the problem is that the page links to two different sensors. The one on Ebay is different than the one on Aliexpress
-
Can this sensor sense any particulate in the air, or just dust? Is the code working now?
-
Don't use this.
- old and inprecise technology.
- no fan, so no constant predictable airflow accross devices. This means you cannot compare data to anyone else's data, or even to official data.
Use this one instead:
https://forum.mysensors.org/topic/6404/next-generation-dust-sensor-for-mysensors/7In my opinion that should be the new default dust sensor. A lot of the builds on the MySensors website are horribly out of date :-(
-
Don't use this.
- old and inprecise technology.
- no fan, so no constant predictable airflow accross devices. This means you cannot compare data to anyone else's data, or even to official data.
Use this one instead:
https://forum.mysensors.org/topic/6404/next-generation-dust-sensor-for-mysensors/7In my opinion that should be the new default dust sensor. A lot of the builds on the MySensors website are horribly out of date :-(
@alowhum said in 💬 Dust Level Sensor:
Use this one instead:
https://forum.mysensors.org/topic/6404/next-generation-dust-sensor-for-mysensors/7This one or PMS5003 are similar, PMS5003 is just bigger but technology has not changed. They have a smaller PMSA003 too, just received one and I will test it, it's really small.
But for better quality I would go for the Honeywell HPMA115S0-XXX, it's fully calibrated with reputation of a big brand on the line, and guaranteed for 20K hours while from what I have read the Plantronics have lasers diodes made for 8K hours only.
https://sensing.honeywell.com/HPMA115S0-XXX-particle-sensors -
How was this tested? - The datasheet implies that you need to connect the IR LED and provide it with a pulsed wave. Does it really work like this without the led powered? The datasheet would seem to perclude this from ever working...
-
Certainly - the sensor works by bouncing a IR led light of any particles in the tunnel in the device and measuring the reflected light scattered back to the sensor .
This 'tutorial' does not even have the connections for the led connected(!), so will never work as the manufacturer intended.Today I got the sensor in the post and looked at the datasheet and application notes - I now have a working sensor. A working sensor requires 6 pins connected (3 won't do) and a resistor and capacitor. When you follow the manufacturers data it works for a general indication of dust/particle level.
I have 2 working sketches both tested with mysensors, a basic one and also one that takes 10 samples over 10 seconds and then averages them into a single value to send to the gateway.
I can post the codes if you like, but the wiring of the application notes must be used and the RC filter must be in the circuit.