DIYmall FZ1112

DIYmall 0.96 Inch Blue OLED Module (I2C/IIC, 128x64) Instruction Manual

Model: FZ1112

1. Product Overview

The DIYmall 0.96 Inch Blue OLED Module is a compact, self-illuminating display featuring 128x64 pixels. It utilizes an I2C/IIC serial interface, requiring only two I/O pins for communication. This module is designed for integration with various microcontroller platforms, including Arduino, Micro:bit, 51 series, MSP430 series, and STIM32/2/SCR chips. Its blue display offers a wide viewing angle of over 160 degrees and operates with low power consumption.

Two DIYmall 0.96 Inch Blue OLED Modules
Image 1.1: Two DIYmall 0.96 Inch Blue OLED Modules. These modules are compact, blue-colored displays with a 128x64 pixel resolution, designed for various microcontroller projects.

2. Specifications

FeatureDescription
Size0.96 Inch
ColorBlue
Resolution128x64 pixels
Viewing AngleGreater than 160 degrees
Supported PlatformsArduino, 51 series, MSP430 series, STIM32/2, SCR chips, Micro:bit
Power Consumption0.04W (normal operation)
Voltage Support3.3V-5V DC
Working Temperature-30 to 80 degrees Celsius
Dimensions (Volume)27mm x 27mm x 4.1mm
Driver ICSSD1306
Communication InterfaceIIC (I2C), 2 I/O ports required
Font HandlingSoftware-based word modulo (no built-in font)
BacklightOLED self-illuminating, no separate backlight required
Product Dimensions (L x W x H)1.18 x 1.97 x 1.18 inches
Item Weight0.353 ounces
Model NumberFZ1112
DIYmall 0.96 Inch OLED Module showing voltage range
Image 2.1: The 0.96 Inch OLED module, highlighting its operating voltage range of 3.3V to 5V.
Technical drawing with dimensions of the OLED module
Image 2.2: A technical drawing illustrating the precise dimensions of the 0.96 Inch OLED module, useful for integration into projects.

3. Setup

This section outlines the basic steps for connecting and preparing your DIYmall 0.96 Inch Blue OLED Module for use with a microcontroller.

3.1 Wiring Connections (Arduino Example)

The OLED module communicates via I2C (also known as IIC), requiring four connections:

  • VCC: Power supply (3.3V-5V)
  • GND: Ground
  • SCL: Serial Clock Line (I2C Clock)
  • SDA: Serial Data Line (I2C Data)

For an Arduino UNO, typical connections are:

  • OLED VCC to Arduino 5V (red wire)
  • OLED GND to Arduino GND (black wire)
  • OLED SCL to Arduino A5 (white wire)
  • OLED SDA to Arduino A4 (yellow wire)
Arduino UNO connected to 0.96 Inch OLED module
Image 3.1: A DIYmall 0.96 Inch OLED module connected to an Arduino UNO board, illustrating the required VCC, GND, SCL, and SDA connections.

3.2 I2C Address Configuration

The I2C address of the module can be changed if necessary. Refer to the product's third picture for details on modifying the IIC address by adjusting a resistor.

Close-up of OLED module showing IIC address jumper
Image 3.2: A close-up view of the OLED module's back, indicating the location of the resistor that can be removed and soldered to change the IIC address.

3.3 Library Installation (Arduino IDE)

To use the OLED module with Arduino, you will need to install the appropriate libraries. The Adafruit SSD1306 library is commonly used. Ensure you also have the Adafruit GFX library installed as it is a dependency.

Steps:

  1. Open the Arduino IDE.
  2. Go to Sketch > Include Library > Manage Libraries...
  3. Search for "SSD1306" and install the "Adafruit SSD1306" library.
  4. Search for "GFX" and install the "Adafruit GFX Library".
  5. For clock functionality with ESP32, you may also need the "RTClib" library.

For detailed instructions on library installation and code examples, refer to the following video:

Video 3.1: This video demonstrates how to install necessary libraries and use a 1.3 inch OLED display in the Arduino IDE. While the video features a 1.3 inch display, the library installation and basic coding principles are applicable to the 0.96 inch module.

4. Operating

Once the module is wired and libraries are installed, you can upload example code to test its functionality and begin your projects.

