Site icon Circuit Ideas for You

Simple Arduino OLED Display Circuit

Want our Arduino to talk to us on screen?

Then add a small digital screen to our Arduino in minutes.

With OLED display, our simple Arduino project suddenly feel like a real gadget.

It show clear text with no backlight, low power and with super cool look.

OLED display need only two data wires and give us bright output for any project.

In this Simple Arduino OLED Display Circuit we will learn how to connect it and print our first message.

Arduino Coding:

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

void setup() {
Wire.begin();
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(SSD1306_WHITE);
display.setCursor(0, 0);
display.println("HELLO");
display.display();
}

void loop() {
}

Code Explanation:

Circuit Working:

Simple Arduino OLED Display Circuit Diagram

Parts List:

ItemQuantity
Arduino UNO1
SSD1306 OLED 128×64 Display1
USB Cable1
Breadboard 1

The OLED uses I2C communication.

Only SDA and SCL lines send data from Arduino to display.

Arduino sends commands like clear, draw text, set position.

OLED receives data and lights its pixels.

Power for display comes from 5V and GND.

When Arduino runs code, it prints the text and shows on OLED.

How to Build:

To build a Simple Arduino OLED Display Circuit follow the below steps for connections:

Conclusion:

Simple Arduino OLED Display Circuit is very easy project.

Only four wires and simple code.

Good for beginners to show text, numbers and sensor results.

Display is clear and with low power.

We can expand project later with sensors or menu screens.

References:

How to make “Hello World” on Oled 128×64 SPI

Exit mobile version