Project 5: ESP32 Output — Display & PWM

Faiza Kamilah
2 min readMar 9, 2022

Greetings everyone! Another week, another ESP32 project. Today is my journey on trying and experimenting on displays. This time we’re using OLED. Well, first thing first, whats OLED? An organic light-emitting diode, also known as organic electroluminescent diode, is a light-emitting diode in which the emissive electroluminescent layer is a film of organic compound that emits light in response to an electric current. If we go through google search there’ll be kinds of TV pics coming up. This projects kinda prototype how do we see pictures on TV, interesting? Stay tune.

As usual we need the mighty ESP32 & Breadboard, Male-to-female jumper, and 0.96 inch OLED Display Module. Gather em up, next on, preparing our software.

Go to Tools → Manage Library, find Adafruit SSD1306 and also Adafruit MPU6050. Press install, and install all.

Should be “INSTALLED” when it’s ready.

After installing and setting up the sensor’s environment we can start to arrange the circuit like this. To be simple so that nothing gets messed up here’s where should we connect the jumper to (exactly).

Now we compile the program so that we can see something from our OLED. First thing we try is a moving text just like this.1234

(I keep trying to upload the images but they all failed) Folder OLED

--

--