Introduction
This manual provides detailed instructions for the Estardyn 1.3 Inch 128x64 OLED Display with Matrix Keyboard Module. This integrated module combines a high-resolution OLED display with a matrix keypad, offering a compact and efficient solution for various embedded projects. It supports both I2C and SPI communication protocols, making it versatile for use with popular microcontrollers such as Arduino, Raspberry Pi, and ESP32.

Specifications
| Feature | Description |
|---|---|
| Brand Name | Estardyn |
| Model Number | 1.3 OLED |
| Type | OLED Display Module |
| Display Mode | 128*64 |
| Resolution | 128*64 |
| OLED Driver (1.3 inch) | SSD1116 |
| OLED Driver (0.96 inch) | SH1315 |
| Operating Voltage (VCC) | 2.2V - 5.5V |
| Logic Level (SCL, SDA) | High level: 2.2V - 5.5V |
| Interface | I2C, SPI |
| Keyboard Type | 4x4 Matrix (available in 4-key and 16-key configurations) |
| Origin | Mainland China |
| Package Dimensions (L x W x H) | 15 cm x 10 cm x 2 cm |
| Package Weight | 0.021 kg |
Setup and Connection
The module integrates both the OLED display and the matrix keyboard on a single board for a compact design. Ensure proper voltage and pin connections to avoid damage.
Pinout Description

- VCC: Power supply input (2.2V - 5.5V)
- GND: Power Ground
- SCL: Clock line for I2C/SPI communication (High level: 2.2V - 5.5V)
- SDA: Data line for I2C/SPI communication (High level: 2.2V - 5.5V)
- K1, K2, K3, K4 (for 4-key version): Keypad input pins.
- R1, R2, R3, R4, C1, C2, C3, C4 (for 4x4 matrix keyboard): Row and Column pins for matrix keypad scanning.
Wiring Diagrams
Below are example wiring diagrams for connecting the module to common microcontrollers. Always refer to your microcontroller's documentation for specific pin assignments.

For Arduino (Example with 4-key version):
- Connect VCC to Arduino 5V or 3.3V (ensure compatibility with OLED logic level).
- Connect GND to Arduino GND.
- Connect SCL to Arduino A5 (for I2C) or SCK (for SPI).
- Connect SDA to Arduino A4 (for I2C) or MOSI (for SPI).
- Connect Keypad pins (K1-K4 or R1-R4, C1-C4) to digital I/O pins on Arduino as per your code and keypad configuration.
For STM32 (Example):
- Connect VCC to STM32 3.3V.
- Connect GND to STM32 GND.
- Connect SCL to STM32 SCL pin.
- Connect SDA to STM32 SDA pin.
- Connect Keypad pins to appropriate GPIOs on STM32.
The module uses an M2F screw head for mounting, which is a secure and compact solution.
Push-button Section

Operating Instructions
Once the module is correctly wired to your microcontroller, you will need to program the microcontroller to interact with the OLED display and read inputs from the matrix keyboard.
OLED Display Operation
- Library Installation: Install the appropriate OLED library for your microcontroller and development environment (e.g., Adafruit SSD1306 library for Arduino).
- Initialization: Initialize the OLED display in your code, specifying the I2C address (common for SSD1306/SH1116 is 0x3C or 0x3D) or SPI pins.
- Displaying Text/Graphics: Use library functions to draw text, shapes, or bitmaps on the 128x64 pixel display.
Matrix Keyboard Operation
- Library Installation: For matrix keypads, consider using a keypad library (e.g., Keypad library for Arduino) to simplify reading button presses.
- Pin Configuration: Define the row and column pins connected to your microcontroller in your code.
- Reading Input: The library will handle scanning the rows and columns to detect which key is pressed.
Maintenance
This module is a sensitive electronic component. Follow these guidelines for optimal performance and longevity:
- Handling: Handle the module by its edges to avoid touching the display surface or electronic components.
- Cleaning: Use a soft, dry, anti-static cloth to gently clean the display surface if necessary. Do not use liquid cleaners.
- Storage: Store the module in an anti-static bag in a dry, cool environment when not in use.
- Power: Always ensure the correct voltage is applied. Over-voltage can permanently damage the OLED display and control circuitry.
Troubleshooting
- Display Not Lighting Up:
- Check power connections (VCC, GND).
- Verify I2C/SPI connections (SCL, SDA).
- Ensure the correct I2C address is used in your code (0x3C or 0x3D are common).
- Confirm the correct display driver (SSD1116 or SH1315) is selected in your library.
- Garbled Display/Incorrect Output:
- Check for loose connections.
- Ensure the correct display resolution (128x64) is set in your code.
- Verify the communication protocol (I2C/SPI) is correctly configured.
- Keypad Not Responding:
- Check all keypad pin connections to the microcontroller.
- Verify the row and column definitions in your keypad scanning code or library.
- Ensure the keypad library is correctly initialized.
- Module Not Detected:
- Double-check all wiring.
- Ensure the microcontroller's I2C/SPI bus is enabled and functioning.
- Try a different set of I/O pins on your microcontroller.
User Tips
- Dimensions: Before integrating into a project, carefully measure the overall width and length of the PCB to ensure it fits your enclosure or design.
- Compatibility: While designed for Arduino, Raspberry Pi, and ESP32, always check library compatibility and pin requirements for your specific board model.
- Power Supply: Use a stable power supply within the specified voltage range (2.2V-5.5V) to prevent display flickering or damage.
- Code Examples: Search online forums and communities for example code snippets for SSD1116/SH1315 OLEDs and matrix keypads with your chosen microcontroller to kickstart your projects.
Warranty and Support
For technical support, troubleshooting assistance, or warranty inquiries, please contact your retailer or the manufacturer directly. Keep your purchase receipt as proof of purchase.