Pandabyte OLED Module: Display Output Guide
by pandabyte in Circuits > Arduino
16 Views, 0 Favorites, 0 Comments
Pandabyte OLED Module: Display Output Guide
Pandabyte OLED Module is a compact display module used for learning graphical display output with microcontrollers such as Arduino compatible boards, ESP32, or Raspberry Pi Pico.
The module contains a 0.96 inch OLED display that communicates using the I2C interface, making it simple to connect using only two wires.
A key feature of this module is that it supports two connection methods:
- Traditional male headers for standard jumper-wire connections
- OR
- 4-pin Grove connector for quick plug-and-play prototyping
In this guide, you will learn:
- Module pin configuration
- I2C communication
- OLED text display
- Circuit connections
- Arduino programming examples
Supplies
Hardware:
- PandaByte OLED Module
- Development Board (We will use PandaByte xC3m ESP32C3 Dev board)
- Grove Shield/Expansion Board
- Cables: Dupont, USB, and Grove
Software:
- Arduino IDE
- Adafruit SSD1306 Library
- Adafruit GFX Library
Library Links:
- https://github.com/adafruit/Adafruit_SSD1306
- https://github.com/adafruit/Adafruit-GFX-Library
Circuit Connections
Perform the connection based on the table.
Install the Libraries
- Open Arduino IDE
- Go to:
- Sketch → Include Library → Manage Libraries
- Search and install:
- Adafruit SSD1306
- Adafruit GFX
Programming
Program : Hello World Display
Display “Hello World” on the OLED screen.
Output
The OLED screen will display:
Hello
World!
Important Info
The module uses a 0.96 inch I2C OLED display.
Communication is performed using the I2C protocol.
OLED display can have one of the following I2C addresses:
- 0x3C or 0x3D
- The address can be selected by moving the slide switch at the back of the OLED module
On PandaByte xC3m Dev Board:
- SDA → GPIO 1
- SCL → GPIO 0
The display resolution is:
- 128 × 64 pixels
Multiple text sizes and graphics can be displayed using the Adafruit GFX library.