AQmon icon indicating copy to clipboard operation
AQmon copied to clipboard

PMS5003 i2c?

Open avaldebe opened this issue 8 years ago • 13 comments

The PMS5003 pinout on the LOGOELE datasheet indicate that when PIN8 is low, PIN4/PIN5 form an ì2c bus. When contacted about further information they could not say more.

pinout

Is this true? What is the address? And are the registers? I have long searched the web for information on this issue without success. A few days ago, I had a bit of success. I'll use this tread to dump the information as I find it.

avaldebe avatar Dec 09 '16 12:12 avaldebe

Plantower's Chinese website shows their products on the PMS line up. It contains 6 different variants of the PMS5003. Among them, the PMS500I is listed with i2c interface and the PMS500P with UART and PWM interfaces.

This suggests that there LOGOLE datasheet refers to either, an earlier product version with all the above mentioned capabilities... or this mixed up the information.

Is the PMS500I vaporware? Is it a firmware variant?

PMS line up

avaldebe avatar Dec 09 '16 12:12 avaldebe

SenseIOT lists almost all the variants on the plantower site and some extra. It even contains datasheets (in Chinese) to some of the PMS5003 variants:

The lack of PMS5003I datasheet might be a vaporware indication...

avaldebe avatar Dec 09 '16 13:12 avaldebe

Well we have the I2C variant we bought from china via one colleague. There is a pull request (PR) for a driver for Contiki. Works. But is missing the dustbin counters. Which we like to have to recalc the mass conversion for PM 2.5/10.

herjulf avatar Jun 26 '17 13:06 herjulf

@herjulf Thanks for the heads up.

avaldebe avatar Jun 26 '17 14:06 avaldebe

BTW. I did some recalc of PM values (mass) from the dustbin counters. Approximation. Got close to BAM instrument 1m away. But Plantower PM10 was a factor 4 to low. PM2.5 as OK. You did this to? Just 1H snapshot data is on github. But we're waiting to have node permanently installed to get some more data.

herjulf avatar Jun 26 '17 14:06 herjulf

I have about 13 months of data recorded every 10 min from my test station on my balcony. The PMS3003 does not report the bin counts, and only kept the TSI PM outputs (0.1, 2.5 and 10). There is a road side monitoring station about 500m away, which I want to compare my results with, but have not got around to do it. On the next version of the hardware/software will use a PMS5003 and log locally all the outputs on a higher frequency.

avaldebe avatar Jun 27 '17 08:06 avaldebe

OKi. We can keep in sync and compare results. Manages yesterday to mount a PMS5003 very close to a BAM stattion in the city of Uppsala. We're collecting the dustbin values and will try to find mass to this instrument As I said an 1 Hour snapshot was promising.

Also note I was wrong regarding the lack of dustbin sensors on the I2C version. Dustbin counters exist. The problem was on our side. We were duty-cycling the sensor in a way that those values did not appear. We'll look into this. The work we're doing is city air-quality monitoring using WSN network. Project name is GreenIoT.

herjulf avatar Jul 01 '17 08:07 herjulf

OKi. We can keep in sync and compare results. Manages yesterday to mount a PMS5003 very close to a BAM stattion in the city of Uppsala. We're collecting the dustbin values and will try to find mass to this instrument As I said an 1 Hour snapshot was promising.

Also note I was wrong regarding the lack of dustbin sensors on the I2C version. Dustbin counters exist. The problem was on our side. We were duty-cycling the sensor in a way that those values did not appear. We'll look into this. The work we're doing is city air-quality monitoring using WSN network. Project name is GreenIoT.

If you happen to remember your source of the I2C variant in China, I'd love to know. I'm trying to buy one online and I can't seem to find anything.

84evan avatar Feb 26 '19 22:02 84evan

@herjulf ?

avaldebe avatar Feb 27 '19 08:02 avaldebe

i've just found this that claims to have both serial and I2C interfaces, i'm considering getting one...

eadmaster avatar Mar 01 '19 12:03 eadmaster

All datasheets I have found use the same pinout table. Therefore, it is not a given that it would have an I2C interface.

avaldebe avatar Mar 01 '19 13:03 avaldebe

The I2C variant we have has extra i in the serial number. PMS5003I seen under the barcode.

herjulf avatar Mar 01 '19 14:03 herjulf

Some results: PM2.5 very OK. Dustbin should be interesting to compare.

http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A1250978&dswid=9626

herjulf avatar Mar 01 '19 14:03 herjulf