LCD-wiki-logo

LCD wiki E32R28T 2.8 inch ESP32-32E Displaymodule

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-PRODUCT

Spesifikaasjes

  • Produktnamme: 2.8 inch ESP32-32E E32R28T & E32N28T
  • Model: CR2024-MI2875
  • Display Module: 2.8-inch ESP32-32E

Produkt ynformaasje

  • This product is a 2.8-inch ESP32-32E E32R28T&E32N28T display module with various hardware and software resources for development.

Produkt Usage Ynstruksjes

  • De boarnemap befettet sample programs, software libraries, product specifications, structure diagrams, datasheets, schematics, user manuals, and tool software.
  • Dizze seksje jout in oerview of the hardware resources available on the module.
  • Explains the schematic diagram of the display module in detail.
  • Provides precautions to be taken while using the display module.

Resource Beskriuwing

  • De boarne map wurdt werjûn yn de folgjende figuer:

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-1

Directory Ynhâld Beskriuwing
1-Demo De sample programma koade, de tredde-partij software bibleteek dat de sample programma fertrout op, de tredde-partij software bibleteek ferfanging file, it ynstruksjedokumint foar opset fan softwareûntwikkelingomjouwing, en de sample program instruction

dokumint.

2-Spesifikaasje Display module produkt spesifikaasje, LCD skerm spesifikaasje en LCD display driver IC inisjalisaasje koade.
3-Struktuer_Diagram Display module produkt ôfmjittings en produkt 3D tekeningen
4-Gegevensblêd LCD-displaystjoerprogramma ILI9341 databoek, wjerstân touchscreen-stjoerprogramma XPT2046 databoek, ESP32 masterdataboek en hardware-ûntwerpbegeliedingsdokumint, USB nei Seriële IC (CH340C) databoek, audio amplifier chip FM8002E data book, 5V to 3.3V regulator data book

and battery charge management Chip TP4054 data sheet.

5-Skematysk Product hardware schematic, ESP32-WROOM-32E module IO resource allocation table, schematic, and PCB component package
6-User_Manual Produkt brûker dokumintaasje
7-Tool_software WIFI- en Bluetooth-test-APP en debugging-ark, USB nei seriële poarte-stjoerprogramma, ESP32 Flash-downloadsoftware, software foar it opnimmen fan tekens, software foar it opnimmen fan ôfbyldings, JPG-ôfbyldingsferwurkingssoftware

and serial port debugging tools.

8-Quick_Start Need to burn the bin file, flash the download tool, and use the instructions.

Software Ynstruksjes

Stappen foar ûntwikkeling fan software foar displaymodule binne as folget:

  • A. Bou in ESP32-platfoarmsoftwareûntwikkelingsomjouwing.
  • B. If necessary, import third-party software libraries as a basis for development;
  • C. Open the software project to be debugged, or you can also create a new software project.
  • D. power on the display module, compile and download the debugging program, and then check the software running effect.
  • E. The software effect does not reach the expected, continue to modify the program code, and then compile and download, until the effect reaches the expected.
    For details about the preceding steps, see the documentation in the 1 Demo directory.

Hardware Ynstruksjes

Oerview of the module’s hardware resources is displayed

  • Module-hardwareboarnen wurde werjûn yn 'e folgjende twa sifers:

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-2

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-3

De hardware-boarnen wurde as folget beskreaun:

