Stufin
Home Quick Cart Profile

2.4 inch HMI UART DWIN IPS Display

Buy Now

Component Name

2.4 inch HMI UART DWIN IPS Display

Overview

The 2.4 inch HMI UART DWIN IPS Display is a high-quality, compact, and versatile human-machine interface (HMI) display module designed for various IoT applications. This display module integrates a 2.4-inch IPS (In-Plane Switching) LCD panel, a DWIN HMI controller, and a UART (Universal Asynchronous Receiver-Transmitter) interface.

Functionality

The 2.4 inch HMI UART DWIN IPS Display is a interactive display module that allows users to visualize and interact with IoT devices, systems, and applications. It provides a graphical user interface (GUI) for users to monitor, control, and configure various IoT devices, sensors, and systems. The display module can be connected to microcontrollers, single-board computers, or other devices via the UART interface, enabling seamless communication and data exchange.

Key Features

  • Display Specifications

Display Size

2.4 inches

Display Type

IPS (In-Plane Switching) LCD

Resolution

240x320 pixels

Display Color

65K colors

Aspect Ratio

  • DWIN HMI Controller
43

The DWIN HMI controller is a powerful and flexible controller that supports various HMI protocols and interfaces.

It features a built-in graphics processing unit (GPU) for fast and efficient graphics rendering.

  • UART Interface

The UART interface enables serial communication between the display module and the connected device.

Baud rate

Up to 115200 bps

Data bits

7 or 8 bits

Stop bits

1 or 2 bits

Parity

None, even, or odd

  • GUI Development

The display module supports user-defined GUI designs using various development tools, such as DWIN's HMI development software or third-party GUI development tools.

  • Operating Conditions

Operating Temperature

-20C to 70C

Storage Temperature

-30C to 80C

Humidity

5% to 95% RH (non-condensing)

  • Power Supply

Power Supply Voltage

5V

Power Consumption

<200mA (typical), <300mA (max)

  • Physical Characteristics

Dimensions

55.4mm x 36.4mm x 12.6mm (without pins)

Weight

approximately 20g

Applications

The 2.4 inch HMI UART DWIN IPS Display is suitable for various IoT applications, including

Industrial automation and control systems

Home automation and smart home devices

Medical devices and equipment

Automotive systems and accessories

Consumer electronics and appliances

IoT prototyping and development projects

Benefits

High-quality IPS display with excellent viewing angles and color reproduction

Compact size and low power consumption make it ideal for battery-powered devices

Easy integration with microcontrollers and single-board computers via UART interface

Support for user-defined GUI designs and development tools

Wide operating temperature range and humidity tolerance

Overall, the 2.4 inch HMI UART DWIN IPS Display is a versatile and reliable display module that enables the creation of interactive and user-friendly IoT devices and systems.

Pin Configuration

  • 2.4 inch HMI UART DWIN IPS Display Pinout Documentation
  • The 2.4 inch HMI UART DWIN IPS Display is a compact and intuitive display module designed for various IoT and embedded system applications. This documentation provides a detailed explanation of the display's pinout, ensuring a clear understanding of how to connect and interface with the module.
  • Pinout Structure:
  • The display module has a total of 20 pins, divided into two rows of 10 pins each. The pins are labeled as follows:
  • Row 1:
  • 1. VCC (Power Supply): 3.3V to 5V DC power supply for the display module.
  • - Connect to a stable power source, ensuring the voltage remains within the specified range.
  • 2. GND (Ground): Ground connection for the display module.
  • - Connect to the ground pin of the power source or the system's ground.
  • 3. RX (UART Receive): UART receive pin for serial communication.
  • - Connect to the transmit (TX) pin of the microcontroller or the serial communication source.
  • 4. TX (UART Transmit): UART transmit pin for serial communication.
  • - Connect to the receive (RX) pin of the microcontroller or the serial communication source.
  • 5. RST (Reset): Reset pin for the display module.
  • - Connect to a digital output pin of the microcontroller or a reset signal source. A low signal on this pin resets the display module.
  • 6. CS (Chip Select): Chip select pin for SPI communication (not used in UART mode).
  • - Leave unconnected in UART mode or connect to a digital output pin of the microcontroller for SPI mode.
  • 7. SCK (Serial Clock): Serial clock pin for SPI communication (not used in UART mode).
  • - Leave unconnected in UART mode or connect to a digital output pin of the microcontroller for SPI mode.
  • 8. SDA (Serial Data): Serial data pin for SPI communication (not used in UART mode).
  • - Leave unconnected in UART mode or connect to a digital output pin of the microcontroller for SPI mode.
  • 9. BKL (Backlight): Backlight control pin for the display.
  • - Connect to a digital output pin of the microcontroller to control the backlight.
  • 10. FPS (Power Saving): Power saving pin for the display (not used).
  • - Leave unconnected.
  • Row 2:
  • 11. FPS (Power Saving): Power saving pin for the display (not used).
  • - Leave unconnected.
  • 12. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 13. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 14. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 15. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 16. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 17. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 18. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 19. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • 20. reserved: Reserved pin (do not use).
  • - Leave unconnected.
  • Connection Guidelines:
  • Ensure secure connections to prevent damage or malfunction.
  • Use Breadboard-friendly headers or 1.27mm pitch connectors for easy connection.
  • Follow the datasheet and user manual for the microcontroller or serial communication source to ensure correct serial communication settings.
  • The display module can operate in UART mode, which is the default mode. For SPI mode, consult the datasheet for specific pin connections and configuration.
  • Remember to handle the display module with care, as it is a sensitive electronic component. For any further assistance or clarification, refer to the display module's datasheet and user manual.

