Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. 💬 Dust Level Sensor

💬 Dust Level Sensor

Scheduled Pinned Locked Moved Announcements
13 Posts 6 Posters 3.3k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • alowhumA Offline
    alowhumA Offline
    alowhum
    Plugin Developer
    wrote on last edited by
    #2

    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).

    1 Reply Last reply
    1
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #3

      Feel free to provide a working example and links to the recommended sensors.

      1 Reply Last reply
      0
      • alowhumA Offline
        alowhumA Offline
        alowhum
        Plugin Developer
        wrote on last edited by alowhum
        #4

        I've posted a working script and other details here:
        https://forum.mysensors.org/topic/6391/the-dust-sensor-is-now-finally-working

        1 Reply Last reply
        1
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by
          #5

          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

          1 Reply Last reply
          1
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #6

            @alowhum,

            I replied your contact request yesterday on how to submit code to the project.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              borneo1910
              wrote on last edited by
              #7

              Can this sensor sense any particulate in the air, or just dust? Is the code working now?

              1 Reply Last reply
              0
              • alowhumA Offline
                alowhumA Offline
                alowhum
                Plugin Developer
                wrote on last edited by alowhum
                #8

                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/7

                In my opinion that should be the new default dust sensor. A lot of the builds on the MySensors website are horribly out of date :-(

                Nca78N 1 Reply Last reply
                0
                • alowhumA alowhum

                  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/7

                  In my opinion that should be the new default dust sensor. A lot of the builds on the MySensors website are horribly out of date :-(

                  Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #9

                  @alowhum said in 💬 Dust Level Sensor:

                  Use this one instead:
                  https://forum.mysensors.org/topic/6404/next-generation-dust-sensor-for-mysensors/7

                  This 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

                  1 Reply Last reply
                  0
                  • skywatchS Offline
                    skywatchS Offline
                    skywatch
                    wrote on last edited by
                    #10

                    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...

                    mfalkviddM 1 Reply Last reply
                    0
                    • skywatchS skywatch

                      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...

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #11

                      @skywatch could you clarify what you mean by "this"? The original build example? Alowhums alternative? The new sensors mentioned by nca?

                      1 Reply Last reply
                      0
                      • skywatchS Offline
                        skywatchS Offline
                        skywatch
                        wrote on last edited by
                        #12

                        @mfalkvidd

                        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.

                        1 Reply Last reply
                        0
                        • skywatchS Offline
                          skywatchS Offline
                          skywatch
                          wrote on last edited by
                          #13

                          Oh, I see - By 'THIS' I mean this 'build' page and the build example herein.

                          1 Reply Last reply
                          1
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          19

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular