An open API service indexing awesome lists of open source software.

https://github.com/robthree/temperaturedisplay

Measures temperature and humidity using a GXHT30 and displays this information on an SSD1306 OLED display. Offers a HTTP endpoint to read values as JSON, also outputs values on serial.
https://github.com/robthree/temperaturedisplay

cpp electronics esp8266 ghxt30 ghxt30-sensor hardware platformio serial serial-communication smarthome smartmeter ssd1306 ssd1306-oled temperature temperature-monitoring temperature-sensor wemos wemos-d1 wemos-d1-mini

Last synced: about 1 month ago
JSON representation

Measures temperature and humidity using a GXHT30 and displays this information on an SSD1306 OLED display. Offers a HTTP endpoint to read values as JSON, also outputs values on serial.

Awesome Lists containing this project

README

        

# Temperature Display

Uses an Wemos D1 mini with a GXHT30 I²C temperature & humidity sensor and a SSD1306 I²C 0.96" OLED display.

This project supports OTA updates, uses the WiFi manager to configure the WiFi and provides a `/read` endpoint to get the temperature and humidity as JSON and a `/reset` endpoint (`PUT`) to reset the module. The readings (and display) are updated every 2 seconds.

![Example](example.jpg)

## Hardware

You'll need:

* Wemos D1 mini
* GXHT30 I²C temperature & humidity sensor
* SSD1306 I²C 0.96" OLED display

All of these components are readily available at the time of writing, you should be able to easily source them.

Connect the GXHT30 and SSD1306 to the Wemos D1 mini's `3v3` pin, connect the grounds of all three modules. And connect `SDA` to `D2` (`GPIO4`) and `SCL` to `D1` (`GPIO5`). That's it. Done. Apparently some modules require 5V; if your display is glitching or not turning on, try connecting it to the 5V pin on the Wemos D1 mini. I power the project via the Wemos' onboard USB port but you should also be able to power it by directly powering the power pins.

```
+----------+ +------------------+
| GXHT30 | | SSD1306 |
| [X] | | |
| | | |
| V G S S | | V G S S |
+-----------------+ | C N D C | | C N D C |
| Wemos D1 Mini | | C D A L | | C D A L |
| (ESP8266) | +----------+ +------------------+
| | | | | | | | | |
| D1 |-------|-|--|-+---------------|---|-|--+
| D2 |-------|-|--+-----------------|---|-+
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| GND |-------|-+--------------------|---+
+--| 3V3 | | |
| +-----------------+ | |
+----------------------------+----------------------+
```