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

grove-Laser_PM2.5_Sensor-HM3301 sporadic readings #78

Open
tim-oe opened this issue Oct 21, 2024 · 5 comments
Open

grove-Laser_PM2.5_Sensor-HM3301 sporadic readings #78

tim-oe opened this issue Oct 21, 2024 · 5 comments
Assignees
Labels
grove.py Label for grove.py UAY Unassigned yet

Comments

@tim-oe
Copy link

tim-oe commented Oct 21, 2024

i adapted the file
https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_PM2_5_HM3301.py
and did a slight adaptation to breakout the data from the reading
https://github.com/tim-oe/WeatherWatch/tree/main/weatherwatch/sensor/aqi

the sensor is being read every 15 minutes and they seem to jump up and down.
aqi_sensor.csv

@tim-oe tim-oe changed the title rove-Laser_PM2.5_Sensor-HM3301 sporadic readings grove-Laser_PM2.5_Sensor-HM3301 sporadic readings Oct 21, 2024
@Lesords
Copy link

Lesords commented Nov 8, 2024

i adapted the file https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_PM2_5_HM3301.py and did a slight adaptation to breakout the data from the reading https://github.com/tim-oe/WeatherWatch/tree/main/weatherwatch/sensor/aqi

the sensor is being read every 15 minutes and they seem to jump up and down. aqi_sensor.csv

@is-qian Help with this one.

@Lesords Lesords added the grove.py Label for grove.py label Nov 8, 2024
@tim-oe
Copy link
Author

tim-oe commented Nov 10, 2024

i have it mounted in a vertical position, wondering if that would impact it?
https://github.com/tim-oe/WeatherWatch/blob/main/docs/img/aqi.jpg

@Lesords Lesords added the UAY Unassigned yet label Nov 11, 2024
@Lesords Lesords removed their assignment Nov 11, 2024
@is-qian is-qian moved this from Todo to In Progress in Issues and PR Assemble Nov 15, 2024
@is-qian
Copy link
Contributor

is-qian commented Nov 18, 2024

I got a Grove, and indeed noticed abnormal fluctuations in readings, which seemed to have nothing to do with installation. I will further investigate it. Thank you for your question.

@tim-oe
Copy link
Author

tim-oe commented Nov 22, 2024

thanks for looking into this, iv'e used 2 different sensors with same behavior
i get a lot of crc failures before i can get a sensor reading.
here's a graph of a weeks worth of readings, this is discarding readings over 1000k
Selection_001

@is-qian
Copy link
Contributor

is-qian commented Nov 25, 2024

How long is your delay here? After I changed the delay of here to 1s, the crc error didn't appear again when it was powered on for the first time. Strangely, I didn't encounter reading jitter after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grove.py Label for grove.py UAY Unassigned yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants