ESP32 OLED Love Language

Wiring Schematic

View full-size circuit ↗
LT

YOUR PROJECT LEARNING PATH

Build it with confidence.

Progress saves on this device
01

Project overview

Know what you’re building before you start wiring.

Create an ESP32-powered OLED message display that uses I²C communication and character-by-character typewriter animation to present an engineering-inspired love message on a compact 128×64 SSD1306 screen.

Follow this guide to wire the display, configure the required libraries, upload the sketch, and customize message text, typing speed, alignment, and pauses between animated message pages.

Before you power up

Disconnect USB power before changing wiring, and connect the OLED to 3.3 V only if its specific module supports that supply voltage.

PROJECT ROADMAP3 project stages
✓
Prepare your kitConfirm the components and tools
⌁
Assemble the circuitFollow the build steps in order
⌘
Upload and testCheck the output and resolve issues
Start the build
02

Components required

Gather these parts before you begin.

ESP32 Development BoardRuns the animation code and sends display commands through the I²C interface.× 1
SSD1306 OLED DisplayDisplays the animated message on a monochrome 128×64 pixel screen.× 1
BreadboardProvides a convenient way to position components and organize wiring connections.× 1
Jumper WiresConnect the OLED power, ground, SDA, and SCL pins to the ESP32.× 4
USB Data CableSupplies power to the ESP32 and uploads firmware from your computer.× 1
03

Build the project

Work through one focused step at a time. You can revisit any step whenever you need.

STEP 010 / 5 complete
BUILD STAGE 0120% of guide

Position the Board and OLED Display

With USB power disconnected, position the ESP32 and SSD1306 OLED on the breadboard. Identify the display's VCC, GND, SDA, and SCL pins.

Check the pin labels on your specific modules before wiring. Keep the display and jumper wires accessible so connections can be inspected easily.

1 of 5
04

Software & tools

Install these before uploading the firmware.

Arduino IDEWrite, compile, and upload the ESP32 animation sketch from your computer.
ESP32 Board PackageProvides ESP32 board definitions, compiler support, and firmware upload tools in Arduino IDE.
Adafruit GFX LibraryProvides graphics and text-rendering functions for drawing messages on the OLED.
Adafruit SSD1306 LibraryInitializes and controls the SSD1306 display through its supported I²C interface.
USB Serial DriverEnables serial communication when the ESP32 board requires a compatible USB-to-serial driver.
05

Expected output

Compare your build with the result described here.

FINAL CHECKPOINT

After uploading the sketch, the SSD1306 OLED should initialize and display the engineering-inspired message using a typewriter effect, revealing each character progressively across the configured message pages.

Check that text remains within the 128×64 display boundaries and that pauses allow each page to be read. Typing speed and page transitions should follow the timing values in your sketch.

06

Troubleshooting & fixes

Choose the issue that best matches what you’re seeing.

01OLED Display Remains Blank
Try these checks

Verify OLED VCC and GND connections, then check SDA on GPIO 21 and SCL on GPIO 22. Confirm the module's I²C address and ensure the configured display resolution matches your 128×64 OLED.

02Typewriter Animation Does Not Work
Try these checks

Inspect the typeWrite function and confirm its character loop advances through the message. Verify that the display buffer is refreshed after drawing characters and that the required graphics libraries are installed correctly.

03Text Timing Feels Incorrect
Try these checks

Check the typing delay passed to the typeWrite function and review the pauses between message pages. Adjust these values gradually, then upload the sketch again to verify the intended animation speed.

Let’s get your project working.

When you contact us, include the project name and the step where you got stuck.

Get project support