DWEII DW-WH11412

DWEII 2.42 inch 128x64 OLED LCD Display Module SSD1309 User Manual

Model: DW-WH11412

1. Einführung und Endeview

This manual provides detailed instructions for the DWEII 2.42 inch 128x64 OLED LCD Display Module, featuring the SSD1309 driver. This module is designed for various DIY electronic projects, including integration with platforms like Arduino UNO R3. The OLED technology offers high contrast and fast response times without requiring a backlight, making it suitable for diverse applications.

2. Produktmerkmale

  • Anzeigetyp: OLED (Organic Light Emitting Diode)
  • Bildschirmgröße: 2.42 Zoll (Diagonale)
  • Auflösung: 128 x 64 Pixel
  • Treiber-IC: SSD1309
  • Schnittstellenoptionen: Supports both SPI (Serial Peripheral Interface) and IIC (Inter-Integrated Circuit, also known as I2C) serial communication.
  • Hoher Kontrast: Achieves superior contrast ratios, especially in low ambient light.
  • Schnelle Reaktionszeit: Provides quick display updates.
  • Keine Hintergrundbeleuchtung erforderlich: OLED pixels emit their own light.
  • Kompatibilität: Designed for DIY electronic projects, compatible with microcontrollers such as Arduino UNO R3.

3. Lieferumfang

  • 1 x DWEII 2.42 inch 128x64 OLED LCD Display Module (White Light)

4. Spezifikationen

SpezifikationWert
MarkeDWEII
ModellnummerDW-WH11412
Bildschirmgröße2.42 Zoll
Auflösung128x64 Pixel
Treiber-ICSSD1309
KonnektivitätstechnologieSPI, I2C (IIC)
Kompatible GeräteArduino UNO R3, other microcontrollers
BetriebssystemkompatibilitätLinux (for development environments)
CPU-HerstellerAtmel (for compatible microcontrollers)
UPC701715516403

5. Einrichtung

5.1 Pin-Definitionen

The module features a 7-pin interface. Understanding these pins is crucial for proper connection:

  • 1. Masse: Energie Boden
  • 2. VCC: Power Supply Positive (typically 3.3V or 5V, refer to module specifications for exact voltage)
  • 3. SCL: Clock Line (SPI: SCK, IIC: SCL)
  • 4. SDA: Data Line (SPI: MOSI, IIC: SDA)
  • 5. RES: Reset Line
  • 6. Gleichstrom: Data / Command Selection Line (SPI: DC, IIC: Address selection)
  • 7. CS: Chip Select Line (Used for SPI, typically tied high or low for IIC)

5.2 Interface Selection (SPI / IIC)

The module supports both SPI and IIC communication protocols. The selection is made by configuring specific resistors on the module, typically R3, R4, and R5. Refer to the silkscreen markings on your specific module for the exact configuration. Generally:

  • For SPI: A specific resistor configuration (e.g., R5 bridged, R4 & R9 open as per some module variations) enables SPI mode.
  • For IIC (I2C): A different resistor configuration (e.g., R5 open, R4 & R9 bridged as per some module variations) enables IIC mode.

Notiz: This often involves soldering or desoldering small surface-mount resistors. Exercise caution or seek professional assistance if you are not experienced with fine soldering. Some modules may have these resistors located under the flexible ribbon cable connecting the OLED panel to the PCB, requiring careful temporary detachment of the cable.

5.3 Physical Connection Example (Arduino UNO R3)

Below are general guidelines for connecting the module. Specific pin assignments may vary based on your chosen interface (SPI or IIC) and microcontroller.

Vorder- und Rückseite view of the DWEII 2.42 inch OLED display module, showing the screen on the front and the circuit board with pin headers on the back.

Abbildung 1: Vorder- und Rückseite View of the OLED Display Module. The front shows the display area, and the back reveals the PCB with components and pin definitions.

Dimensions of the DWEII 2.42 inch OLED display module, showing a length of 71mm (2.79in) and a width of 43.5mm (1.71in).

Figure 2: Physical Dimensions of the OLED Display Module. This image provides the length and width measurements for integration into projects.

Front view of the DWEII 2.42 inch OLED display module with the included pin header, showing the display area and the 7-pin interface.

Abbildung 3: Vorderseite View of the OLED Display Module with Pin Header. This image highlights the display surface and the connection pins.

