Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

4.0inch ESP32-32E Display: Difference between revisions

From LCD wiki
More languages
No edit summary
Fang (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:


{{gallery|width=350px|height=350px
{{gallery|width=350px|height=350px
|File:E32N40T-01.png|E32N35T-TopView
|File:E32N40T-01.png|E32N40T-TopView
|File:E32N40T-02.png|E32N40T--BottomView
|File:E32N40T-02.png|E32N40T--BottomView
}}
}}
Line 101: Line 101:
|-
|-
| align="center" |'''Operating Temperature'''
| align="center" |'''Operating Temperature'''
| align="center" |-10~50(℃)
| align="center" | -20~60(℃)
|-
|-
| align="center" |'''Storage Temperature'''
| align="center" |'''Storage Temperature'''
| align="center" |-20~60(℃)
| align="center" | -30~70(℃)
|}
|}


Line 190: Line 190:
| align="center" |When ESP32 is reset: 40mA
| align="center" |When ESP32 is reset: 40mA
When only the display screen is working: 230mA
When only the display screen is working: 230mA
When the display screen, speaker, and battery charging are all working: 580mA
When the display screen, speaker, and battery charging are all working: 580mA
|-
|-
Line 196: Line 197:
|-
|-
|'''Backlight Brightness (Actual Value)'''
|'''Backlight Brightness (Actual Value)'''
|With touch screen: 370 cd/m<sup>2</sup> Without touch screen: 472 cd/m<sup>2</sup>
|With touch screen: 370 cd/m<sup>2</sup>  
Without touch screen: 472 cd/m<sup>2</sup>
|-
|-
|'''Supported Speaker Power Consumption (Maximum)'''
|'''Supported Speaker Power Consumption (Maximum)'''
Line 467: Line 469:


= Tool Software =
= Tool Software =
[[File:Zip-001.png|24x24px]]  [[:en:res/software/Flash_Download.zip|'''Flash_Download''']] <br>
[[File:Zip-001.png|24x24px]]  [[:en:res/software/Flash_Download.zip|'''Flash_Download''']]
[[File:Zip-001.png|24x24px]]  [[:en:res/software/JPGCompact_V5.0.zip|'''JPGCompact''']] <br>
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/TCP_UDP测试工具.zip|'''TCP_UDP Testing Tool''']] <br>
[[File:Zip-001.png|24x24px]]  [[:en:res/software/JPGCompact_V5.0.zip|'''JPGCompact''']]
[[File:Zip-001.png|24x24px]]  [[:en:res/software/USB-SERIAL_CH340.zip|'''USB-SERIAL_CH340''']] <br>
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/串口调试助手.zip|'''Serial Port Debugging Assistant''']] <br>
[[File:Zip-001.png|24x24px]]  [[:en:res/software/TCP_UDP测试工具.zip|'''TCP_UDP test tool''']]
[[File:Zip-001.png|24x24px]]  [[:en:res/software/网络调试助手.zip|'''Network Debugging Assistant''']] <br>
 
[[File:APK-001.png|24x24px]]  [[:en
[[File:Zip-001.png|24x24px]]  [[:en:res/software/USB-SERIAL_CH340.zip|'''USB-SERIAL_CH340''']]
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/串口调试助手.zip|'''Serial debugging assistant''']]
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/网络调试助手.zip|'''Network debugging assistant''']]
 
[[File:APK-001.png|24x24px]]  [[:en:res/software/esptouch-v2.0.0.apk|'''esptouch''']]
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/PCtoLCD2002.zip|'''PCtoLCD2002''']]
 
[[File:Zip-001.png|24x24px]]  [[:en:res/software/Image2Lcd.zip|'''Image2Lcd''']]

Latest revision as of 17:10, 25 July 2025

Product Images