4.1 Basic Display Functionality

The Adafruit SSD1306 library includes examples that demonstrate various display functions such as drawing shapes, text, and bitmaps. These examples are a good starting point to verify your setup.

OLED module displaying various test patterns and text
Image 4.1: The OLED module displaying various test patterns and text, demonstrating its graphical capabilities and successful operation.

4.2 Using with ESP32 and Clock Module

The OLED module can be combined with an ESP32 development board and a DS3231 Real-Time Clock (RTC) module to create projects requiring time display. Ensure correct wiring between the ESP32, RTC, and OLED module.

Connection Diagram (ESP32, DS3231, OLED):

  • ESP-32 3V3/5V to DS3231 VCC and OLED VCC
  • ESP-32 GND to DS3231 GND and OLED GND
  • ESP-32 D21 to DS3231 SDA and OLED SDA
  • ESP-32 D22 to DS3231 SCL and OLED SCL

Refer to the following video for a visual guide on connecting and using the OLED module with an ESP32 and clock module:

Video 4.2: This video demonstrates how to connect and use the OLED module with a DOIT DEVIT V1 (ESP32) board and a clock module, including wiring and code setup.

5. Maintenance

The DIYmall 0.96 Inch Blue OLED Module is a robust component, but proper handling and care will ensure its longevity and optimal performance.

  • Handling: Avoid applying excessive pressure to the display surface. Handle the module by its edges to prevent damage to the screen or circuit board.
  • Cleaning: If necessary, gently clean the display surface with a soft, dry, lint-free cloth. Do not use abrasive cleaners or solvents.
  • Storage: Store the module in a dry, anti-static environment, away from direct sunlight and extreme temperatures.
  • Power Supply: Always ensure your power supply voltage is within the specified 3.3V-5V DC range to prevent damage.

6. Troubleshooting

If you encounter issues with your OLED module, consider the following troubleshooting steps:

  • Display Not Lighting Up:
    • Verify all wiring connections (VCC, GND, SDA, SCL) are correct and secure.
    • Ensure the power supply voltage is within the 3.3V-5V range.
    • Check if the microcontroller is powered on and running the code.
  • Incorrect Display Output or No Output:
    • I2C Address: The default I2C address for the SSD1306 is often 0x3C or 0x3D. If your code uses 0x3D and the display is not working, try changing it to 0x3C in your code (e.g., display.begin(SSD1306_SWITCHCAPVCC, 0x3C);). Refer to Image 3.2 for physical address modification if needed.
    • Library Issues: Confirm that the Adafruit SSD1306 and Adafruit GFX libraries are correctly installed and updated in your Arduino IDE.
    • Code Errors: Review your code for any syntax errors or logical issues. Use the Arduino IDE's serial monitor to check for debug messages.
    • Pin Assignments: Double-check that the SDA and SCL pins in your code match the physical pins you've connected on your microcontroller.
  • Flickering Display:
    • Ensure stable power supply.
    • Check for loose connections.

For further assistance, consult online forums and resources related to SSD1306 OLED displays and your specific microcontroller platform.

Video 6.1: This video provides a general overview and demonstration of the DIYmall 0.96'' OLED Display, showcasing its features and potential applications.

7. Warranty and Support

For warranty information or technical support regarding your DIYmall 0.96 Inch Blue OLED Module, please contact DIYmall directly through their official channels or the retailer from whom the product was purchased. Keep your proof of purchase for any warranty claims.

Related Documents - FZ1112

Preview ESP32-3248S035 Display Module: Firmware Flashing Guide with Arduino IDE and Espressif Tool
A comprehensive guide to flashing firmware onto the ESP32-3248S035 TFT capacitive touch display module using both the Arduino IDE and the Espressif Download Tool. Includes step-by-step instructions and configuration details.
Preview DIYmall 4WD Technical Car Chassis Building Kit with IR Remote Control
Discover the DIYmall 4WD Technical Car Chassis Building Kit, designed for enthusiasts and creators. This kit includes essential components such as an IR remote control, M servo motor, and AA battery box, enabling the construction of advanced robotic and vehicle models. Compatible with LEGO-style MOC projects, it offers a versatile platform for technical building.