Re:Blog series on building an air sensor with Arduino
by groundcoffee on Sunday January 01, 2023 @08:57PM
(#34213334)
I didn't know about this. I'll definitely check it out. Thanks!
Re:Blog series on building an air sensor with Arduino
by xconverge on Sunday January 01, 2023 @09:01PM
(#34213355)
Also look at the failure time and make sure you are sleeping correctly when not reading. esphome has this implemented and it is really great, it wakes up 10 seconds early, starts the fan/airflow, then takes the reading, then sleeps (for 50 seconds) in my case where I want to sample every 1 minute. Without this the lifetime of the sensor is around 1 or 1.5 years of continuous use if I recall correctly.
Re:Blog series on building an air sensor with Arduino
by aulin on Monday January 02, 2023 @06:17AM
(#34216695)
Even as an experiment with the sole purpose of learning stuff and having fun I find Arduino libs tend to hide all the fun stuff effectively diminishing the learning experience. Sometimes it's good to reinvent the wheel (like writing the driver yourself with the sdk) if your goal is to understand how why it works.
All the sensors you mentioned are likely already supported and just need to be added to a yaml file.