OLED (SSD1306) to ESP32

Using one of these screens with an ESP32 is very easy and requires little change over using then with an Arduino except that the connections are different. This article should be used in conjunction with the video below.

The Connections
The SDA connection goes to pin 21 and the SCL to pin 22. You’ll need the libraries installing into the Arduino IDE and loading up an example. All this is shown in the video. And that’s it, as shown in the video the only other thing (as mentioned on the vid) is to change the I2C address by changing

0x3D to 0x3C

in the setup function. That is presuming you’ve not got your display from Adafruit, there units tend to be 0x3D,

That’s it for this quick article, hope that’s been of use 🙂

2 Comments

Comments are closed.