diymore 030526

Diymore 2.42 inch OLED Display Module (SSD1309) User Manual

Introducció

This manual provides instructions for the Diymore 2.42 inch OLED Display Module, model 030526. This module features a 128x64 pixel resolution and is driven by an SSD1309 IC. It supports both SPI and I2C serial communication interfaces, making it suitable for various electronic projects, including those with Arduino development boards.

Diymore 2.42 inch OLED Display Module showing 'DIY MORE' logo and menu options

Figura 1: Frontal view of the Diymore 2.42 inch OLED Display Module with example display content.

Instruccions de configuració

The Diymore 2.42 inch OLED module offers flexible connectivity options. It is factory-set for SPI communication but can be configured for I2C. Ensure all connections are secure before applying power.

1. Pinout Overview

The module features a row of pins for connection. Refer to the image below for pin identification.

Enrere view of the Diymore 2.42 inch OLED Display Module showing pin labels and component layout

Figura 2: Esquena view of the OLED module with pin labels (CS, DC, RES, SDA, SCL, VCC, GND) and resistor locations (R3, R4, R5).

2. SPI Communication Setup (Factory Setting)

The module is configured for 4-wire SPI communication by default. Connect the module to your microcontroller (e.g., Arduino Nano) as follows:

This configuration utilizes hardware SPI on some Arduino boards, but the example above uses specific digital pins for a software SPI or bit-banged approach, which is common for compatibility.

3. I2C Communication Setup

To enable I2C communication, a hardware modification is required:

  1. Resistor R4 to R3: Carefully move the resistor from position R4 to position R3 on the back of the module.
  2. Solder R5: Solder a 0 ohm resistor (or bridge the pads with solder) at position R5.

After modification, connect the module to your microcontroller as follows:

Note that the module's pins are labeled for I2C (SDA, SCL) even when factory-set for SPI. This can cause initial confusion, but the resistor modification correctly enables I2C functionality.

Instruccions de funcionament

Once the module is correctly wired, you can begin programming your microcontroller to display content. The SSD1309 driver IC is largely compatible with libraries designed for the SSD1306.

1. Software Libraries

For Arduino projects, the Biblioteca Adafruit_SSD1306 is widely used and compatible with this module. Install it via the Arduino IDE's Library Manager.

2. Inicialització

After including the library, initialize the display object in your code, specifying the resolution (128, 64) and the communication interface (SPI or I2C) along with the corresponding pins. For example, for SPI:

#include <Adafruit_SSD1306.h>

#define OLED_MOSI 9
#define OLED_CLK 10
#define OLED_DC 11
#define OLED_CS 12
#define OLED_RESET 13

Adafruit_SSD1306 display(128, 64, OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);

For I2C, after the hardware modification, the initialization might look like this:

#include <Adafruit_SSD1306.h>

#define OLED_RESET 4 // Or connect to your board's reset pin

Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET); // Using default I2C pins (SDA, SCL)

Refer to the library's examples for detailed usage, including drawing text, shapes, and bitmaps.

Diymore 2.42 inch OLED Display Module with a blank, unlit screen

Figura 3: Frontal view of the OLED module with a blank screen, indicating it is powered off or not initialized.

Manteniment

To ensure the longevity and optimal performance of your OLED display module, follow these maintenance guidelines:

Resolució de problemes

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

Especificacions

CaracterísticaDetall
Resolució128 x 64 píxels
IC del conductorSSD1309
Mida diagonal de la pantalla2.42 polzades
Opcions d'interfície4-wire SPI (Default), I2C (requires modification), 8-bit interfaces
Unsupported InterfaceSPI de 3 fils
Approximate Dimensions (Package)3.5 x 2.1 x 0.5 polzades
Pes aproximat de l'article0.634 unces
Número de model030526

Informació de la garantia

This Diymore OLED Display Module is covered by an 18 mesos de garantia from the date of purchase. This warranty covers manufacturing defects and ensures the product functions as described under normal use. Please retain your proof of purchase for warranty claims.

Atenció al client

For any questions, technical assistance, or support regarding your Diymore 2.42 inch OLED Display Module, please contact our customer support team. We offer Atenció al client les 24 hores to assist you with your inquiries.

For contact information, please refer to the seller's page on Amazon or the official Diymore weblloc.

Documents relacionats - 030526

Preview ESP8266 Mini Weather Forecast Clock Kit - DIY Electronic Project
Build your own smart weather station with the ESP8266 Mini Weather Forecast Clock Kit. This DIY project features an OLED display, WiFi connectivity for real-time updates, and easy assembly with clear instructions.
Preview Guia de muntatge del braç robòtic DIYMORE 6DOF
Una guia completa per muntar el kit de braç robòtic DIYMORE 6DOF, que detalla la identificació de les peces, les instruccions de muntatge pas a pas i consells per a una construcció correcta.
Preview Guia de muntatge del braç robòtic diymore: instruccions pas a pas
Una guia completa per muntar el kit de braç robòtic diymore 6DOF. Aquest manual proporciona instruccions detallades pas a pas, una llista completa de peces i consells útils per construir el vostre propi braç robòtic amb servos MG996 i compatible amb Arduino i Raspberry Pi.
Preview ESP32-CAM: Configuració de l'IDE d'Arduino per a la transmissió de vídeo i la fotografia
Una guia completa per configurar l'IDE d'Arduino per al mòdul ESP32-CAM. Apreneu a instal·lar l'IDE, configurar la compatibilitat amb la placa ESP32 i executar l'ex.ampel codi per a la transmissió de vídeo i la presa de fotos.
Preview 5A 75W DC-DC Step Down Converter: Adjustable Voltage Regulator with USB and CC/CV
Comprehensive guide for the 5A 75W DC-DC step-down voltage inverter converter regulator (model CZB6721960). Features adjustable voltage (1.25-32V), constant current/constant voltage (CC/CV) modes, USB output, and a protective case. Includes detailed specifications, applications, usage instructions, and calibration methods.
Preview GC06A MP3 Player Module - Features, Specifications, and Usage Guide
Detailed information on the diymore GC06A MP3 player module, including its features, technical parameters, playback modes, music download instructions, package contents, and applications for DIY projects and greeting cards.