OLED displays are a great way to bring interactivity and visual feedback to your electronics projects. In this tutorial, we’ll walk you through how to test a 1.3-inch OLED display using an Arduino Uno and the GyverOLED library — one of the simplest and fastest ways to get started with I²C OLED modules using the SSH1106 driver.
Components Required
To get started, you will need the following components:
![]() |
Components required for this tutorial |
✅ Arduino UNO board
✅ OLED 1.3"
✅ Jumper Wires
✅ USB cable for Arduino
๐ ️ Circuit Wiring
Here’s how to wire the components correctly:
![]() |
Connection OLED 1.3" |
✅ VCC (OLED) → 5V
✅ GND (OLED)→ GND
✅ SCL (OLED) → A5
✅ SDA (OLED) → A4
Install the GyverOLED Library
To make coding easy, we’ll use the GyverOLED library by AlexGyver. Open the Arduino IDE > Go to Sketch > Include Library > Manage Libraries > In the Library Manager, search for "GyverOLED" > Click Install.
![]() |
This library is lightweight, fast, and supports SSH1106 out of the box. |
Programming the Arduino
Here’s a simple sketch to display "HELLO WORLD" on OLED, or you can download the code HERE.
#include <GyverOLED.h> GyverOLEDoled; void setup() { oled.init(); // Initialize the OLED oled.clear(); // Clear the display oled.setScale(2); // Set text size slightly smaller oled.setCursor(10, 2); // Set cursor position oled.print("HELLO WORLD"); // Display text oled.update(); // Refresh the display } void loop() { // Nothing needed in loop for a simple test }
![]() |
Open Arduino IDE and copy-paste the code |
๐งช Test
Once the code is uploaded and your wiring is correct, you should see "HELLO WORLD". Displayed on the OLED in white or blue, depending on your module. If nothing shows up, double-check your I²C connections and OLED address.
![]() |
"HELLO WORLD" blue display characters |
๐ Conclusion
And that’s it! You’ve successfully tested your 1.3” OLED display using Arduino and the GyverOLED library. What you learned: OLED wiring via I2C, installing and using GyverOLED, and displaying text using Arduino.
๐ฆ Where to Buy
Shopee:
Lazada:
Aliexpress:
๐ฅ Watch the Full Video Tutorial
๐ If you found this guide helpful, share it with fellow makers! For more tutorials, subscribe to our YouTube channel and follow us on social media. ๐
#arduino #oled #helloworld #display #diyprojects