Hypfer / esp8266-vindriktning-particle-sensor

Wifi MQTT Data Logging via an esp8266 for the Ikea VINDRIKTNING PM2.5 air quality sensor
Apache License 2.0
1.18k stars 128 forks source link

Possible improvement: sample size of 7 #17

Closed bertmelis closed 3 years ago

bertmelis commented 3 years ago

My sensor works in bursts of 7 samples with +/- 2 seconds in between, followed by a 10 seconds pause.

does this differ from yours? is there a reason you use an average of 5 samples?

Hypfer commented 3 years ago

https://xkcd.com/221/

During testing, I sometimes wasn't getting 7 samples iirc so I just picked a lower number

bertmelis commented 3 years ago

Fair enough, I was just wondering.