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

UART PM2.5 sensor stops responding after 5-11minutes #546

Open
tyeth opened this issue Feb 8, 2024 · 2 comments
Open

UART PM2.5 sensor stops responding after 5-11minutes #546

tyeth opened this issue Feb 8, 2024 · 2 comments
Assignees
Labels

Comments

@tyeth
Copy link
Contributor

tyeth commented Feb 8, 2024

Note to self: Remove Alert from Guide page once resolved:

https://learn.adafruit.com/pm25-air-quality-sensor/wippersnapper

Describe the bug
Originally running on Feather ESP32v2 latest wippersnapper (and a few versions ago, maybe 60's), also tested on feather s3 tft,
the sensor is set to 30seconds polling period, and after approximately 5minutes of good readings it would stop sending any data back to IO and the serial says data not available. I also another day (not espv2 but s3) saw it repeatedly do it after 11minutes in a later testing session.
What's most annoying is it runs for 5-10minutes before happening, then says nothing except the

 if (!_aqi->read(&_data)) {
       Serial.println("[UART, PM25] Data not available.");

To Reproduce
Steps to reproduce the behavior:
Add Uart PM2.5 PMS5003 to esp32v2 or s3 tft feathers on wippersnapper device pages
Start logging serial (add timestamps).
Come back in 11 minutes and see whats happened.

@brentru brentru self-assigned this Feb 8, 2024
@brentru
Copy link
Member

brentru commented Feb 8, 2024

I may try isolating that section out of WipperSnapper, and into an Arduino sketch to see if the UART bus still fails to poll new data from this sensor long-term.

@tyeth
Copy link
Contributor Author

tyeth commented Feb 8, 2024

serial debug log for a few runs with minor change if data unavailable (https://github.com/tyeth/Adafruit_Wippersnapper_Arduino/tree/uart-pm25-wip):
COM33_2024_02_08.19.40.24.715.txt

matching serials (use time from last one of these to jump in Com33 file):
COM45_2024_02_08.19.40.28.427.txt
COM45_2024_02_08.19.40.30.543.txt
COM45_2024_02_08.19.40.46.568.txt

COM45_2024_02_08.19.45.43.221.txt

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

No branches or pull requests

2 participants