Product Introduction

  • Comes with an ESP32-32E module, facilitating development and providing ample development resources.
  • 3.95/4.0-inch color screen with a resolution of 320x480, supporting up to 262K colors (RGB666), offering rich color display.
  • Abundant interfaces, making it convenient to connect various peripherals (such as I2C, SPI, UART and other peripherals).
  • Supports external speakers for audio playback.
  • Equipped with an RGB tricolor indicator light, providing diverse status indications.
  • Comes with a resistive touch screen, enabling convenient human-computer interaction.
  • Standard TYPE-C interface, enabling easy program downloading and power supply.
  • Has a micro TF card slot for easy storage expansion.
  • Supports external lithium batteries, being lightweight and portable.
  • Features a battery charging management circuit to ensure the safe charging and discharging of the battery.
  • Provides a wealth of example programs, making it easy to learn.
  • Offers underlying driver technical support, and WIKI materials are updated online.
  • The module has passed multiple aging tests and can meet military-grade standards, ensuring long-term stable operation.

Product Parameters

ESP32 Main Control Parameters

Name Parameters
Module ESP32-32E
CPU ESP32-D0WD-V3, Xtensa dual-core 32-bit LX6 microprocessor
Main Frequency 240MHz (maximum)
Storage 448KB ROM + 520KB SRAM + 16KB RTC SRAM + 4MB external QSPI Flash
WIFI 2.4GHz, 802.11b/g/n mode
Bluetooth Bluetooth V4.2 BR/EDR and Bluetooth LE standards
Operating Voltage 3.0~3.6(V)
Operating Temperature –40~85(℃)

Liquid Crystal Screen Parameters

Name Parameters
Screen Size 3.95/4.0 inch
Screen Type TN TFT
Resolution 320xRGBx480(pixels)
Effective Display Area 55.68(W)x83.52(H)(mm)
Number of Colors Maximum: 262K(RGB666)

Commonly used: 65K(RGB565)

Driver IC ST7796S
Display Interface 4-Line SPI(connected to ESP32)
Pixel Size 0.174(H)x0.174(mm)
Viewing Angle 12 0’CLOCK
Backlight Brightness (Typical Value) 450cd/m2
Backlight Type White LED*8
Operating Temperature -20~60(℃)
Storage Temperature -30~70(℃)

Touch Screen Parameters

Name Parameters
Effective Area Size 3.95 inch
Touch Screen Type Resistive touch screen
Driver IC XPT2046
Effective Touch Area 56.28(W)x84.32(H)(mm)
Visible Window Size 56.88(W)x85.22(H)(mm)
Communication Interface SPI
Structural Material ITO film + ITO glass
Operating Temperature -10~60(℃)
Storage Temperature -20~70(℃)

Size Parameters

Name Parameters
Liquid Crystal Screen Outline Dimensions 60.88±0.2(W)x94.57±0.2(H)x2.5±0.1(D)(mm)(excluding the cable and back adhesive)
Touch Screen Outline Dimensions 60.48±0.2(W)x93.87±0.2(H)x1.05±0.1(D)(mm)(excluding the cable and back adhesive)
Module Outline Dimensions With touch screen: 60.88(W)x111.11(H)x5.65(D)(mm)

Without touch screen: 60.88(W)x111.11(H)x4.60(D)(mm)

Battery Charging Parameters

Name Parameters
Charging Voltage Range: 4.2~6.5(V)

Typical value: 5V

Charging Current Maximum value: 500mA

Module actual value: 290mA

Charging Saturation Voltage 4.24V
Charging Temperature Module actual maximum value: 62℃
Charging Battery Specifications 3.7V polymer lithium battery

Electrical Parameters

Name Parameters
Operating Voltage 5.0V
Backlight Current 142mA
Total Current When ESP32 is reset: 40mA

When only the display screen is working: 230mA

When the display screen, speaker, and battery charging are all working: 580mA

Power Consumption 1.15W (when only the display screen is working)
Backlight Brightness (Actual Value) With touch screen: 370 cd/m2

Without touch screen: 472 cd/m2

Supported Speaker Power Consumption (Maximum) 1.5W(8Ω) or 2W(4Ω)

Basic Parameters

Name Parameters
SKU

