This project provides a solution for monitoring temperature and humidity using an ESP32 microcontroller. It can be used in conjunction with co2-temp-monitor for comprehensive environmental monitoring.
To use this project, you will need to build a circuit based on the pin configuration provided in the /src/hardware.h file. If you prefer to use custom pins, you can make the necessary modifications in this file.
The following image showcases the Temperature Humidity Monitor:
For improved accuracy in measuring CO2 levels, the MQ-135 sensor has been replaced with the MHZ-19B sensor. Also, to improve temperature and humidity accuracy I switched off to BME280, you can find code with DHT in previous commit. Additionally, a DC-DC converter is used to power both the controller and the fan from a single DC-Adapter.
Keep in mind that depending on your specific setup, you may require additional components such as diodes, capacitors, transistors, and resistors.
You also have the option to replicate the scheme and circuit that I used. The following images provide details:
If you require the Gerber file for this project, you can download it from here.
Note: The linear stabilizer (7805) may require passive or active cooling. If desired, you can replace it with any impulse converter. In my implementation, I used this module.
This project is designed to be developed using PlatformIO. If you don't have it installed yet, you'll need to install it first.
-
SSL Certificate
- Place your SSL CA certificate in
/src/certs/api.pem
.
- Place your SSL CA certificate in
-
Credentials
- Configure your specific credentials in /src/credentials.h.
API_URL
: Should contain the URL to the receiver's POST method, for example:https://example.com/receiver/sensor
.API_KEY
: This key will be sent in theAPI-Key
header and can be used by the receiver to verify the sender.
- Configure your specific credentials in /src/credentials.h.
-
Hardware Configuration
- Adjust pin configurations in /src/hardware.h to match your hardware setup.
To configure monitor visit Web UI at adress http://<YOUR-ESP32-IP>/