Skip to content

uPesy ships directly only in France !

uPesy products available on Amazon for EU

Contents Menu Expand Light mode Dark mode Auto light/dark mode

Using the SSD1306 OLED display with Arduino code on the ESP32

(Updated at 01/05/2023)

The SSD1306 is an OLED display widely used in DIY electronics projects. Since it uses OLED technology, there is no need for backlighting, and each pixel consumes power only when turned on: the SSD1306 consumes less energy than a conventional LCD screen of the same size. It also has perfect contrast, even in dark areas

SSD1306 overview

The major drawback is that, in general, the modules commonly used in DIY projects have pixels of only one color (white), sometimes 2 (yellow and blue)

Nevertheless, it is the perfect candidate to replace the classic 16x2 LCD screen to benefit from more pixels while taking up much less space and consuming less power.

The different variants of the SSD1306 screen


Could you check that the module you have is an SSD1306? A similar model, the SH1106, is incompatible with all the libraries available for the SSD1306. The screen panel is the same, but the chip behind it is different.

The SSD1306 OLED display is available on the market in several variations:

  • The pixels color: monochrome: {white} or pseudo-bicolor: {yellow and blue} with a black background

This article is available to premium members only. You still have 90% to discover.

Subscribe for only 5$/month

Already subscribed? Sign in