1 / 3
ESP8266 WLAN Room Climate Sensor Case (DHT22 + SSD1306 OLED) — image 1
1 / 3

ESP8266 WLAN Room Climate Sensor Case (DHT22 + SSD1306 OLED)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

This is a modular 3D printed case for a small WiFi room climate sensor.

Rating
0 / 5
Likes
0
Downloads
3
Makes
0
Views
44
Reviews
0

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Attribution

ESP8266 WLAN Room Climate Sensor Case (DHT22 + SSD1306 OLED)

This is a modular 3D printed case for a small WiFi room climate sensor based on the ESP8266. The sensor measures temperature and humidity with a DHT22. It shows the values on a 128x64 SSD1306 OLED and serves them over a simple JSON REST API in your home network. I built these sensors to make a rented floor heating system smarter, without replacing the fixed room thermostats. One sensor goes into each room.

The case is designed in several parts. This has two benefits. First, the DHT22 sits in its own vented tower. The airflow around the sensor stays free, so a closed housing does not distort the readings. The tower also keeps the sensor away from the small amount of heat the ESP8266 produces. Second, you can print each part in a different color. Every room gets its own color scheme.

Included STEP files

  • ESP8266-case.step: main enclosure for the ESP8266

  • ESP8266_cover.step: bottom cover for the enclosure

  • ESP8266_OLED_mount.step: mount for the SSD1306 OLED

  • ESP8266_OLED_cover.step: front frame for the OLED

  • ESP8266_sensor_mount_cover_box_DHT22.step: vented cover for the DHT22 tower

  • ESP8266_sensor_mount_cover_box_mount_DHT22.step: base mount for the DHT22 tower

Print notes
No supports needed for most parts. The vented tower prints cleanly thanks to the horizontal slots. PLA or PETG both work fine for indoor use. Print the parts separately so you can mix colors per room.

Electronics and firmware
The firmware is open source. It auto-detects one or two DHT22 sensors. WiFi setup runs over a captive portal hotspot, so no credentials live in the source code. Each device gets its name in the browser and is then reachable via mDNS, for example http://kinderzimmer.local. The web interface also offers a per-sensor offset calibration in 0.1 C steps.

My blog post: https://www.byteyourlife.com/do-it-yourself/esp8266-raumklima-sensor-mit-dht22-fussbodenheizung-smart-machen/10413

Firmware and wiring: https://github.com/custom-build-robots/esp8266-room-climate-sensor

Have fun building. Feedback and remixes are welcome.