LCD

  • The LCD display size is 2.8 inches, the driver IC is ILI9341, and the resolution is 24 0x 32 0. The ESP32 is connected using a 4-wire SPI communication interface.
  • A. Introduction to ILI9341 controller The ILI9341 controller supports a maximum resolution of 240*320 and a 172800-byte GRAM. It also supports 8-bit, 9-bit, 16-bit, and 18-bit parallel port data buses. It also supports 3-wire and 4-wire SPI serial ports. Since parallel control requires a large number of I/O ports, the most common one is SPI serial port control. The ILI9341 also supports 65K, 262K RGB color display, display color is very rich, while supporting rotating display and scroll display and video playback, and displaying in a variety of ways.
  • De ILI9341-controller brûkt 16bit (RGB565) om in pikseldisplay te kontrolearjen, sadat it oant 65K kleuren per piksel kin werjaan. De ynstelling foar pikseladres wurdt útfierd yn 'e folchoarder fan rigen en kolommen, en de tanimmende en ôfnimmende rjochting wurdt bepaald troch de skennenmodus. De werjeftemetoade ILI9341 wurdt útfierd troch it adres yn te stellen en dan de kleurwearde yn te stellen.
  • B. Ynlieding ta SPI kommunikaasje protokol

De timing fan skriuwmodus fan 'e 4-wire SPI-bus wurdt werjûn yn' e folgjende figuer:

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-4

  • CSX is in slaaf chip seleksje, en de chip sil allinnich wurde ynskeakele as CSX is op lege macht nivo.
  • D / CX is de gegevens / kommando kontrôle pin fan de chip. As DCX kommando's skriuwt op lege nivo's, wurde gegevens op hege nivo's skreaun
  • SCL is the SPI bus clock, with each rising edge transmitting 1 bit of data.
  • SDA is de gegevens oerbrocht troch SPI, dy't 8 bits fan gegevens tagelyk ferstjoert. It gegevensformaat wurdt werjûn yn 'e folgjende figuer:

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-5

  • Heech bit earst, stjoer earst.
  • Foar SPI-kommunikaasje hawwe gegevens in transmissietiming, mei in kombinaasje fan real-time klokfaze (CPHA) en klokpolariteit (CPOL):
  • It nivo fan CPOL bepaalt it idle-statusnivo fan 'e seriële syngroane klok, mei CPOL = 0, wat in leech nivo oanjout. CPOL pear oerdracht protokol
  • The discussion did not have much influence.
  • De hichte fan CPHA bepaalt oft de seriële syngroane klok gegevens sammelt op 'e earste of twadde kloksprongrâne,
  • As CPHL = 0, útfiere gegevenssammeling by de earste oergongsrâne;
  • De kombinaasje fan dizze twa foarmet fjouwer SPI-kommunikaasjemetoaden, en SPI0 wurdt faak brûkt yn Sina, wêr't CPHL = 0 en CPOL = 0

ESP32 WROOM 32E M odule

  • This module has a built-in ESP32-DOWD-V3 chip, an Xtensa dual-core 32-bit LX6 microprocessor, and supports clock rates up to 240MHz. It has 448KB ROM, 520KB SRAM, 16KB RTC SRAM, and 4MB QSPI Flash. 2.4GHz WIFI,
  • Bluetooth V4.2 and Bluetooth Low Power modules are supported. External 26 GPIOs, support SD card, UART, SPI, SDIO, I2C, LED PWM, motor PWM, I2S, IR, pulse counter, GPIO, capacitive touch sensor, ADC, DAC, TWAI and other peripherals.

MicroSD-kaart-slot

  • Mei help fan SPI kommunikaasje modus en ESP32 ferbining, stipe foar MicroSD kaarten fan ferskate kapasiteiten.

RGB Three color Light

  • Red, green, and blue LED lights can be used to indicate the running status of the program.

Serial Port

  • In eksterne seriële poarte module wurdt brûkt foar seriële poarte kommunikaasje.

USB to Serial Port and One-click Download Circuit

  • It kearnapparaat is CH340C, ien ein is ferbûn mei de kompjûter USB, ien ein is ferbûn mei de ESP32 seriële poarte, om USB nei TTL seriële poarte te berikken.
  • In addition, a one-click download circuit is also attached, so that is, when downloading the program, it can automatically enter the download mode, without the need to touch the external.

Batterij ynterface

  • Two-pin interface, one for the positive electrode, one for the negative electrode, to access the battery power supply and charging.

Battery Charge and Discharge Management Circuit

  • The core device is TP4054, this circuit can control the battery charging current, the battery is safely charged to saturation state, but can also safely control the battery discharge.

