D1 Mini Shield – OLED 64×48

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:

Facts

  • OLED Display 64x48 Pixels
DescriptionNameD1 MiniD1 Esp32
I2C Data PinSDA D2GPIO 4GPIO 32
I2C Clock PinSCL D1GPIO 5GPIO 25
I2C Address 0x3C0x3C
D1 Mini Shield – OLED 64x48 – Pins and Addresses

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 TypeCompatibleReason if not
D1 miniYes
D1 mini ProYesUntested
D1 mini LiteYesUntested
D1 32Yes


S2 mini
YesUntested
C3YesUntested
Compatibility with D1 boards

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

More ESPs

Sources

Sources for the Shield

Manufacturer's website

Manufacturer's details

https://github.com/stblassitude/Adafruit_SSD1306_Wemos_OLED

https://github.com/adafruit/Adafruit-GFX-Library

Sources for the boards

Manufacturer's website

Schematic

CH340 USB Driver

https://arduino-projekte.info/wemos-d1-mini/

https://www.exp-tech.de/plattformen/esp8266/entwicklungsboards/8898/wemos-d1-mini

Leave a Reply

Your email address will not be published. Required fields are marked *