With touch screen: E32R40T
Without touch screen: E32N40T

Power Supply Interface TYPE-C
Weight (Including Packaging) E32R40T: 130 g

E32N40T: 119 g

Interface Definition

956x956 pixels

Interface Function Description

Interface Function Description
ESP32-32E Module The main control of the display module, which controls on-board peripherals and external peripherals.
MicroSD Card Slot Insert a Micro SD card to expand the storage space, for example, to store large data such as font libraries, pictures, and audio files.
RGB Tricolor Light Includes red, green, and blue LED lights, and each light can be controlled by an IO pin to indicate the status.
Serial Port 1.25mm 4P socket. It can be used for serial port debugging, downloading, and communication. An external USB-to-serial port module is required.
Battery Interface 1.25mm 2P socket, used to connect a 3.7V polymer lithium battery.

The battery is charged through the battery charging management circuit and can also be used for battery power supply. Pay attention to the positive and negative poles of the interface.

BOOT Button Used to enter the download mode or conduct button testing.

Press and hold this button while powering on, then release it to enter the download mode. Or after powering on, press and hold this button, then press the RESET button, release the RESET button, and then release this button to enter the download mode. When there is no need to enter the download mode, this button can be used as a regular button.

TYPE-C Interface Used for module power supply and program downloading. This interface is connected to the one-click download circuit on the module,

allowing it to automatically enter the download mode (no need to press the BOOT button).

RESET Button Used to reset the ESP32 main control and the LCD. Press it for level reset.
Expansion Input Pins 1.25mm 2P socket. IO35 and IO39 are two IO pins with only input functions, used to connect input signals.
Speaker Interface 1.25mm 2P socket. Used to connect a speaker for audio playback.
SPI Peripheral Interface 1.25mm 4P socket. Used to connect external SPI communication devices. This SPI interface is shared with the MicroSD. It can be used as a normal IO.
I2C Peripheral Interface 1.25mm 4P socket. Used to connect external IIC communication devices. It can be used as a normal IO.

ESP32 Pin Assignment

On-board Device ESP32 Connected Pin On-board Device Pin Description
Liquid Crystal Display (LCD) IO15 LCD chip select control signal, valid at low level
IO2 LCD command/data selection control signal

High level: data, Low level: command

IO14 SPI bus clock signal (shared by the LCD and the resistive touch screen)
IO13 SPI bus write data signal (shared by the LCD and the resistive touch screen)
IO12 SPI bus read data signal (shared by the LCD and the resistive touch screen)
EN LCD reset control signal, resets at low level (shares the reset pin with the ESP32-32E main control)
IO27 LCD backlight control signal (turns on the backlight at high level, turns off the backlight at low level)
Resistive Touch Screen IO14 SPI bus clock signal (shared by the touch screen and the LCD)
IO13 SPI bus write data signal (shared by the touch screen and the LCD)
IO12 SPI bus read data signal (shared by the touch screen and the LCD)
IO33 Resistive touch screen chip select control signal, valid at low level
IO36 Resistive touch screen touch interrupt signal, inputs a low level to the main control when a touch occurs
RGB Tricolor LED IO22 Red LED (common anode, turns on at low level, turns off at high level)
IO16 Green LED (common anode, turns on at low level, turns off at high level)
IO17 Blue LED (common anode, turns on at low level, turns off at high level)
MicroSD Card IO5 SD card chip select signal, valid at low level
IO23 SD card SPI bus write data signal (shared by the MicroSD card and SPI peripherals)
IO18 SD card SPI bus clock signal (shared by the MicroSD card and SPI peripherals)
IO19 SD card SPI bus read data signal (shared by the MicroSD card and SPI peripherals)
Audio IO4 Audio enable signal, enables at low level, disables at high level
IO26 Audio signal DAC output signal
Button IO0 Download mode selection button (enter the download mode by powering on while holding this button and then releasing it)
EN ESP32-23E reset button, resets at low level (shares the reset function with the LCD reset)
Serial Port RXD0(IO3) ESP32-32E serial port receive signal (can be used as a normal IO if the serial port is not used)
TXD0(IO1) ESP32-32E serial port transmit signal (can be used as a normal IO if the serial port is not used)
Battery IO34 Battery voltage ADC value acquisition signal (input)
SPI Peripherals IO21 SPI peripheral chip select signal, valid at low level (can be used as a normal IO if no SPI device is used)
IO18 SPI bus clock pin of the SPI peripheral