BOOT Key

  • Nei't de werjeftemodule ynskeakele is, sil drukken op IO0 ferleegje. As it momint dat de module wurdt oanstutsen of de ESP32 wurdt reset, sil it ferleegjen fan IO0 de downloadmodus yngean. Oare gefallen kinne brûkt wurde as gewoane knoppen.

Type-C ynterface

  • The main power supply interface and program download interface of the display module. Connect the USB to a serial port and a one-click download circuit, can be used for power supply, download and serial communication.

5V oant 3.3V Voltage Regulator Circuit

  • The core device is the ME6217C33M5G LDO regulator.
  • De voltage regulator circuit supports 2A V~6.5V wide voltage input, a 3.3V stable voltage útfier, en de maksimale útfier stroom is 800mA, dat kin folslein foldwaan oan de voltage en aktuele easken fan it display module.

RESET toets

  • Nei't de werjeftemodule is ynskeakele, sil drukken de ESP32-reset-pin nei ûnderen lûke (de standertstatus is oplûke), om de resetfunksje te berikken.

Resistive Touch Screen Control Circuit

  • It kearnapparaat is XPT2046, dat kommunisearret mei de ESP32 fia SPI.
  • Dit circuit is de brêge tusken it resistive touchscreen en de ESP32-master, ferantwurdlik foar it ferstjoeren fan de gegevens op it touchscreen nei de ESP32-master, om de koördinaten fan it touchpunt te krijen.

Wreidzje de Pin út

  • An input IO port, GND, and 3.3V pin that are not used on the ESP32 module are led out for peripheral use.

Backlight kontrôle circuit

  • The core device is a BSS138 field-effect tube.
  • One end of this circuit is connected to the backlight control pin on the ESP32 master, and the other end is connected to the negative pole of the LCD screen backlight LED lamp.
  • Backlight control pin pull up, back light, otherwise off.

Speaker ynterface

  • Wiring terminals moatte wurde ferbûn fertikaal. Wurdt brûkt om tagong te krijen ta monoluidsprekers en luidsprekers.

Audio macht amplifier circuit

  • It kearnapparaat is de FM8002E audio amplibbener IC.
  • One end of this circuit is connected to the ESP32 audio DAC value output pin and the other end is connected to the horn interface.
  • The function of this circuit is to drive a small power horn or speaker to sound. For 5V power supply, the maximum drive power is 1.5W (load 8 ohms) or 2W (load 4 ohms).

SPI perifeare ynterface

  • 4-wire horizontale ynterface. Lead út in net brûkte chip seleksje pin en SPI ynterface pin brûkt troch de MicroSD card, dat kin brûkt wurde foar eksterne SPI apparaten of gewoane IO havens.

Detailed explanation of the schematic diagram of the display module

Type C interface circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-6

Yn dit circuit is D1 de Schottky-diode, dy't brûkt wurdt om te foarkommen dat de stroom omkeart. D2 oant D4 binne elektrostatyske surge beskermingsdiodes om te foarkommen dat de displaymodule skansearre wurdt troch te folle vol.tage or short circuit. R1 is the pull-down resistance. USB1 is a Type-C bus. The display module connects to Type C power supply, downloads programs, and communicates through the USB 1. Where +5V and GND are positive power voltage and ground signals USB_D and USB_D+ are differential USB signals, which are transmitted to the onboard USB to serial circuit.

5V oant 3.3V voltage regulator circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-7

Yn dit sirkwy is C16 ~ C19 de bypass filterkondensator, dy't brûkt wurdt om de stabiliteit fan it ynfiervolum te behâldentage en de útfier voltage. The U1 is a 5V to 3.3V LDO with the model number ME6217C33M5G. Because most of the circuits on the display module need a 3.3V power supply, and the power input of the Type Cinterface is basically 5V, so a voltage regulator ombou circuit is nedich.

Resistive touch skerm kontrôle circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-8