IIC (I2C) Connection:

  • Masse to Arduino GND
  • VCC to Arduino 3.3V or 5V (depending on module's voltage tolerance)
  • SCL to Arduino A5 (SCL)
  • SDA to Arduino A4 (SDA)
  • RES to a digital pin (e.g., D4) or a power-on-reset circuit (see Troubleshooting)
  • DC to GND for I2C address 0x3C, or VCC for I2C address 0x3D (or leave floating for default 0x3C)
  • CS (Chip Select) can be tied to GND or VCC for I2C mode, as it's primarily for SPI.

SPI-Anschluss:

  • Masse to Arduino GND
  • VCC to Arduino 3.3V or 5V
  • SCL to Arduino D13 (SCK)
  • SDA to Arduino D11 (MOSI)
  • RES to a digital pin (e.g., D4)
  • DC to a digital pin (e.g., D5)
  • CS to a digital pin (e.g., D10)

6. Bedienungsanleitung

6.1 Software Libraries

To operate the OLED display, you will typically use a compatible software library for your microcontroller platform. For Arduino, the Adafruit_SSD1306 library is widely used and often works with SSD1309-based displays, despite the name difference. Ensure you install the necessary dependencies, such as the Adafruit GFX Library.

6.2 Basic Initialization (IIC Example)

After wiring, initialize the display in your code. Here's a conceptual example using the Adafruit_SSD1306 library for IIC:

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels

// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
// The I2C address can be 0x3C or 0x3D, depending on the DC pin state.
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1); // -1 for no hardware reset pin

void setup() {
Serial.begin(9600);

// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { // Address 0x3C for 128x64
Serial.println(F("SSD1306 allocation failed"));
for(;;); // Don't proceed, loop forever
}

// Clear the buffer
display.clearDisplay();

// Display text
display.setTextSize(1);
display.setTextColor(SSD1306_WHITE);
display.setCursor(0,0);
display.println("Hello, World!");
display.display();
}

void loop() {
// Your main program loop
}

Adjust the I2C address (0x3C or 0x3D) and the reset pin parameter (-1 if using a power-on-reset circuit or not connecting the RES pin, otherwise specify the digital pin number) according to your setup.

7. Wartung

  • Reinigung: Use a soft, dry, anti-static cloth to gently wipe the display surface. Avoid abrasive cleaners or excessive moisture.
  • Handhabung: Handle the module by its edges to avoid touching the display area or sensitive electronic components.
  • Lagerung: Lagern Sie das Modul an einem trockenen, kühlen Ort, fern von direkter Sonneneinstrahlung und extremen Temperaturen.
  • Leistung: Stellen Sie sicher, dass die Stromversorgungslautstärketage is within the specified range for the module to prevent damage.

8. Fehlerbehebung

8.1 Display leuchtet nicht auf

  • Power-Check: Verify that VCC and GND connections are correct and receiving the appropriate voltage.
  • Verbindungen: Double-check all data and clock line connections (SDA, SCL/MOSI, SCK) to your microcontroller.
  • Reset Pin (RES): The RES pin is critical. Ensure it is properly connected to a digital pin on your microcontroller and toggled during initialization, or implement a power-on-reset circuit (e.g., a 10k resistor from VCC to RES and a 1uF capacitor from RES to GND) if you prefer not to use a dedicated microcontroller pin.
  • Schnittstellenauswahl: Confirm that the module's hardware configuration (resistors R3, R4, R5) matches your chosen communication protocol (SPI or IIC).

8.2 Incorrect or Garbled Display

  • I2C-Adresse: For IIC mode, ensure the correct I2C address (0x3C or 0x3D) is used in your code, corresponding to the state of the DC pin.
  • Library Compatibility: While Adafruit_SSD1306 often works, ensure your library is compatible with the SSD1309 driver.
  • Code Logic: Review your code for correct initialization, buffer clearing, text/graphics drawing, and the display() command to update the screen.
  • Datenintegrität: Check for loose connections or interference that might corrupt data transmission.

9. Garantieinformationen

This DWEII OLED LCD Display Module comes with a limited warranty. Please refer to your purchase documentation or contact the retailer for specific warranty terms and duration. Typically, a 1-year warranty covers manufacturing defects under normal use.

10. Unterstützung

For further assistance, technical support, or inquiries regarding the DWEII 2.42 inch 128x64 OLED LCD Display Module, please refer to the seller's support channels or visit the manufacturer's website. Online communities and forums dedicated to Arduino and OLED displays can also be valuable resources for project-specific questions.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.