1. Introduction
This manual provides detailed instructions for the Estardyn 1.3 inch OLED Display Module, which integrates an OLED display with either a 4x4 or 16-key matrix keyboard. Designed for ease of use and compact integration, this module is suitable for various microcontroller projects, including those based on Arduino and STM32 platforms. It features an SH1116 driver for the 1.3-inch OLED display.

2. Specifications
| Feature | Description |
|---|---|
| Brand Name | Estardyn |
| Model Number | 1.3 OLED |
| Type | OLED Display Module |
| Display Mode | 128*64 |
| Resolution | 128*64 pixels |
| OLED Driver (1.3 inch) | SH1116 (Compatible with SSD1306 libraries) |
| OLED Driver (0.96 inch variant) | SH1315 |
| Input Voltage (VCC) | 2.2V - 5.5V |
| Logic Level (SCL/SDA) | 2.2V - 5.5V |
| Keyboard Type | 4x4 or 16-key matrix |
| Origin | Mainland China |
| Package Dimensions | 11 cm (L) x 11 cm (W) x 2 cm (H) |
| Package Weight | 0.03 kg |
3. Package Contents
The package typically includes:
- 1 x Estardyn 1.3 inch OLED Display Module (4-key or 16-key version, depending on selection)
- Header pins for connection (may vary by package)


4. Setup and Connection
This section details the pinout and connection instructions for integrating the OLED display module with common microcontrollers like Arduino and STM32. The module features an I2C interface for the OLED and a matrix interface for the keyboard.
4.1 Module Pinout
The module's pins are located on the back of the board. Refer to the image below for pin identification.

Common Pins:
- VCC: Power supply input (2.2V - 5.5V)
- GND: Ground connection
- SCL: I2C Clock line (High level: 2.2V to 5.5V)
- SDA: I2C Data line (High level: 2.2V to 5.5V)
4x4 Key Interface Pins:
- R1, R2, R3, R4 (Row pins)
- C1, C2, C3, C4 (Column pins)
- K1, K2, K3, K4 (Individual key pins, often mapped to R/C)
- JUMP (Specific to 4-key version, function may vary or be for internal use)
16-Key Interface Pins:
- K1 through K16 (Individual key pins)
4.2 Wiring Diagrams
The following diagrams illustrate typical connections for Arduino and STM32 microcontrollers. Ensure your microcontroller's logic levels are compatible with the module (2.2V-5.5V).

Detailed Connection Information from Figure 5:
Arduino Mega328p Connection Example:
- OLED Connections:
- GND to Arduino GND
- VCC to Arduino 3.3V
- SCL to Arduino A5 (SCL)
- SDA to Arduino A4 (SDA)
- 4x4 Keypad Connections:
- R1 to Arduino Digital Pin D2
- R2 to Arduino Digital Pin D3
- R3 to Arduino Digital Pin D4
- R4 to Arduino Digital Pin D5
- C1 to Arduino Digital Pin D6
- C2 to Arduino Digital Pin D7
- C3 to Arduino Digital Pin D8
- C4 to Arduino Digital Pin D9
STM32F103C8T6 Connection Example:
- OLED Connections:
- GND to STM32 GND
- VCC to STM32 3.3V
- SCL to STM32 PB6 (SCL)
- SDA to STM32 PB7 (SDA)
- 4x4 Keypad Connections:
- R1 to STM32 PA5
- R2 to STM32 PA6
- R3 to STM32 PA7
- R4 to STM32 PA8
- C1 to STM32 PA1
- C2 to STM32 PA2
- C3 to STM32 PA3
- C4 to STM32 PA4
For the 16-key version, connect each key pin (K1-K16) to individual digital input pins on your microcontroller, configuring them with pull-up resistors as needed by your code.

Key Pinout Details from Figure 6:
- 4-Key Module Pinout: GND, VCC, SCL, SDA, K4, K3, K2, K1, JUMP.
- 16-Key Module Pinout: GND, VCC, SCL, SDA, K1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11, K12, K13, K14, K15, K16.
The "Push-button Section" schematic provides internal wiring details for the matrix keyboard, which is useful for advanced users or for understanding how to interface with the key matrix directly if not using the provided Kx pins.
5. Operation
Once connected, the module operates as an I2C OLED display and a matrix keyboard. You will need appropriate libraries and code for your chosen microcontroller to interact with it.
5.1 OLED Display Operation
The OLED display uses the SH1116 (or SH1315 for 0.96 inch variants) driver. Standard I2C OLED libraries (e.g., Adafruit SSD1306 library, often compatible with SH1116 with minor modifications) can be used. Initialize the display with the correct I2C address (commonly 0x3C or 0x3D) and resolution (128x64).
Example functions typically include:
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);(or similar for SH1116)display.clearDisplay();display.setTextSize(1);display.setTextColor(SSD1306_WHITE);display.setCursor(0,0);display.println("Hello, World!");display.display();
5.2 Keyboard Operation
For the matrix keyboard, you will typically use a keypad library (e.g., Keypad.h for Arduino) that allows you to define the row and column pins. The library handles scanning the matrix to detect key presses.
For the 16-key version where each key has a dedicated pin, you can read each pin individually as a digital input. Configure these pins with internal pull-up resistors and detect a key press when the pin reads LOW.

6. Care and Maintenance
- Handling: Handle the module by its edges to avoid touching the display surface or sensitive components.
- Cleaning: Use a soft, dry, lint-free cloth to gently wipe the display surface if necessary. Avoid abrasive cleaners or solvents.
- Storage: Store the module in a dry, anti-static environment, away from direct sunlight and extreme temperatures.
- Power: Ensure the power supply voltage (VCC) is within the specified range (2.2V - 5.5V) to prevent damage.
- ESD Protection: Take appropriate electrostatic discharge (ESD) precautions when handling the module.
7. Troubleshooting
- Display not lighting up:
- Check power connections (VCC and GND).
- Verify I2C connections (SCL and SDA) are correct.
- Ensure the I2C address in your code matches the module's address (typically 0x3C or 0x3D).
- Confirm the display library is correctly initialized for the SH1116 driver.
- Garbled display or no text:
- Check for loose connections on SCL/SDA.
- Ensure the correct resolution (128x64) is set in your display initialization code.
- Verify that the display buffer is being updated and then displayed (e.g.,
display.display();).
- Keys not responding:
- Check all key matrix connections (R1-R4, C1-C4 or K1-K16).
- Ensure your keypad library is correctly configured with the assigned pins.
- Verify that the microcontroller pins are configured as inputs with pull-up resistors (either internal or external, depending on your setup and library).
- Module not detected by I2C scanner:
- Double-check power and ground connections.
- Ensure SCL and SDA lines are correctly connected and not shorted.
- Try a different I2C address if 0x3C/0x3D doesn't work (though these are standard).
8. User Tips
- Always double-check your wiring against the provided diagrams before powering on the module. Incorrect wiring can cause damage.
- When using Arduino, search for "SH1106 OLED library" or "SSD1306 OLED library" as SH1116 is often compatible with these, sometimes requiring a specific constructor or minor code adjustments.
- For keypad input, consider implementing debouncing in your code to prevent multiple key press detections from a single physical press.
- Start with simple "Hello World" examples for the OLED and basic key press detection for the keyboard to confirm functionality before integrating into complex projects.
9. Warranty and Support
For any issues or questions regarding the Estardyn 1.3 inch OLED Display Module, please contact your retailer or the manufacturer's support channel. Keep your purchase receipt for warranty claims. Specific warranty terms may vary by region and retailer.