💬 Dust Level Sensor
-
This thread contains comments for the article "Dust Level Sensor" posted on MySensors.org.
-
STAY CLEAR OF THIS ONE FOR NOW
- The code does not work. It is not complete! The fourth wire, the LED, is not even mentioned..
- General consensus is that the suggested sensor is not that good. Other, newer sensors (Shinyei PPD42NS, SamYoung DSM501) are better, and don't need an extra fan to blow air into them, that's even built in.
- Even if you really really want this one: the linked device is way too expensive. You can buy it much cheaper now. It's also a weird version (produced by a company called Waveshare).
https://forum.mysensors.org/topic/3348/dust-sensor
The code for the other sensors is already in the library, you can find it under examples (although I have not tested that code yet).
-
Feel free to provide a working example and links to the recommended sensors.
-
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
-
I replied your contact request yesterday on how to submit code to the project.
-
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
-
@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...
-
@skywatch could you clarify what you mean by "this"? The original build example? Alowhums alternative? The new sensors mentioned by nca?
-
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.
-
Oh, I see - By 'THIS' I mean this 'build' page and the build example herein.