Avisos
Vaciar todo

Particule detector  

Página 2 / 2
  RSS
justin.h3
(@justin-h3)
New Member
Re: Particule detector

Hi,

Just curious if you could share some more about how you made use of the PMS 5003. I have purchased a couple PMS 7003 but have had a little difficulty finding an english datasheet describing functionality. Is the code you use to get data from it fairly straightforward? I'll likely use a raspberry pi, arduino, or maybe a NodeMCU ESP8266 (been interested in trying one of those out).

Thanks,
Justin

Well, after some try and miss I decided to change probe to a PMS 5003. The PPD42 is not easy to deal with, you have to sample a digital pin and make a ratio between the high and low level then use a polynomial calculation to determine PM2.5, the arduino cannot make a lot of other task and the amount of noise of the measurement is huge. In addition, being based on LED technology, it's limited to 1 µm for particulate size.

PMS 5003 is another story, it's laser based, so can detect particulate down to 0.3 µm, is completely autonomous, make his measurement on his own and provide the data through serial/i2c , and very first result show very consistent measurement !

So with a nice little nodeMCU, it's quite comfortable to send the data to thingspeak on the cloud and to have nice shinny curves, I'm very happy of the result, I will be able to make real test and measurement 🙂

The only con I have is PMS5003 is a bit pricy (~30 € from china) but that's ok if you really want to deal with these kind of data.

Here his my new little POC:

NodeMCU-PMS5003.png

Respondido : 24/03/2017 12:49 am
christophe.p
(@christophe-p)
Miembro Moderator
Topic starter answered:
Re: Particule detector

Hi Justin,

I put the code and fritzing files here:

https://github.com/ChrisP-Git/PartSense

In addition you need to create a thingspeak account and create two channel as stated in the source comment, to use those two API codes, and to pur ssid/passowrd information related to your wifi connexion.

I'm like Jon Snow, I know nothing.

Respondido : 24/03/2017 8:47 am
christophe.p
(@christophe-p)
Miembro Moderator
Topic starter answered:
Re: Particule detector

I improved my sensor, made a proper case and added a LCD screen to show in real time temperature, humidity, AQI and PM 1.0.

It's available here: http://www.thingiverse.com/thing:2320020

I'm like Jon Snow, I know nothing.

Respondido : 14/05/2017 10:41 pm
christophe.p
(@christophe-p)
Miembro Moderator
Topic starter answered:
Re: Particule detector

Hi,

si I made some improvement in the code.

Now the data are displayed in real time on the LCD, updated every 2.3 seconds in stable mode, and sent to thingspeak, a MQTT broker, or Domoticz through MQTT every minutes.

Thingspeak give you graph like this:

Or if you stay on your LAN, Domoticz can disply them like this:

I'm like Jon Snow, I know nothing.

Respondido : 04/06/2017 12:18 am
Página 2 / 2
Compartir: