Last Updated on 15 April 2022 by Suffocation
This add-on board provides everything necessary for controlling an OLED display.
For the D1 mini ESP8266 and ESP32, go here:
- Preview – W600-Pico V1.0.0 1MB Flash
- Wemos C3 Mini
- (Wemos) D1 ESP32
- Wemos D1 Mini Pro (V1.1.0)
- Wemos D1 Mini
Facts
- OLED Display 64x48 Pixels
| Description | Name | D1 Mini | D1 Esp32 |
|---|---|---|---|
| I2C Data Pin | SDA D2 | GPIO 4 | GPIO 32 |
| I2C Clock Pin | SCL D1 | GPIO 5 | GPIO 25 |
| I2C Address | 0x3C | 0x3C | |
If two displays are to be controlled, the I2C address can be changed to 0x3D by re-soldering a jumper. (See the back of the PCB)
Compatibility
| D1 Type | Compatible | Reason if not |
|---|---|---|
| D1 mini | Yes | |
| D1 mini Pro | Yes | Untested |
| D1 mini Lite | Yes | Untested |
| D1 32 | Yes | |
S2 mini | Yes | Untested |
| C3 | Yes | Untested |
Areas of application
- Outputting information to the display
- Debugging
- Fun
Views


Programming
Libraries
The required libraries can be loaded via the library manager.


Here are the GitHub links to the libraries
https://github.com/stblassitude/Adafruit_SSD1306_Wemos_OLED
https://github.com/adafruit/Adafruit-GFX-Library
Arduino ESP32 Library V2.0.2
Arduino ESP8266 Library V3.0.2
Test programme
I have used the test program from the library:
That's how it is
Problems
-
Conclusion
A display for all projects, a bit small but fine for starters.
More posts
Other Shields
- D1 Mini Shield – Prototype PCB
- D1 Mini Shield – RGB LED (Individual)
- D1 Mini Shield – RGB LED
- D1 Mini Shield – PIR (Motion Sensor)
- D1 Mini Shield – HR8833 Motor
- D1 Mini Shield – AT8870 Motor
- D1 Mini Shield – SG30 Air Quality Measurement
- D1 Mini Shield – I2C Connector
- D1 Mini Shield – Matrix LED Shield
- D1 Mini Shield – Buzzer (Beeper)
More ESPs
- ESP WEB Serial Library
- ESP32-C3 Seeed Studio XIAO
- ESP32-C3 Super Mini Board
- Preview – LuatOS ESP32-C3 Board
- ESP32 Bluetooth Gamepad
- ESP01 – DHT11 Temperature and Humidity Sensor Boards
- ESP01 Relay Boards
- ESP8266/32 WiFi Manager.
- D1 Mini Shield – Prototype PCB
- ESP01 – Relay Board
Sources
Sources for the Shield
https://github.com/stblassitude/Adafruit_SSD1306_Wemos_OLED
https://github.com/adafruit/Adafruit-GFX-Library
Sources for the boards
https://arduino-projekte.info/wemos-d1-mini/
https://www.exp-tech.de/plattformen/esp8266/entwicklungsboards/8898/wemos-d1-mini