After a long period of development, troubleshooting and testing, I finally got what I consider a satisfactory version of a custom board based on the ESP32 microcontroller, able to measure some environmental parameters such as brightness, temperature, humidity and motion.
The board can be programmed over USB and it’s compatible with both ESPHome (read here some limitations of current ESPHome implementation) and typical Arduino/ESP-IDF code with MQTT messages, so that could be easily integrated into Home Assistant and a lot of others home automation systems.
The board dimensions are 5.08 x 4.57 cm (2 x 1.8 inches)
The sensors installed on the board are the following:
- Temperature / Humidity: SI7021
± 0.4 °C (max), –10 to 85 °C
± 3% RH (max), 0 – 80% RH
- Ambient Light: BH1750
1 - 65535 lx
- Motion sensor: AS312
This board takes its inspiration from the well-known BRUH’s ESP-MQTT-JSON-Multisensor and it offers some improvements such as a more compact footprint and the use of an ESP32 microcontroller capable of interfacing with external Bluetooth sensors.
The files for the production (schematics, BOM and Gerber files) are present on the GitHub repository of the project for the realization of the multisensor.
Since the production of this board requires relatively advanced soldering techniques and tools, upon request of some interested people, I opened a shop on Tindie where I sell already assembled boards.
Purchase an ESP32 SensorNode on Tindie.