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 just a OLED display, our simple Arduino project suddenly feel like a real gadget.

Also, it show clear text with no backlight, low power and with super cool look, here OLED display need only two data wires and give us bright output for any project.

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

Arduino Code:

#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:

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

The OLED uses I2C communication and only SDA and SCL lines send data from Arduino to display; also Arduino sends commands like clear, draw text, set position.

Then OLED receives data and lights its pixels and power for display comes from 5V and GND; finally 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:

Overall, Simple Arduino OLED Display Circuit is very easy project, only with four wires and simple code.

Additionally, its good for beginners to show text, numbers and sensor results and further, display is clear and with low power and also we can expand project later with sensors or menu screens.

Exit mobile version