1. Introduction
This instruction manual provides comprehensive information for the TENSTAR ROBOT 1.3-inch OLED Display Module. This module is a compact, high-contrast display suitable for various embedded projects, offering a 128x64 pixel resolution and utilizing the SH1106 driver chip with IIC (I2C) communication. It is available in both white and blue display colors.

2. Specifications
The following table details the technical specifications of the 1.3" OLED Display Module:
| Feature | Specification |
|---|---|
| Dimension | 1.3 inch |
| Material | PM OLED |
| Resolution | 128*64 pixels |
| Control Chip | SH1106 |
| Display Area | 29.42 × 14.7 mm |
| PCB Size | 35.5 × 33.6 mm |
| Interface Type | IIC Interface (Two device addresses can be switched) |
| Display Color | White / Blue |
| Operating Voltage | 3.3-5V |
| Pixel Size | 0.21 × 0.21 mm |
| Pixel Pitch | 0.23 × 0.23 mm |
| Operating Current | Approx. 20mA (normal operation), microampere level (sleep mode) |
| Pin Count | 4 |
| Viewing Angle | Full viewing angle |
| Operating Temperature | -40 ~ 70 degrees Celsius |

3. Setup and Connection
The 1.3" OLED module uses a 4-pin IIC (I2C) interface for communication. Follow these steps to connect the module to your microcontroller:
3.1 Pinout Description
| Pin Number | Pin Name | Function Description |
|---|---|---|
| 1 | VDD | Power Supply (3.3V to 5V) |
| 2 | GND | Power Ground |
| 3 | SCK (SCL) | IIC Clock Line |
| 4 | SDA | IIC Data Line |
3.2 Connection Steps
- Connect the VDD pin of the OLED module to the 3.3V or 5V power supply output of your microcontroller. Ensure the voltage is within the 3.3V-5V range.
- Connect the GND pin of the OLED module to the ground (GND) pin of your microcontroller.
- Connect the SCK (SCL) pin of the OLED module to the I2C Clock pin of your microcontroller.
- Connect the SDA pin of the OLED module to the I2C Data pin of your microcontroller.
Refer to your microcontroller's documentation for the specific I2C pin assignments.

4. Operating Instructions
Once the module is correctly wired, you can begin programming your microcontroller to display content. The SH1106 driver chip is widely supported by various microcontroller platforms.
4.1 Software Setup
- Install Libraries: For platforms like Arduino, you will typically need to install an OLED library that supports the SH1106 driver (e.g., Adafruit GFX Library and Adafruit SH1106 Library).
- I2C Address: The module's I2C address is usually 0x3C or 0x3D. Some libraries allow you to specify this in your code. The module may have jumpers or solder pads to switch between addresses if needed.
- Initialization: In your code, initialize the display object, specifying the I2C address and the display resolution (128x64).
- Displaying Content: Use the library functions to draw pixels, lines, shapes, text, and images. Remember to call a display update function (e.g.,
display.display()in Adafruit libraries) after drawing to refresh the screen.
4.2 Basic Display Functions
clearDisplay(): Clears the entire display buffer.setTextSize(size): Sets the size of the text.setTextColor(color): Sets the color of the text (e.g., WHITE).setCursor(x, y): Sets the cursor position for text.print("text"): Prints text to the display buffer.drawPixel(x, y, color): Draws a single pixel.drawRect(x, y, width, height, color): Draws a rectangle.display(): Pushes the buffer content to the physical display.


5. Maintenance
To ensure the longevity and optimal performance of your OLED display module, follow these maintenance guidelines:
- Handle with Care: OLED displays are delicate. Avoid applying excessive pressure to the screen or bending the PCB.
- Prevent Static Discharge: Always handle the module in an ESD-safe environment to prevent damage from static electricity.
- Cleaning: If the screen or PCB becomes dirty, gently wipe it with a soft, dry, lint-free cloth. For stubborn smudges, a cloth lightly dampened with isopropyl alcohol can be used on the screen, but avoid contact with connectors.
- Avoid Prolonged Static Display: While OLEDs have a good lifespan, displaying static images for very long periods can lead to screen burn-in. It is recommended to vary the displayed content or turn off the display when not in use.
- Storage: Store the module in its original anti-static packaging or a similar protective container when not in use, away from direct sunlight, extreme temperatures, and high humidity.
6. Troubleshooting
If you encounter issues with your OLED display module, consider the following troubleshooting steps:
- No Display/Blank Screen:
- Check all power (VDD, GND) and I2C (SCK/SCL, SDA) connections for proper wiring and continuity.
- Verify that the power supply voltage is within the 3.3V-5V range.
- Ensure your microcontroller is powered on and running the correct code.
- Confirm the I2C address in your code matches the module's address (typically 0x3C or 0x3D).
- Garbled or Incorrect Display:
- Double-check that you are using the correct display library for the SH1106 driver and 128x64 resolution.
- Ensure the I2C communication lines (SCK/SCL, SDA) are not swapped.
- Verify that the display initialization parameters in your code are correct.
- Partial Display or Missing Pixels:
- This could indicate a faulty connection or a damaged display. Recheck connections.
- Ensure your code is writing to the entire display buffer and calling the display update function.
- Display Not Responding:
- Try resetting your microcontroller.
- Check for any short circuits on the PCB.
7. Warranty and Support
TENSTAR ROBOT products are manufactured to high-quality standards. For any technical assistance, warranty claims, or support inquiries, please contact your retailer or the TENSTAR ROBOT customer service directly. Please provide your purchase details and a clear description of the issue when seeking support.
This product is covered by a standard warranty against manufacturing defects. The warranty does not cover damage caused by improper use, accidental damage, unauthorized modifications, or normal wear and tear.