Hardware

The sensors can work with any NodeMCU compatible chip, either based on ESP32 or ESP8266. I recommend getting this latter as it is cheaper, more compact, more reliable for our use, and it has a range of available shields. Hardware-wise, the whole build is very inexpensive as each module will cost about £4. In particular, we use the following components:

3D printed case

The two components need to be separated because the ESP WiFi module generates considerable heat and will, therefore, spoil the temperature measurement.

Assembly of the sensors

Solders the pins to both boards. No need to use sockets for this. Then take an I2C cable and use it to connect it to the BME280 sensor. Looking at the photo below, the connection would be the following: [RED → GND] [BLACK → D2 SDA] [YELLOW → D1 SCL] [WHITE → 3.3V]

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/fe15c39b-ddc4-4b71-81a6-7a0f4a989b67/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c765aa26-3a77-4898-9ae6-cc566f6677a7/Untitled.png

Note that the sensor comes in two versions 5V (4pins) and 3.3V (6pins). Ideally, you will want to buy the 3.3V version but be careful of not buying the more common and cheaper BMP280 version which looks almost identical but cannot measure humidity.

Untitled