Yn dit circuit binne C25 en C27 bypassfilterkondensatoren, dy't wurde brûkt om it ynfiervolum te behâldentage stability. R22 is a pull-up resistor used to maintain the default pin state as high. U4 is the XPT2046 control IC, The function of this IC is to obtain the coordinate voltage value of the touch point of the resistance touch screen through X+, X –, Y+, and Y four pins, and then through ADC conversion, the ADC value is transmitted to the ESP32 master. The ESP32 master then converts the ADC value to the pixel coordinate value of the display. The PEN pin is a touch interrupt pin, and the input level is low when a touch event occurs.

USB to serial port and one-click download circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-9

Yn dit circuit is U3 in CH340C USB-to-seriële IC, dy't gjin eksterne kristaloscillator nedich is om circuitûntwerp te fasilitearjen. C6 is in bypass filter capacitor brûkt te behâlden de ynfier voltage stability. Q1 and Q2 are NPN-type triodes, and R6 and R7 are triode base limiting current resistors. The function of this circuit is to realize to USB-to-serial port and a click download function. The USB signal is input and output through UD+ and UD pins, and is transmitted to the ESP32 master through RXD and TXD pins after conversion. One-click download circuit principle:

  • A. De RST- en DTR-pins fan CH340C útfiere standert heech nivo. Op dit stuit binne de Q1- en Q2-triode net oan, en de IO0-pinnen en reset-pins fan 'e ESP32-haadkontrôle wurde nei heech nivo lutsen.
  • B. De RST- en DTR-pins fan CH340C útfiere lege nivo's, op dit stuit binne de Q1- en Q2-triode noch net oan, en de IO0-pins en reset-pins fan 'e ESP32-haadkontrôle wurde noch oant hege nivo's lutsen.
  • C. The RST pin of CH340C remains unchanged, and the DTR pin outputs a high level. At this time, Q1 is still cut off, Q2 is on, the IO0 pin of the ESP32 master is still pulled up, the reset pin is pulled down, and the ESP32 enters the reset state.
  • D. De RST-pin fan CH340C jout in heech nivo út, DTR-pin jout in leech nivo út, op dit stuit is Q1 oan, Q2 is út, de resetpin fan 'e ESP32-haadkontrôle sil net daliks heech wurde, om't de ferbûne kondensator wurdt opladen, ESP32 is noch yn' e reset-status, en IO0-pin wurdt daliks yn 'e downloadmodus lutsen, op dit stuit sil it yn 'e downloadmodus yngean.

Audio macht amplifier circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-10

In this circuit, R23, C7, C8, and C9 constitute the RC filter circuit, and R10 and R13 are the gain-adjusting resistors of the operational amplifier. As de fersetwearde fan R13 net feroare is, hoe lytser de fersetwearde fan R10, hoe grutter it folume fan 'e eksterne sprekker. C10 en C11 binne input coupling capacitors. R11 is de pull-up wjerstân. JP1 is de hoarn / sprekker haven. De U5 is de FM8002E audiokrêft ampliifer IC. Nei ynfier troch AUDIO_IN is it audio DAC-sinjaal amplified by the FM8002E gain and output to the speaker/speaker by the VO1 and VO2 pins. SHUTDOWN is the enable pin for FM8002E. The low level is enabled. By default, the high level is enabled.

ESP32 WROOM 32E main control circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-11

In this circuit, C4 and C5 are bypass filter capacitors, and U2 are ESP32 WROOM 32E modules. For details about the internal circuit of this module, please refer to the official documentation.

Key reset circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-12