Code Examples

2.4 inch HMI UART DWIN IPS Display Documentation
Overview
The 2.4 inch HMI UART DWIN IPS Display is a compact, high-resolution display module designed for human-machine interface (HMI) applications in the Internet of Things (IoT) domain. This display module features a 2.4-inch IPS screen with a resolution of 320x240 pixels, and communicates with a microcontroller or other devices via a UART interface. It's suitable for various IoT projects, such as industrial control systems, medical devices, and consumer electronics.
Technical Specifications
Display Size: 2.4 inches
 Display Type: IPS (In-Plane Switching)
 Resolution: 320x240 pixels
 Interface: UART (Universal Asynchronous Receiver-Transmitter)
 Communication Speed: Up to 115200 bps
 Operating Voltage: 5V
 Operating Current: 150mA (typical)
 Dimensions: 65.5 x 44.5 mm
Pinout
The display module has a 6-pin interface:
VCC (5V power supply)
 GND (ground)
 TX (UART transmit)
 RX (UART receive)
 RST (reset)
 NC (not connected)
Code Examples
Here are three code examples demonstrating how to use the 2.4 inch HMI UART DWIN IPS Display in different contexts:
Example 1: Arduino Uno
This example demonstrates how to display a simple text message on the display using an Arduino Uno board.
```c
#include <SoftwareSerial.h>
// Define UART pins for the display
#define DISPLAY_RX 2
#define DISPLAY_TX 3
SoftwareSerial displayUART(DISPLAY_RX, DISPLAY_TX);
void setup() {
  displayUART.begin(9600);
  delay(100);
  displayUART.println("Hello, World!");
}
void loop() {
  // Do nothing
}
```
Example 2: Raspberry Pi (Python)
This example shows how to display an image on the display using a Raspberry Pi board with Python.
```python
import serial
import time
from PIL import Image
# Open the serial port
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1)
# Load an image
image = Image.open('image.bmp')
# Send the image data to the display
ser.write(b'x11x45x00x00x00x00')  # Command to set image data
for pixel in image.tobytes():
    ser.write(pixel.to_bytes(1, 'big'))
# Wait for the display to process the data
time.sleep(1)
# Send a command to update the display
ser.write(b'x11x46x00x00x00x00')
```
Example 3: ESP32 (MicroPython)
This example demonstrates how to display a numeric value on the display using an ESP32 board with MicroPython.
```python
import machine
import utime
# Define UART pins for the display
uart = machine.UART(1, 9600, tx=25, rx=26)
def display_number(value):
    uart.write(b'x11x43')  # Command to set text data
    uart.write(str(value).encode('utf-8'))
    uart.write(b'x11x42')  # Command to update the display
# Initialize the display
uart.write(b'x11x41x00x00x00x00')  # Command to initialize the display
# Display a numeric value
display_number(42)
```
These examples illustrate the basic usage of the 2.4 inch HMI UART DWIN IPS Display in different contexts. For more advanced usage, please refer to the display module's datasheet and documentation provided by the manufacturer.