Wemos TTGO ESP8266 with 0.91" OLED
This note collects the specifications and pinout of the Wemos TTGO ESP8266 board with a 0.91" OLED display, for anyone who wants to use it in their own project.
I was looking for an ESP8266 board with voltage regulators like a NodeMCU, but much smaller. The project: connecting a wine fridge to my smart home, so I can control it and read its state. The TTGO board with its built-in OLED display is perfect for that. It fits exactly into the fridge’s handle and has all the interfaces I need to read my NTC temperature sensor and to control the cooling circuit and the interior lighting. The board also works with ESPHome without any problems.
Specifications#
| MCU | ESPRESSIF-ESP8266EX |
|---|---|
| Flash Size | 4 MB |
| HW Buttons | Reset / Flash |
| Display | 0.91-inch 128 × 32 monochrome OLED |
| PWR LED | red |
| USB to TTL | CP2102 |
| Clock | 26 MHz crystal oscillator |
| Voltage | 3.3–7 V |
| Avg. Current | ~70 mA |
| Temperature | −40 to 90 °C |
| Board Size | 50.86 × 18.2 × 6.96 mm |
Front view#
The front has the OLED display, the micro-USB port and two buttons for resetting and flashing the ESP8266.

Back view#
The back has the unshielded ESP8266 chip and a battery connector. Users in online communities report poor Wi-Fi performance. I assume this is because the antenna sits behind the display’s flex cable and because the microcontroller isn’t shielded.

Board layout#

The following pins are occupied by the display:
| OLED | Board |
|---|---|
| SDA | D4 / GPIO2 |
| SCL | D5 / GPIO14 |
| RST | D2 / GPIO4 |
Code example#
// This example of the Adafruit_SSD1306 library worked for me.
// I only modified initialising Wire with the appropriate I2C pins.
...
#define OLED_SDA 2
#define OLED_SCL 14
#define OLED_RST 4
...
Wire.begin( OLED_SDA, OLED_SCL);
...
OLED interface pins (WEO012832)#
| No. | Symbol | Function |
|---|---|---|
| 1 | C2P | Positive terminal of the flying inverting capacitor |
| 2 | C2N | Negative terminal of the flying boost capacitor |
| 3 | C1P | The charge-pump capacitors are required between the terminals |
| 4 | C1N | They must be floated when the converter is not used |
| 5 | VBAT | Power supply for DC/DC converter circuit. This is the power supply pin for the internal buffer of the DC/DC voltage converter. It must be connected to external source when the converter is used. It should be connected to VDD when the converter is not used. |
| 6 | NC | No connection |
| 7 | VSS | Ground of logic circuit |
| 8 | VDD | Power supply for logic circuit |
| 9 | RES | Power Reset for Controller and Driver. When the pin is low, initialization of the chip is executed |
| 10 | SCL | I2C mode is selected, D2, D1 should be tied together and serve as SDA-out, SDA-in in application and D0 is the serial clock input, SCL. |
| 11 | SDA | - |
| 12 | IREF | Current Reference for Brightness Adjustment. This pin is segment current reference pin. A resistor should be connected between this pin and VSS. Set the current lower than 12.5μA. |
| 13 | VCOMH | Voltage Output High Level for COM Signal. This pin is the input pin for the voltage output high level for COM signals. A capacitor should be connected between this pin and VSS. |
| 14 | VCC | Power Supply for OEL Panel. This is the most positive voltage supply pin of the chip. A stabilization capacitor should be connected between this pin and VSS when the converter is used. It must be connected to external source when the converter is not used. |
Sources#
- Espressif, ESP8266EX datasheet: https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf
- Adafruit SSD1306 library: https://github.com/adafruit/Adafruit_SSD1306
- ESPHome: https://esphome.io/