LCD wiki E32R28T 2.8inch ESP32-32E Display Module
Specifications
- Product Name: 2.8inch ESP32-32E E32R28T&E32N28T
- Model: CR2024-MI2875
- Display Module: 2.8-inch ESP32-32E
Agahiya hilberê
- This product is a 2.8-inch ESP32-32E E32R28T&E32N28T display module with various hardware and software resources for development.
Talîmatên Bikaranîna Product
- Pelrêça çavkaniyan s dihewîneample programs, software libraries, product specifications, structure diagrams, datasheets, schematics, user manuals, and tool software.
- Ev beş pêvekek peyda dikeview 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 Description
- Peldanka çavkaniyê di wêneya jêrîn de tê xuyang kirin:
Directory | Danasîna naverokê |
1-Demo | The sample kodê bernameyê, pirtûkxaneya nermalava sêyemîn a ku sample bername xwe dispêre, veguheztina pirtûkxaneya nermalava sêyemîn file, belgeya rêwerzê ya sazkirina jîngeha pêşkeftina nermalavê, û sample program instruction
belge. |
2-Specification | Taybetmendiya hilberê modulê, taybetmendiya ekrana LCD-ê û koda destpêkirina ajokera IC-ê ya dîmendera LCD-ê nîşan bide. |
3-Structure_Diagram | Pîvana hilbera modulê û nexşeyên 3D yên hilberê nîşan bidin |
4-DataSheet | 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-Hemematîk | Product hardware schematic, ESP32-WROOM-32E module IO resource allocation table, schematic, and PCB component package |
6-Bikarhêner_Manual | Belgekirina bikarhênerê hilberê |
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-Quick_Start | Need to burn the bin file, flash the download tool, and use the instructions. |
Telîmatên Software
Pêngavên pêşveçûna nermalava modulê ya Display wiha ne:
- A. Jîngehek pêşvebirina nermalava platforma ESP32 ava bikin.
- 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.
Talîmatên Hardware
Serview of the module’s hardware resources is displayed
- Çavkaniyên hardware yên modulê di du hejmarên jêrîn de têne destnîşan kirin:
Çavkaniyên hardware wiha têne diyar kirin:
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.
- Kontrolker ILI9341 16bit (RGB565) bikar tîne da ku dîmenderek pixel kontrol bike, ji ber vê yekê ew dikare her pixel 65K rengan nîşan bide. Sazkirina navnîşana pîxelê bi rêz û stûnan ve tête kirin, û rêgeziya zêdebûn û kêmbûnê ji hêla moda şopandinê ve tête diyar kirin. Rêbaza pêşandana ILI9341 bi danîna navnîşan û dûv re nirxa rengan tête kirin.
- B. Destpêka protokola ragihandinê ya SPI
Demjimêra moda nivîsandinê ya otobusa SPI ya 4-têl di jimareya jêrîn de tê xuyang kirin:
- CSX hilbijarkek çîpek xulam e, û çîp tenê gava ku CSX di asta hêza nizm de be dê were çalak kirin.
- D/CX pîneya kontrolkirina daneyan/ferman a çîpê ye. Dema ku DCX fermanan di astên nizm de dinivîse, dane di astên bilind de têne nivîsandin
- SCL is the SPI bus clock, with each rising edge transmitting 1 bit of data.
- SDA daneya ku ji hêla SPI ve hatî veguheztin e, ku yekcar 8 bit daneyan dişîne. Forma daneyê di wêneya jêrîn de tê xuyang kirin:
- Pêşî bit bilind, pêşî veguhezîne.
- Ji bo danûstendina SPI-ê, daneya xwedan demek veguheztinê ye, bi tevliheviya qonaxa demjimêra rast (CPHA) û polarîteya demjimêrê (CPOL):
- Asta CPOL asta rewşa bêkar a demjimêra hevdem a rêzefîlmê diyar dike, bi CPOL=0, asta nizm nîşan dide. Protokola veguhestina cotê CPOL
- The discussion did not have much influence.
- Bilindahiya CPHA diyar dike ka demjimêra hevdem a rêzefîlmê daneyan li ser kêla jordaçûna demjimêra yekem an duyemîn berhev dike,
- Dema ku CPHL=0, berhevkirina daneyan li qiraxa yekem a veguheztinê pêk bînin;
- Kombûna van her du çar rêbazên ragihandinê yên SPI pêk tîne, û SPI0 bi gelemperî li Chinaînê tê bikar anîn, ku CPHL=0 û 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
- Bikaranîna moda ragihandinê ya SPI û girêdana ESP32, piştgirî ji bo kartên MicroSD yên kapasîteyên cihêreng.
RGB Three color Light
- Red, green, and blue LED lights can be used to indicate the running status of the program.
Serial Port
- Modulek porta serial a derveyî ji bo ragihandina porta serial tê bikar anîn.
USB to Serial Port and One-click Download Circuit
- Amûra bingehîn CH340C e, yek dawî bi USB-ya komputerê ve girêdayî ye, yek dawiya wê bi porta serial ESP32 ve girêdayî ye, da ku meriv porta serial USB-ê TTL-ê bigihîne.
- 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.
Battery 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 Key
- Piştî ku modula dîmenderê were çalak kirin, pêlkirin dê IO0 kêm bike. Ger dema ku modul tê vekêşandin an jî ESP32 ji nû ve were vegerandin, daxistina IO0 dê têkeve moda dakêşanê. Rewşên din dikarin wekî bişkokên asayî werin bikar anîn.
Navbera Tîpa-C
- 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 ber 3.3V Voltage Regular Circuit
- The core device is the ME6217C33M5G LDO regulator.
- The voltage regulator circuit supports 2A V~6.5V wide voltage input, a 3.3V stable voltage, û derana herî zêde 800mA ye, ku dikare bi tevahî voltage û pêdiviyên heyî yên modula nîşanderê.
RESET Key
- Piştî ku modula dîmenderê tê vekêşandin, pêl pê kirin dê pîneya vesazkirina ESP32 bikişîne xwarê (rewşa xwerû tê hilanîn), da ku hûn fonksiyona vesazkirinê bi dest bixin.
Circuit Control Screen Touch Resistive
- Amûra bingehîn XPT2046 e, ku bi SPI-ê bi ESP32 re têkilî dike.
- Ev çerx pira di navbera dîmendera desta berxwedêr û masterê ESP32 de ye, ku berpirsiyar e ku daneyên li ser ekrana destikê ji masterê ESP32 re veguhezîne, da ku hevrêzên xala pêwendiyê bi dest bixe.
Pînê berfireh bike
- An input IO port, GND, and 3.3V pin that are not used on the ESP32 module are led out for peripheral use.
Qada kontrolê ya ronahiya paşerojê
- 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.
Navrûya Axaftvan
- Pêdivî ye ku termînalên têl bi vertîkal ve werin girêdan. Ji bo gihîştina dengbêjên mono û dengbêjan tê bikar anîn.
Hêza dengî ampcircuit lifier
- Amûra bingehîn dengê FM8002E ye 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).
Têkiliya periferîkî ya SPI
- 4-wire navrûya horizontal. Pînek hilbijarka çîpê ya nekarandî û pîneya pêwendiya SPI-ya ku ji hêla qerta MicroSD ve tê bikar anîn, ku dikare ji bo cîhazên SPI-ya derveyî an portên IO-ya asayî were bikar anîn, derxînin.
Detailed explanation of the schematic diagram of the display module
Type C interface circuit
Di vê dorpêçê de, D1 dioda Schottky ye, ku ji bo pêşîlêgirtina berevajîkirina niha tê bikar anîn. D2 heta D4 dîodên parastinê yên elektrostatîk in ku pêşî li zirara modula dîmenderê ji ber volka zêde digirin.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 ber 3.3V voltage circuit regulator
Di vê dorpêçê de, C16 ~ C19 kondensatorê parzûna derbazkirinê ye, ku ji bo domandina aramiya volta têketinê tê bikar anîn.tage û 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 çerxa veguhertina regulator pêwîst e.
Qada kontrolê ya ekrana desta berxwedêr
Di vê çerxê de, C25 û C27 kondensatorên parzûnê yên derbider in, ku ji bo domandina volga têketinê têne bikar anîn.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
Di vê çerxê de, U3 IC-ya CH340C-USB-ber-serî ye, ku hewcedarê oscilatorek krîstalek derveyî nîne ku sêwirana çerxê hêsan bike. C6 kondensatorek parzûna derdor e ku ji bo domandina volta têketinê tê bikar anîntage 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. Pînên RST û DTR yên CH340C ji hêla xwerû ve asta bilind derdixin. Di vê demê de, trîoda Q1 û Q2 ne pêve ne, û pêlên IO0 û pîneyên vesazkirinê yên kontrola sereke ya ESP32 heya astek bilind têne kişandin.
- B. Pînên RST û DTR yên CH340C astên nizm derdixin, di vê demê de, trîoda Q1 û Q2 hîn jî ne li ser e, û pîneyên IO0 û pîneyên vesazkirinê yên kontrola sereke ya ESP32 hîn jî berbi astên bilind ve têne kişandin.
- 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. Pîneya RST ya CH340C astek bilind derdixe, Pîneya DTR astek nizm derdixe, di vê demê de Q1 pêve ye, Q2 veqetandî ye, pîneya vesazkirinê ya kontrola sereke ya ESP32 tavilê bilind nabe ji ber ku kondensatorê girêdayî tê barkirin, ESP32 hîn jî di rewşa vesazkirinê de ye, û pin IO0 di vê demê de di moda dakêşanê de yekser tê kişandin.
Hêza dengî ampcircuit lifier
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. Dema ku nirxa berxwedanê ya R13 neguherî ye, nirxa berxwedanê ya R10 piçûktir dibe, qebareya axaftvanê derveyî jî mezintir dibe. C10 û C11 kondensatorên hevgirêdana têketinê ne. R11 berxwedana vekişînê ye. JP1 porta horn/axêverê ye. U5 hêza deng a FM8002E ye amplifier IC. Piştî têketina ji hêla AUDIO_IN ve, sînyala DAC-a deng e 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.
circuit reset Key
Di vê çerxê de, KEY1 mifteyek e, R4 berxwedêra vekişînê ye, û C3 kondensatorê derengmayînê ye. Prensîba nûvekirinê:
- 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. Dema ku C3 tê barkirin, C3 bi çerxa vekirî re wekhev e, Pîneya RESET tê kişandin, vesazkirina ESP32 qediya, û ESP32 dikeve rewşa xebata normal.
- C. Dema ku KEY1 tê pêl kirin, pînê RESET tê zexmkirin, ESP32 dikeve rewşa vesazkirinê, û C3 bi KEY1 ve tê derxistin.
- D. Dema ku KEY1 tê berdan, C3 tê barkirin. Di vê demê de, C3 wekheviya kurtefîlmê ye, Pîneya RESET zevî ye, ESP32 hîn jî di rewşa RESET de ye. Piştî ku C3 tê barkirin, pînê vesazkirinê tê kişandin, ESP32 ji nû ve tê vegerandin û dikeve rewşa xebata normal.
Ger RESET neserketî be, nirxa toleransê ya C3 dikare bi rêkûpêk were zêdekirin da ku dema asta nizm a pîneya vesazkirinê dereng bike.
Interface circuit of the serial module
- Di vê dorpêçê de, P2 kursiyek 4P 1.25mm e, R29 û R30 berxwedêrên hevsengiya impedansê ne, û Q5 boriyek bandora zeviyê ye ku dabînkirina hêza têketina 5V kontrol dike.
- 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.
Dora rêveberiya barkirinê û dakêşanê ya bataryayê
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 5V e, wê hingê deriyê Q3 5V bilind e, avdan û çavkanî qut dibin, û dabînkirina pîlê qut dibe.
1 8P LCD panel wire welding interface
Di vê çerxê de, C24 kondensatorê parzûna derbazkirinê ye, û QD1 48P 0.8mm pêveka welding dîmendera krîstalê şil e. QD1 xwedan pîneya sînyala dîmendera desta berxwedêr e, ekrana LCD voltage pin, pin ragihandinê ya SPI, pînê kontrolê û pîneya ronahiya paşîn. ESP32 van pinan bikar tîne da ku LCD û ekrana destikê kontrol bike.
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.
Qada tespîtkirina hêza pîlê
Di vê çerxê de, R2 û R3 cildên qismî netage berxwedêr, û C1 û C2 kondensatorên parzûnê yên derdor in. Battery voltage ketina sînyala BAT+ di bergiriya dabeşker re derbas dibe. BAT_ADC cild etage 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 nirx. The voltage dabeşker tê bikar anîn ji ber ku ESP32 ADC herî zêde 3.3V vediguherîne, dema ku têrbûna batterê vol.tage 4.2V e, ku ji rêzê ye. The bidestxistin voltage ku bi 2-ê hatî zêdekirin volta batarya rastîn etage.
Qada kontrolê ya ronahiya paşerojê ya LCD
- Di vê dorpêçê de, R24 berxwedana debuggingê ye û bi demkî tê ragirtin. Q4 lûleya bandora zeviyê ya N-kanala ye, R25 berxwedêra dakêşana tora Q4 ye, û R26 berxwedêra sînorker a ronahiya paşerojê ye. Ronahiya paşde ya LCD LED lamp di rewşek paralel de ye, pola erênî bi 3.3V ve girêdayî ye, û pola neyînî bi avdana Q4 ve girêdayî ye. Gava ku pîneya kontrolê LCD_BL voltaja bilind derdixetage, 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 tê pêxistin û ronahiyê derdixe.
- When the control pin LCD_BL outputs a low voltage, avdan û çavkaniya Q4 qut dibe, û ronahiya paşde ya neyînî ya ekrana LCD tê sekinandin, û ronahiya paşîn LED lamp nayê veguherandin. Ji hêla xwerû ve, ronahiya paşerojê ya LCD-ê veqetandî ye.
- Kêmkirina berxwedana R26 dikare ronahiya paşerojê ya herî zêde zêde bike.
- In addition, the LCD_BL pin can input a PWM signal to adjust the LCD backlight.
Qada kontrolkirina ronahiyê ya sê-reng RGB
- Di vê dorpêçê de, LED2 l-ya sê-reng RGB yeamp, û R14~R16 l-ya sê reng eamp 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 hêlînê interface circuit
- Di vê dorpêçê de, SD_CARD1 hêlîna qerta MicroSD ye. R17 heta R21 ji bo her pînê berxwedêrên kişandinê ne. C26 kondensatorê parzûna derbazkirinê ye. Ev çerxa pêwendiyê moda ragihandinê ya SPI qebûl dike. Piştgiriya hilanîna bilez a kartên MicroSD dike.
- Bala xwe bidinê ku ev navbeynkar otobusa SPI-ê bi navgîniya periferîkî ya SPI re parve dike.
Tedbîrên ji bo karanîna modula nîşandanê
- 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.
- Di dema bikaranînê de, dest nedin volta LDOtagRêvebir û rêveberiya şarjê ya bataryayê IC bi destên xwe re da ku ji germahiya bilind neşewitin.
- Dema ku porta IO-yê girêdide, bala xwe bidin karanîna IO-yê da ku ji xeletî ve girêdayî nebin û pênase koda bernameyê li hev neke.
- Hilberê bi ewlehî û maqûl bikar bînin.
FAQ
- Q: How do I access the sample programs and software libraries?
- A: The 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.
Belge / Çavkanî
![]() |
LCD wiki E32R28T 2.8inch ESP32-32E Display Module [pdf] Rêbernameya Bikarhêner E32R28T, E32N28T, E32R28T 2.8inch ESP32-32E Display Module, E32R28T, 2.8inch ESP32-32E Display Module, ESP32-32E Display Module, Display Module, Module |