Yn dit circuit is KEY1 de kaai, R4 is de pull-up wjerstân, en C3 is de fertraging capacitor. Reset prinsipe:

  • A. After powering on, C3 charges. At this time, C3 is equivalent to a short circuit, the RESET pin is grounded, and ESP32 enters the reset state.
  • B. As C3 wurdt opladen, is C3 lykweardich oan iepen circuit, RESET-pin wurdt omheech lutsen, ESP32-reset is klear, en de ESP32 komt yn 'e normale wurkjende steat.
  • C. As KEY1 wurdt yndrukt, wurdt de RESET-pin op grûn, ESP32 komt yn 'e resetstatus, en C3 wurdt ûntslein fia KEY1.
  • D. As KEY1 wurdt útbrocht, wurdt C3 opladen. Op dit stuit is C3 lykweardich oan koartsluting, RESET pin is grûn, ESP32 is noch yn 'e RESET steat. Neidat C3 is opladen, wurdt de reset pin omheech lutsen, ESP32 wurdt weromsette en komt yn 'e normale wurkjende steat.

As de RESET net slagget, kin de tolerânsjewearde fan C3 passend wurde ferhege om de tiid fan 'e resetpin op leech nivo te fertragen.

Interface circuit of the serial module

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-13

  • Yn dit sirkwy is P2 in 4P 1.25mm pitch sit, R29 en R30 binne impedansbalâns wjerstannen, en Q5 is in fjildeffektbuis dy't de 5V input Netzteil kontrolearret.
  • R31 is a pulldown resistor. Connect RXD0 and TXD0 to serial pins, and supply power to the other two pins. This port is connected to the same serial port as the onboard USB-to-serial port module.

EX pand IO and peripheral interface circuits

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-14

In this circuit, P3 a nd P4 are 4P 1.25mm pitch seats. SPI_CLK, SPI_MISO, and SPI_MOSI pins are shared with the MicroSD card SPI pins. Pins SPI_CS, IO35 are not used by on board devices, so they are led out to connect SPI, and can also be used for ordinary IO. Things to watch out for:

  • A. IO35 can only be input pins.

Batterij lading en ûntlading behear circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-15

In this circuit, C20, C21, C22, and C23 are bypass filter capacitors. U6 is the TP4054 battery charge management IC. R27 regulates the battery charging current. JP2 is a 2P 1.25mm pitch seat, connected to a battery. Q3 is a P-channel FET. R28 is the Q3 grid pull-down resistor. TP4054 charges the battery through the BAT pin; the smaller the R27 resistance, the larger the charging current, with a maximum is 500mA. Q3 and R28 together constitute the battery discharge circuit, When there is no power supply through the Type C interface, the +5V voltage is 0, then the Q3 gate is pulled down to a low level, the drain and the source are on, and the battery supplies power to the entire display module. When powered through the Type C interface, the +5V voltage is 5V, dan is de Q3-poarte 5V heech, de drain en boarne wurde ôfsnien, en de batterijfoarsjenning wurdt ûnderbrutsen.

1 8P LCD panel wire welding interface

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-16

Yn dit circuit, C24 is de bypass filter capacitor, en QD1 is de 48P 0.8mm pitch floeiber kristal skerm welding ynterface. De QD1 hat in wjerstân touch skerm sinjaal pin, LCD skerm voltage pin, SPI kommunikaasje pin, kontrôle pin en backlight circuit pin. De ESP32 brûkt dizze pinnen om it LCD- en touchscreen te kontrolearjen.

Download the key circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-17

  • In this circuit, KEY2 is the key and R5 is the pull up resistor. IO0 is high by default and low when KEY2 is pressed. Press and hold KEY2, power on or reset, and the ESP32 will enter download mode. In other cases, KEY2 can be used as a normal key.

Batterij power detection circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-18

Yn dit circuit binne R2 en R3 partiel voltage wjerstannen, en C1 en C2 binne bypass filter capacitors. Batterij voltage BAT + sinjaal input giet troch de divider wjerstannen. BAT_ADC is de voltage value at both ends of R3, which is transmitted to the ESP32 master through the input pin and then converted by ADC to finally obtain the battery voltage wearde. De voltage divider wurdt brûkt om't de ESP32 ADC in maksimum fan 3.3V konvertearret, wylst de batterij sêding voltage is 4.2V, dat is bûten berik. De verkregen voltage fermannichfâldige mei 2 is de eigentlike batterij voltage.