(Shared by the SPI peripheral and the MicroSD card. Can be used as a normal IO if neither the SPI device nor the SD card is used)

IO19 SPI bus read data pin of the SPI peripheral

(Shared by the SPI peripheral and the MicroSD card. Can be used as a normal IO if neither the SPI device nor the SD card is used)

IO23 SPI bus write data pin of the SPI peripheral

(Shared by the SPI peripheral and the MicroSD card. Can be used as a normal IO if neither the SPI device nor the SD card is used)

I2C Peripherals IO25 I2C bus clock pin of the I2C peripheral (can be used as a normal IO if no I2C device is used)
IO32 I2C bus data pin of the I2C peripheral (can be used as a normal IO if no I2C device is used)
Unused IO35 Can only be used as an input IO
IO39

Quick Use Instructions

Quick Use Data Package of 4.0-inch ESP32-32E Display Module

Quick Use Instructions of 4.0-inch ESP32-32E Display Module

Data Package Download

Google Drive Download (Suitable for Overseas Users)

4.0-inch ESP32-32E display module data package(Google Drive Download)]

Baidu Cloud Disk Download Link (Suitable for Chinese Users)

Data Package of 4.0-inch ESP32-32E Display Module (Extraction Code: 92ef)]

Product Documents

Specification Documents

Module Specification Document

Product Specification Document of 4.0-inch ESP32-32E Display Module

Liquid Crystal Screen Specification Document

Specification Document of 4.0-inch QD3958 Screen

User Manual

User Manual of 4.0-inch ESP32-32E Display Module

Module Dimension Diagram

Dimension Diagram of E32R40T Display Module

Dimension Diagram of E32N40T Display Module

3D Structure Diagram (.step File)

3D Diagram of E32R40T Display Module

3D Diagram of E32N40T Display Module

Module Schematic Diagram

Schematic Diagram of 4.0-inch ESP32-32E Display Module

IO Resource Allocation Table

ESP32 IO Resource Allocation Table

Package Library

AD Package Library of 4.0-inch ESP32-32E Display Module

LCD Initialization Code

ST7796 Initialization Code

Reference Materials

Development Environment Setup

Setup Instructions of ESP32 Arduino IDE1 Development Environment

Setup Instructions of ESP32 Arduino IDE2 Development Environment

Setup Instructions of ESP32 MicroPython Development Environment

Setup Instructions of ESP32 ESP-IDF Development Environment Using VSCODE

ESP32 ESP-IDF LVGL Transplantation Instructions

Instructions for Using Supporting Example Codes

Instructions for Arduino Example Programs of 4.0-inch ESP32-32E Display Module

Instructions for MicroPython Example Programs of 4.0-inch ESP32-32E Display Module

Instructions for ESP-IDF Example Programs of 4.0-inch ESP32-32E Display Module

Other Reference Data Manuals

ST7796S Data Manual
XPT2046 Data Manual
ESP32 Chip Data Manual
ESP32-32E Module Data Manual
ESP32 Hardware Design Guidelines
ESP32 Technical Reference Manual
TP4054 Data Manual for Battery Charging Management
ME6217 LDO Data Manual
FM8002E Data Manual for Audio Power Amplifier
CH340C Data Manual for USB-to-Serial Port
Chinese and English Display Modulo Setting Tutorial

Tool Software

Flash_Download

JPGCompact

TCP_UDP test tool

USB-SERIAL_CH340

Serial debugging assistant

Network debugging assistant

esptouch

PCtoLCD2002

Image2Lcd