I originally wanted VOC sensor that can monitor the fumes from my 3d printer when in use. But I was also compressed for time and decided to use off-the-shelf components that are easy to assemble and program. So I went all out and gather a bunch of adafruit sensors, an Adafruit RP2040 and a compatible touch display to plug in all together and program! I also used this project as a perfect excuse to make use of FreeRTOS and a compatible graphics library for the display to put my embedded programming skills to the test!
I ultimately used UGFX as it was compatible with the touch display, RP2040 and FreeRTOS, and it worked really well, it even has calibration features to help get the resistive touch screen to work.
Getting the 3d printed case was somewhat of a challenge as I needed airflow to allow the sensors to pick up the environment and have it fit all together in a box. Luckily I came across this video as a great source of inspiration.
I have attached a link to the source code I used to program the monitor, sensors and all. Pico SDK 2.0.0 is required to build it.
Improvements: I noticed that the temperature and humidity readings are not as accurate than expected compared to the thermostat I have. I don't have the ability to calibrate the readings right now but it should be feasible if I have another temperature/humidity sensor that can be compared against for calibration.
Comments
Please log in or sign up to comment.