LCD wiki E32R28T 2.8inch ESP32-32E Display Module
Specifikationer
- Produktnavn: 2.8 tommer ESP32-32E E32R28T & E32N28T
- Model: CR2024-MI2875
- Display Module: 2.8-inch ESP32-32E
Produktinformation
- This product is a 2.8-inch ESP32-32E E32R28T&E32N28T display module with various hardware and software resources for development.
Produktbrugsvejledning
- Ressourcekataloget indeholder sample programs, software libraries, product specifications, structure diagrams, datasheets, schematics, user manuals, and tool software.
- Dette afsnit giver en overview 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.
Ressourcebeskrivelse
- Ressourcekataloget er vist i følgende figur:
Vejviser | Indholdsbeskrivelse |
1-Demo | Sample programkode, tredjepartssoftwarebiblioteket, som sampprogrammet er afhængig af tredjeparts softwarebibliotekerstatning file, instruktionsdokumentet til opsætning af softwareudviklingsmiljøet og sample program instruction
dokument. |
2-Specifikation | Displaymodulproduktspecifikation, LCD-skærmspecifikation og LCD-displaydriver IC-initieringskode. |
3-Struktur_Diagram | Vis modul produktdimensioner og produkt 3D tegninger |
4-Datablad | LCD display driver ILI9341 data book, resistance touch screen driver XPT2046 data book, ESP32 master data book and hardware design guidance document, USB to Serial IC(CH340C) data book, audio amplifier chip FM8002E data book, 5V to 3.3V regulator data book
and battery charge management Chip TP4054 data sheet. |
5-skematisk | Product hardware schematic, ESP32-WROOM-32E module IO resource allocation table, schematic, and PCB component package |
6-Brugermanual | Produktbrugerdokumentation |
7-Tool_software | WIFI and Bluetooth test APP and 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. |
8-Hurtig_Start | Need to burn the bin file, flash the download tool, and use the instructions. |
Software instruktioner
Udviklingstrin for displaymodulsoftware er som følger:
- A. Byg et ESP32-platforms softwareudviklingsmiljø.
- 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 instruktioner
Overview of the module’s hardware resources is displayed
- Modulhardwareressourcer er vist i følgende to figurer:
Hardwareressourcerne er beskrevet som følger:
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.
- ILI9341-controlleren bruger 16bit (RGB565) til at styre en pixelskærm, så den kan vise op til 65K farver pr. pixel. Indstillingen af pixeladressen udføres i rækkefølgen af rækker og kolonner, og den stigende og faldende retning bestemmes af scanningstilstanden. ILI9341-visningsmetoden udføres ved at indstille adressen og derefter indstille farveværdien.
- B. Introduktion til SPI kommunikationsprotokol
Skrivetilstandstimingen for 4-leder SPI-bussen er vist i følgende figur:
- CSX er et slave-chipvalg, og chippen vil kun være aktiveret, når CSX er på lavt strømniveau.
- D/CX er chippens data-/kommandokontrolpin. Når DCX skriver kommandoer på lave niveauer, skrives data på høje niveauer
- SCL is the SPI bus clock, with each rising edge transmitting 1 bit of data.
- SDA er de data, der transmitteres af SPI, som transmitterer 8 bits data på én gang. Dataformatet er vist i følgende figur:
- Høj bit først, send først.
- Til SPI-kommunikation har data en transmissionstiming med en kombination af realtids-urfase (CPHA) og klokpolaritet (CPOL):
- Niveauet af CPOL bestemmer inaktiv tilstandsniveauet for det serielle synkrone ur, med CPOL=0, hvilket indikerer et lavt niveau. CPOL-partransmissionsprotokol
- The discussion did not have much influence.
- Højden af CPHA bestemmer, om det serielle synkrone ur indsamler data på den første eller anden urspringkant,
- Når CPHL=0, udfør dataindsamling ved den første overgangskant;
- Kombinationen af disse to danner fire SPI-kommunikationsmetoder, og SPI0 er almindeligt anvendt i Kina, hvor CPHL=0 og 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 Card Slot
- Ved hjælp af SPI-kommunikationstilstand og ESP32-forbindelse, understøttelse af MicroSD-kort med forskellige kapaciteter.
RGB Three color Light
- Red, green, and blue LED lights can be used to indicate the running status of the program.
Seriel port
- Et eksternt seriel portmodul bruges til seriel portkommunikation.
USB to Serial Port and One-click Download Circuit
- Kerneenheden er CH340C, den ene ende er forbundet til computerens USB, den ene ende er forbundet til ESP32 seriel port for at opnå USB til TTL seriel port.
- 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.
Batteri interface
- 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 nøgle
- Når displaymodulet er tændt, vil et tryk sænke IO0. Hvis modulet tændes, eller ESP32 nulstilles, vil sænkning af IO0 gå ind i download-tilstand. Andre etuier kan bruges som almindelige knapper.
Type-C Interface
- 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 til 3.3V Voltage Regulatorkredsløb
- The core device is the ME6217C33M5G LDO regulator.
- Voltage regulator circuit supports 2A V~6.5V wide voltage input, a 3.3V stable voltage output, og den maksimale udgangsstrøm er 800mA, hvilket fuldt ud kan opfylde voltage og aktuelle krav til displaymodulet.
NULSTIL-tast
- Når displaymodulet er tændt, vil et tryk trække ESP32-nulstillingsstiften ned (standardtilstanden er pull up), for at opnå nulstillingsfunktionen.
Resistiv berøringsskærm kontrolkredsløb
- Kerneenheden er XPT2046, som kommunikerer med ESP32 gennem SPI.
- Dette kredsløb er broen mellem den resistive berøringsskærm og ESP32-masteren, der er ansvarlig for at overføre data på berøringsskærmen til ESP32-masteren for at opnå koordinaterne for berøringspunktet.
Udvid stiften
- An input IO port, GND, and 3.3V pin that are not used on the ESP32 module are led out for peripheral use.
Baggrundslys kontrolkredsløb
- 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.
Højttaler interface
- Ledningsklemmer skal tilsluttes lodret. Bruges til at få adgang til monohøjttalere og højttalere.
Lydstyrke amplifier kredsløb
- Kerneenheden er FM8002E-lyden amplifier 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 perifert interface
- 4-leder vandret grænseflade. Før en ubrugt chipudvælgelsesstift og SPI-interfacepin ud, der bruges af MicroSD-kortet, og som kan bruges til eksterne SPI-enheder eller almindelige IO-porte.
Detailed explanation of the schematic diagram of the display module
Type C interface circuit
I dette kredsløb er D1 Schottky-dioden, som bruges til at forhindre strømmen i at vende. D2 til D4 er elektrostatiske overspændingsbeskyttelsesdioder for at forhindre, at displaymodulet bliver beskadiget på grund af for høj volumtage 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 til 3.3V voltage regulatorkredsløb
I dette kredsløb er C16~C19 bypass-filterkondensatoren, som bruges til at opretholde stabiliteten af inputvolumentage og output 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 voltagRegulatorkonverteringskredsløb er påkrævet.
Resistiv berøringsskærm kontrolkredsløb
I dette kredsløb er C25 og C27 bypass filter kondensatorer, som bruges til at opretholde input vol.tage 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
I dette kredsløb er U3 en CH340C USB-til-seriel IC, som ikke behøver en ekstern krystaloscillator for at lette kredsløbsdesign. C6 er en bypass filter kondensator, der bruges til at opretholde input 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. RST- og DTR-benene på CH340C udsender som standard højt niveau. På nuværende tidspunkt er Q1- og Q2-trioden ikke tændt, og IO0-benene og nulstillingsbenene på ESP32-hovedstyringen er trukket op til højt niveau.
- B. RST- og DTR-benene på CH340C udsender lave niveauer, på nuværende tidspunkt er Q1- og Q2-trioden stadig ikke tændt, og IO0-benene og nulstillingsbenene på ESP32-hovedkontrollen er stadig trukket op til høje niveauer.
- 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. CH340C's RST pin udsender et højt niveau, DTR pin udsender et lavt niveau, på dette tidspunkt er Q1 tændt, Q2 er slukket, nulstillingsbenet på ESP32 hovedstyringen bliver ikke øjeblikkeligt højt, fordi den tilsluttede kondensator er opladet, ESP32 er stadig i nulstillingstilstand, og IO0 pin er straks trukket ned, på dette tidspunkt vil den gå i download-tilstand.
Lydstyrke amplifier kredsløb
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. Når modstandsværdien for R13 er uændret, jo mindre modstandsværdien af R10 er, jo større er lydstyrken på den eksterne højttaler. C10 og C11 er indgangskoblingskondensatorer. R11 er pull-up modstanden. JP1 er horn-/højttalerporten. U5 er FM8002E lydstyrken amplifier IC. Efter input af AUDIO_IN er lyd-DAC-signalet 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
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.
Nøgle nulstillingskredsløb
I dette kredsløb er KEY1 nøglen, R4 er pull-up modstanden, og C3 er forsinkelseskondensatoren. Nulstil princip:
- 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. Når C3 er opladet, svarer C3 til åbent kredsløb, RESET-pinden trækkes op, ESP32-nulstillingen er afsluttet, og ESP32 går ind i normal arbejdstilstand.
- C. Når der trykkes på KEY1, er RESET-stiften jordet, ESP32 går i nulstillingstilstand, og C3 aflades gennem KEY1.
- D. Når KEY1 slippes, oplades C3. På dette tidspunkt svarer C3 til kortslutning, RESET pin er jordet, ESP32 er stadig i RESET tilstand. Efter at C3 er opladet, trækkes nulstillingsstiften op, ESP32 nulstilles og går ind i normal arbejdstilstand.
Hvis RESET ikke lykkes, kan toleranceværdien af C3 øges passende for at forsinke nulstillingsstiftens lavt niveau.
Interface circuit of the serial module
- I dette kredsløb er P2 et 4P sæde med 1.25 mm pitch, R29 og R30 er impedansbalancemodstande, og Q5 er et felteffektrør, der styrer 5V-indgangsstrømforsyningen.
- 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
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.
Batteriopladnings- og afladningsstyringskredsløb
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 er 5V, så er Q3-porten 5V høj, drænet og kilden er afbrudt, og batteriforsyningen afbrydes.
1 8P LCD panel wire welding interface
I dette kredsløb er C24 bypass-filterkondensatoren, og QD1 er 48P 0.8 mm pitch flydende krystal skærmsvejsegrænseflade. QD1 har en modstand touch screen signal pin, LCD skærm voltage pin, SPI kommunikation pin, kontrol pin og baggrundsbelysning kredsløb pin. ESP32 bruger disse stifter til at styre LCD-skærmen og berøringsskærmen.
Download the key circuit
- 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.
Batteristrømdetektionskredsløb
I dette kredsløb er R2 og R3 partielle voltage modstande, og C1 og C2 er bypass filter kondensatorer. Batteriet voltage BAT+ signalindgangen passerer gennem delemodstanden. BAT_ADC er 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 værdi. Voltage divider bruges, fordi ESP32 ADC konverterer maksimalt 3.3V, mens batterimætning vol.tage er 4.2V, hvilket er uden for rækkevidde. Den opnåede voltage ganget med 2 er den faktiske batterivolumentage.
LCD-baggrundsbelysning kontrolkredsløb
- I dette kredsløb er R24 fejlretningsmodstanden og bibeholdes midlertidigt. Q4 er N-kanal felteffektrøret, R25 er Q4 gitter-pull-down-modstanden, og R26 er baggrundsbelysningens strømbegrænsende modstand. LCD-baggrundsbelysningen LED lamp er i parallel tilstand, er den positive pol forbundet til 3.3V, og den negative pol er forbundet til afløbet på Q4. Når kontrolstiften LCD_BL udsender høj 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 er tændt og udsender lys.
- When the control pin LCD_BL outputs a low voltage, afløbet og kilden til Q4 er afbrudt, og LCD-skærmens negative baggrundsbelysning er suspenderet, og baggrundsbelysningen LED lamp er ikke tændt. Som standard er LCD-baggrundsbelysningen slukket.
- Reduktion af R26-modstanden kan øge den maksimale lysstyrke af baggrundsbelysningen.
- In addition, the LCD_BL pin can input a PWM signal to adjust the LCD backlight.
RGB tre-farvet lyskontrolkredsløb
- I dette kredsløb er LED2 en RGB tre-farvet lamp, og R14~R16 er en trefarvet 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-kortslot interfacekredsløb
- I dette kredsløb er SD_CARD1 MicroSD-kortpladsen. R17 til R21 er pull-up modstande for hver ben. C26 er bypass-filterets kondensator. Dette interfacekredsløb anvender SPI-kommunikationstilstand. Understøtter højhastighedslagring af MicroSD-kort.
- Bemærk, at denne grænseflade deler SPI-bussen med den perifere SPI-grænseflade.
Forholdsregler for brug af displaymodul
- 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.
- Under brug må du ikke røre ved LDO voltage regulator og batteriladningsstyring IC med dine hænder for at undgå at blive brændt af høje temperaturer.
- Når du tilslutter IO-porten, skal du være opmærksom på IO-brugen for at undgå fejlforbindelse, og programkodedefinitionen stemmer ikke overens.
- Brug produktet sikkert og rimeligt.
FAQ
- Q: How do I access the sample programs and software libraries?
- A: Sample programs and libraries can be found in the 1-_Demo directory of the resource description.
- Q: What tools are included in the tool software?
- 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.
Dokumenter/ressourcer
![]() |
LCD wiki E32R28T 2.8inch ESP32-32E Display Module [pdfBrugermanual E32R28T, E32N28T, E32R28T 2.8inch ESP32-32E Display Module, E32R28T, 2.8inch ESP32-32E Display Module, ESP32-32E Display Module, Display Module, Module |