1. Introduction
This manual provides detailed instructions for setting up, operating, and maintaining your TZT 1.5 Inch 128x128 OLED Screen Module. This versatile display module is available in both 4-pin (IIC) and 7-pin (SPI) versions, making it suitable for a wide range of microcontroller projects, including those based on Raspberry Pi, STM32, and Arduino platforms.
The module features a monochromatic positive OLED panel with 128x128 dot matrix resolution and 256-level contrast control, driven by the SH1107G-02 IC. Its compact size and clear display make it ideal for embedded systems requiring a small, efficient visual output.
2. Setup and Connection
The OLED module operates with an input voltage of 3.3V to 5V. Ensure your power supply matches this requirement. There are two main versions of the module, differing in their communication interface:
2.1. 4-Pin (IIC/I2C) Version
This version uses the IIC (Inter-Integrated Circuit) communication protocol, requiring fewer pins for connection. It is ideal for projects where pin count is a concern.
Pinout for 4-Pin (IIC) Module:
- VCC: Power Supply (3.3V - 5V)
- GND: Ground
- SCL: Serial Clock Line
- SDA: Serial Data Line
2.2. 7-Pin (SPI) Version
This version utilizes the SPI (Serial Peripheral Interface) protocol, offering potentially faster data transfer rates. It requires more pins but can be beneficial for applications demanding higher display update speeds.
Pinout for 7-Pin (SPI) Module:
- VCC: Power Supply (3.3V - 5V)
- GND: Ground
- CS: Chip Select
- RST: Reset
- DC: Data/Command Selection
- SDA: Serial Data Line (MOSI)
- SCL: Serial Clock Line
2.3. General Connection Steps:
- Identify Module Type: Determine if you have the 4-pin (IIC) or 7-pin (SPI) version.
- Power Connection: Connect VCC to your microcontroller's 3.3V or 5V power output and GND to the ground pin.
- Data Connection: Connect the SCL and SDA pins to the corresponding IIC or SPI pins on your microcontroller (e.g., A4/A5 for I2C on Arduino Uno, specific GPIOs for Raspberry Pi). For the 7-pin SPI version, also connect CS, RST, and DC.
- Software Setup: Install necessary libraries for your chosen microcontroller platform (e.g., Adafruit GFX and SSD1306 libraries for Arduino, or specific Python libraries for Raspberry Pi).
- Programming: Write or adapt code to initialize the SH1107 driver and display content on the OLED screen.
3. Operating the Module
The TZT 1.5 Inch OLED module is a graphic display capable of rendering text, images, and simple animations. Once correctly wired and powered, its operation is controlled entirely through software on your connected microcontroller.
- Display Characteristics: The display is monochromatic (single color, typically white) with a positive mode, meaning pixels are lit when active. It offers 256 levels of contrast control for fine-tuning visual output.
- Programming: You will need to use appropriate libraries and code to send commands and data to the SH1107 driver IC. This includes initializing the display, setting contrast, clearing the screen, drawing pixels, lines, shapes, and displaying text. Refer to the documentation for your chosen microcontroller platform and display library for specific programming examples.
4. Maintenance and Care
To ensure the longevity and optimal performance of your OLED module, follow these guidelines:
- Temperature: Operate the module within its specified working temperature range of -30℃ to 85℃. Store it between -40℃ and 90℃. Avoid prolonged exposure to extreme temperatures.
- Handling: Handle the module by its edges to avoid touching the display surface or the sensitive electronic components on the PCB. Static electricity can damage electronic components, so use anti-static precautions when handling.
- Cleaning: If necessary, gently clean the display surface with a soft, lint-free cloth. Do not use abrasive materials or harsh chemicals.
- Power Supply: Always use a stable power supply within the 3.3V-5V range. Over-voltage can permanently damage the module.
5. Troubleshooting
If you encounter issues with your OLED module, consider the following troubleshooting steps:
- Display Not Working/Blank Screen:
- Verify all wiring connections are secure and correct according to the pinout diagrams for your module version (IIC or SPI).
- Check the power supply (VCC and GND) to ensure it is within the 3.3V-5V range and stable.
- Confirm that the correct communication protocol (IIC address or SPI settings) is configured in your software.
- Ensure the display library is correctly installed and initialized in your code.
- Test with a known-good example code to rule out software issues.
- Garbled or Incorrect Display:
- Double-check your code for correct data transmission and display buffer management.
- Ensure the correct driver IC (SH1107) is specified in your library initialization.
- Verify that the display resolution (128x128) is correctly set in your software.
- Intermittent Display:
- Check for loose connections or cold solder joints.
- Ensure your power supply can provide sufficient current.
- Consider adding decoupling capacitors near the VCC and GND pins if experiencing noise issues.
6. Specifications
Detailed technical specifications for the TZT 1.5 Inch 128x128 OLED Screen Module:
| Feature | Specification |
|---|---|
| Display Type | Monochromatic Positive OLED |
| Resolution | 128 x 128 Dots |
| Contrast Control | 256-level |
| Driver IC | COG/SH1107G-02 |
| Interface | IIC (4-Pin) / SPI (7-Pin) |
| Input Voltage (VDD) | 3.3V ~ 5V |
| Working Temperature | -30℃ ~ 85℃ |
| Storage Temperature | -40℃ ~ 90℃ |
| Module Dimensions (L x W x T) | 34mm x 47mm x 11.3mm (Max) |
| Visible Area (V/A) (L x W) | 28.86mm x 28.86mm |
| Effective Area (A/A) (L x W) | 26.86mm x 26.86mm |
| Point Distance (L x W) | 0.21mm x 0.21mm |
| Dot Size (L x W) | 0.185mm x 0.185mm |
| Weight (with case) | 16.20g |
7. User Tips
- Operating Frequency: For optimal performance and stability, consider the operating frequency of your microcontroller and the display's capabilities. Some users have noted successful operation at frequencies around 20 MHz.
- Initial Inspection: Always perform a visual inspection and basic functionality test of the display module immediately upon receipt to ensure it is working correctly.
- Library Compatibility: When using third-party libraries, ensure they are compatible with the SH1107 driver IC and your specific microcontroller platform.
8. Warranty and Support
For any technical inquiries, support, or issues not covered in this manual, please contact the seller or manufacturer directly. Keep your purchase records for reference.