Arduino prototype for analysing the environment and displaying the relevant data on an LCD
This repository contains the relevant code and the Fritzing circuit file for the project. Please note that the circuit is not 100% accurate since I was unable to find a part for MQ135 with the breaker board (which I used).
If you'd like to use the code please grab a release file from here which contains only the sketch. You would need the following libraries to make the code fully work:
- Adafruit Unified Sensor library. Everything else should work as expected.
- The DHT Sensor Library from Adafruit
The code itself is mostly plain C/C++ and quite lightweight and should be quite legible.
With a 20x4 blue LCD (old version):
- Accurately calculates and displays the humidity and temperature using the DHT22 sensor
- Inputs gas information from the MQ135 and attempts to interpret the air quality
- Displays the above information on the 20x4 LCD display
- Adjust the MQ135 sensor to have fewer jumps in output values
- Include a sleep mode so the assembly could run off batteries without power issues
- Fully adapt the project to an ESP8266 NodeMCU module giving it (possible) Internet capability (Moved to https://github.com/furquan-lp/environment-monitor)
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. See the LICENSE for more information.
All the free and open-source dependencies (including any that might be added in the future) are under the copyright of their respective owners.