Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No particles with diameter #8

Closed
chappy1978 opened this issue Jan 13, 2019 · 4 comments · May be fixed by #27
Closed

No particles with diameter #8

chappy1978 opened this issue Jan 13, 2019 · 4 comments · May be fixed by #27

Comments

@chappy1978
Copy link

So I am building an Air Quality Meter and I wanted to use your library. Because it is the easiest to read and use. The only problem is it doesn't have any of the "particles with diameter beyond 0.x um in 0.1L of air." They are the last three data packets in the PMS's UART package. I'll will try to add them in my own branch but Im not a big C++ guy.
Jeff

@fu-hsi
Copy link
Owner

fu-hsi commented Jan 13, 2019

Hi.

Read this:
#7

And use this:
https://github.com/SwapBap/PMS

This is an edit of the forked library that allows for access to the particle totals as well. I only tested this on the 7003 but later I may dive into the data sheets and see if it's compliant with the other sensors.

No changes required.

@coelner
Copy link

coelner commented Jan 16, 2019

It could be separated because the length field get checked. The 3003 differs from 5003/7003 from the length (because of missing values for 0.1L).
What if the constructor creates the bare minimum. If the user calls the constructor with a parameter the extended values get accessible.

@fu-hsi
Copy link
Owner

fu-hsi commented Jan 16, 2019

It's on todo list.

@fu-hsi fu-hsi closed this as completed Jan 16, 2019
@mano3m
Copy link

mano3m commented Aug 16, 2021

@fu-hsi would you be interested in a pull request that handles this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants