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

Plantower #300

Merged
merged 9 commits into from
May 14, 2017
Merged

Plantower #300

merged 9 commits into from
May 14, 2017

Conversation

PieVo
Copy link
Contributor

@PieVo PieVo commented May 14, 2017

Hi,

I've added support for a particle sensor from plantower. This is a laser based particle sensor that can detect < PM2.5. Compared to the other sensors in ESPEasy it is "expensive", for about 15$ (PMS5003) you can buy it. However, you do get a sensor that just returns digital values over a serial line which is a lot more reliable than the sharp GP2Y.

Best regards, Pieter

@psy0rz
Copy link
Member

psy0rz commented May 14, 2017

very nice, i want one. :)

currently it doesnt compile, you forgot to delete pligin 50?

also read https://github.com/letscontrolit/ESPEasy/blob/mega/.github/CONTRIBUTING.md and add the proper ifdefs.

Edwin

@krikk
Copy link
Contributor

krikk commented May 14, 2017

does this use direct serial? no softwareserial?

@PieVo
Copy link
Contributor Author

PieVo commented May 14, 2017

@psy0rz: I'll check it, I was several commits behind and some new plugin were created in the meantime..

@krikk: This one uses the hw serial of the esp8266, mainly because the sensor transmits data asynchronously. I think a software serial is also possible when the sensor is set to "passive" mode and only transmits when requested.

@PieVo
Copy link
Contributor Author

PieVo commented May 14, 2017

So, I did not add PLUGIN_BUILD_DEV because it's functional: Logging air quality to emoncms via mobile phone hotspot!

@psy0rz
Copy link
Member

psy0rz commented May 14, 2017

thanks!

@psy0rz psy0rz merged commit 28208ac into letscontrolit:mega May 14, 2017
@krikk
Copy link
Contributor

krikk commented May 15, 2017

@PieVo would be really great if you can also add the required documentation to the wiki, especially add you sensor to the supported sensors list, thanks

@PieVo
Copy link
Contributor Author

PieVo commented May 15, 2017

Yes, I'll do that. Explain the device and the used IO etc

@sipvoip
Copy link

sipvoip commented Jun 3, 2017

I am trying to get this to work, I had it working with old ESPEasy 120 and:
https://www.letscontrolit.com/forum/viewtopic.php?t=2389

However I am not able to make it work with the latest GIT, as soon as I enable it, I also lose my serial log. Note I am using PMS5003 with only RX pin.

@PieVo
Copy link
Contributor Author

PieVo commented Jun 3, 2017 via email

@sipvoip
Copy link

sipvoip commented Jun 3, 2017

I am using a D1 Mini pin D3 (GPIO 0) only no TX. I am willing to offer $100 via paypal if you add SW serial selection and don't require it to have a TX.

@PieVo
Copy link
Contributor Author

PieVo commented Jun 3, 2017 via email

@sipvoip
Copy link

sipvoip commented Jun 13, 2017

Thanks, like I said I am happy to pay for the addition of software serial.

@sipvoip
Copy link

sipvoip commented Jun 19, 2017

Willing to bump this up to $200 US via paypal for SW Serial support. :-)

@PieVo
Copy link
Contributor Author

PieVo commented Jun 20, 2017 via email

@sipvoip
Copy link

sipvoip commented Jun 20, 2017

Works! Can you drop me an email (nathan at robotics.net) so I have your paypal address?

@PieVo
Copy link
Contributor Author

PieVo commented Jun 20, 2017 via email

@gebirek
Copy link

gebirek commented Feb 23, 2018

PieVo,
Can you add model PMS5003ST (with pm1,pm2.5,pm10, temp, hum and formaldehyde) ?

@PieVo
Copy link
Contributor Author

PieVo commented Feb 24, 2018

Do you have an english datasheet for this?

From the chinese on I get that the ST variant sends 3 more 16-bit values in one burst. The bad thing is that you cannot recognize the ST automatically (same header). So either a new sensor implementation or a checkbox that enables the "ST" mode.

@uzi18
Copy link
Contributor

uzi18 commented Feb 24, 2018

You could check if data lenght has 3 additional words

@uzi18
Copy link
Contributor

uzi18 commented Feb 24, 2018

ok it is possible to detect new model.

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

Successfully merging this pull request may close these issues.

6 participants