LCD backlight control circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-19

  • Yn dit circuit is R24 de debuggen ferset en wurdt tydlik behâlden. Q4 is de N-kanaal fjild effekt buis, R25 is de Q4 raster pull-down wjerstân, en R26 is de efterljocht stream beheinende wjerstân. De LCD efterljochting LED lamp is yn parallel steat, de positive peal is ferbûn oan 3.3V, en de negative peal is ferbûn mei de drain fan Q4. Doe't de kontrôle pin LCD_BL útgongen hege voltage, the drain and source poles of Q4 are switched on. At this time, the negative pole of the LCD backlight is grounded, and the backlight LED lamp wurdt ynskeakele en stjoert ljocht út.
  • When the control pin LCD_BL outputs a low voltage, de drain en boarne fan Q4 wurde ôfsnien, en de negative efterljochting fan it LCD-skerm is ophongen, en de efterljocht LED lamp is net ynskeakele. Standert is de LCD-efterljochting út.
  • It ferminderjen fan de R26-resistinsje kin de maksimale helderheid fan 'e efterljochting ferheegje.
  • In addition, the LCD_BL pin can input a PWM signal to adjust the LCD backlight.

RGB trije-kleur ljocht kontrôle circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-21

  • Yn dit circuit is LED2 in RGB trije-kleur lamp, en R14~R16 is in trijekleurige lamp current limiting resistor.
  • LED2 contains red, green, and blue LED lights, which are common anode connections.
  • IO16, IO17 and IO22 are three control pins, which light up LED lights at low level and extinguish the LED lights at high level.

MicroSD card slot ynterface circuit

LCD-wiki-E32R28T-2-8inch-ESP32-32E-Display-Module-FIG-21

  • Yn dit circuit is SD_CARD1 de MicroSD card slot. R17 to R21 binne pull-up wjerstannen foar eltse pin. C26 is de bypass filter capacitor. Dit ynterface circuit oannimt SPI kommunikaasje modus. Unterstützt hege snelheid opslach fan MicroSD-kaarten.
  • Tink derom dat dizze ynterface dielt de SPI bus mei de SPI perifeare ynterface.

Foarsoarchsmaatregels foar display module gebrûk

  1. The display module is charged with the battery, the external speaker plays the audio, and the display screen is also working; at this time, the total current may exceed 500mA. In this case, you need to pay attention to the maximum current supported by the Type C cable and the maximum current supported by the power supply interface to avoid an insufficient power supply.
  2. Tidens gebrûk, net oanreitsje de LDO voltage regulator en batterijladingsbehear IC mei jo hannen om foar te kommen dat se ferbaarnd wurde troch hege temperatueren.
  3. By it ferbinen fan de IO-poarte, betelje omtinken oan it IO-gebrûk om ferkeard ferbinen te foarkommen en de definysje fan programmakoade komt net oerien.
  4. Brûk it produkt feilich en ridlik.

FAQ

  • F: Hoe kin ik tagong krije ta de sampprogramma's en softwarebibleteken?
    • A: De sample programs and libraries can be found in the 1-_Demo directory of the resource description.
  • F: Hokker ark binne opnommen yn 'e arksoftware?
    • A: The tool software includes WIFI and Bluetooth test APP, debugging tools, USB to serial port driver, ESP32 Flash download tool software, character take-up software, image take-up software, JPG image processing software, and serial port debugging tools.

Dokuminten / Resources

LCD wiki E32R28T 2.8 inch ESP32-32E Displaymodule [pdf] Brûkershânlieding
E32R28T, E32N28T, E32R28T 2.8 inch ESP32-32E Displaymodule, E32R28T, 2.8 inch ESP32-32E Displaymodule, ESP32-32E Displaymodule, Displaymodule, Module

Referinsjes

Lit in reaksje efter

Jo e-mailadres sil net publisearre wurde. Ferplichte fjilden binne markearre *