Skip to content

Wemos Lolin board (ESP32 with 128x64 SSD1306 I2C OLED display)

Tommy edited this page Apr 27, 2019 · 5 revisions

This board is available on AliExpress and it is basically a clone of the D-duino-32, featuring the official Espressif Systems ESP-WROOM-32 module.

First, make sure to have installed the driver for the Silicon Labs CP210x USB to UART Bridge Virtual COM Port (VCP). The driver files for your OS are available at this link:

To install ESP32 core on Arduino follow the instructions on this page:

Download the display library in .zip for easier import on Arduino IDE:

Download zip here: and and use Sketch-> Include Library -> Add .ZIP Library

Use the settings from the product page on aliexpress:

  • board name WEMOS LOLIN32
  • flash frequency 80Mhz (or 40Mhz to go slower)
  • upload speed 921600 baud
  • port (whichever your system chooses)

From the library examples load: File -> Examples -> ESP8266 and ESP32 Oled Driver for SSD1306 display -> SSD1306DrawingDemo

This ESP32 board requires the SSD1306 libraries to communicate with the OLED display, so make sure to include: #include "SSD1306.h" // alias for #include "SSD1306Wire.h"

On this board the I2C communication pins to the OLED display are pin5 (SDA) and pin4 (SCL), so make sure to change the pins in the initialization: SSD1306 display(0x3c, 5, 4);

Load program.



You can’t perform that action at this time.