ESP displays temperature
For this project, I'm using PlatformIO to program a
Wemos D1 mini
using the Arduino framework
for the ESP8266.
For the display, I'm using a 128x64 OLED display
for displaying the temperature.
The display is connected to the Wemos D1 mini like this:
Display Pin | Wemos Pin |
---|---|
GND | GND |
VDD | 3V3 |
SCK | D5 |
SDA | D7 |
RES | D6 |
DC | D0 |
CS | D8 |
For driving the display, I'm using the U8g2 library, installed with the PlatformIO library manager. The data to display comes, in my case, from an openHAB2 home automation server via http, using the built-in wireless interface of the ESP.