LCD wiki E32R28T 2.8inch ESP32-32E Zaub Module
Specifications
- Khoom npe: 2.8 nti ESP32-32E E32R28T&E32N28T
- Qauv: CR2024-MI2875
- Zaub Module: 2.8-nti ESP32-32E
Cov ntaub ntawv khoom
- Cov khoom no yog 2.8-nti ESP32-32E E32R28T & E32N28T zaub module nrog ntau yam khoom siv kho vajtse thiab software rau kev txhim kho.
Cov lus qhia siv khoom
- Cov ntaub ntawv muaj xws li sample cov kev pab cuam, cov tsev qiv ntawv software, cov khoom specifications, cov qauv kos duab, cov ntaub ntawv, schematics, cov neeg siv phau ntawv, thiab cov cuab yeej software.
- Ntu no muab ib qho ntxivview ntawm cov khoom siv kho vajtse muaj nyob rau ntawm module.
- Piav qhov schematic daim duab ntawm cov zaub module kom meej.
- Muab kev ceev faj yuav tsum tau ua thaum siv cov zaub module.
Cov lus piav qhia
- Daim ntawv teev cov peev txheej tau qhia hauv daim duab hauv qab no:
Phau ntawv | Cov ntsiab lus piav qhia |
1-Demo | Qhov sample program code, thib peb-tog software tsev qiv ntawv uas sample program relies on, the third-party software library replacement file, software txhim kho ib puag ncig teeb tsa cov ntaub ntawv qhia, thiab sample program instruction
ntaub ntawv. |
2-Specification | Zaub module khoom specification, LCD npo specification thiab LCD zaub tsav tsheb IC pib code. |
3-Structure_Diagram | Zaub module khoom qhov ntev thiab cov khoom 3D kos duab |
4-Cov ntaub ntawv | LCD zaub tsav tsheb ILI9341 cov ntaub ntawv phau ntawv, tiv thaiv kov npo tsav tsheb XPT2046 cov ntaub ntawv phau ntawv, ESP32 tus tswv cov ntaub ntawv thiab cov ntaub ntawv tsim kho kho vajtse, USB rau Serial IC (CH340C) cov ntaub ntawv phau ntawv, suab amplifier nti FM8002E cov ntaub ntawv phau ntawv, 5V txog 3.3V regulator cov ntaub ntawv phau ntawv
thiab roj teeb them tswj Chip TP4054 cov ntaub ntawv. |
5-Schematic | Khoom kho vajtse schematic, ESP32-WROOM-32E module IO pab pawg faib cov lus, schematic, thiab PCB tivthaiv pob |
6-User_Manual | Cov ntaub ntawv siv cov khoom siv |
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
thiab serial chaw nres nkoj debugging cuab yeej. |
8-Quick_Start | Yuav tsum tau hlawv lub qhov cub file, nyem lub download tool, thiab siv cov lus qhia. |
Cov lus qhia Software
Display module software txhim kho cov kauj ruam yog raws li nram no:
- A. Tsim ESP32 platform software txhim kho ib puag ncig.
- B. Yog tias tsim nyog, import cov tsev qiv ntawv software thib peb los ua lub hauv paus rau kev txhim kho;
- C. Qhib qhov project software kom debugged, lossis koj tuaj yeem tsim qhov project tshiab software.
- D. lub hwj chim ntawm cov zaub module, muab tso ua ke thiab rub tawm qhov kev pab cuam debugging, thiab tom qab ntawd xyuas cov software khiav haujlwm.
- E. Cov nyhuv software tsis ncav cuag qhov xav tau, txuas ntxiv hloov kho qhov program code, thiab tom qab ntawd muab tso ua ke thiab rub tawm, kom txog thaum cov nyhuv ncav cuag qhov xav tau.
Yog xav paub meej txog cov kauj ruam ua ntej, saib cov ntaub ntawv hauv 1 Demo directory.
Cov lus qhia kho vajtse
Tshajview of the module’s hardware resources is displayed
- Module hardware peev txheej tau qhia hauv ob daim duab hauv qab no:
Cov khoom siv kho vajtse tau piav qhia raws li hauv qab no:
LCD
- Lub LCD zaub loj yog 2.8 nti, tus tsav tsheb IC yog ILI9341, thiab qhov kev daws teeb meem yog 24 0x 32 0. ESP32 txuas nrog siv 4-xaim SPI kev sib txuas lus.
- 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 maub los siv 16-ntsis (RGB565) los tswj lub pixel zaub, yog li nws tuaj yeem tso saib txog 65K xim ib pixel. Qhov chaw nyob pixel yog ua nyob rau hauv qhov kev txiav txim ntawm kab thiab kab, thiab cov incrementing thiab txo cov kev taw qhia yog txiav txim los ntawm lub scanning hom. ILI9341 zaub txoj kev yog ua los ntawm kev teeb tsa qhov chaw nyob thiab tom qab ntawd teeb tsa tus nqi xim.
- B. Taw qhia rau SPI kev sib txuas lus raws tu qauv
Lub sijhawm sau ntawv lub sijhawm ntawm 4-xaim SPI npav yog qhia hauv daim duab hauv qab no:
- CSX yog ib tug qhev nti xaiv, thiab lub nti yuav tsuas yog enabled thaum CSX nyob rau hauv qis zog.
- D / CX yog cov ntaub ntawv / lus txib tswj tus pin ntawm lub nti. Thaum DCX sau cov lus txib ntawm qib qis, cov ntaub ntawv raug sau rau qib siab
- SCL is the SPI bus clock, with each rising edge transmitting 1 bit of data.
- SDA yog cov ntaub ntawv xa los ntawm SPI, uas xa 8 cov ntaub ntawv ib zaug. Cov ntaub ntawv hom yog qhia hauv daim duab hauv qab no:
- Siab me ntsis ua ntej, kis ua ntej.
- Rau kev sib txuas lus SPI, cov ntaub ntawv muaj lub sijhawm sib kis, nrog kev sib xyaw ntawm lub sijhawm moos sijhawm (CPHA) thiab moos polarity (CPOL):
- Qib ntawm CPOL txiav txim siab lub xeev tsis ua haujlwm ntawm lub sijhawm ua haujlwm synchronous moos, nrog CPOL = 0, qhia txog qib qis. CPOL khub kis tau tus mob raws tu qauv
- Kev sib tham tsis muaj kev cuam tshuam ntau.
- Qhov siab ntawm CPHA txiav txim siab seb lub serial synchronous moos sau cov ntaub ntawv ntawm thawj lossis thib ob moos dhia ntug,
- Thaum CPHL = 0, ua cov ntaub ntawv sau ntawm thawj qhov kev hloov pauv;
- Kev sib xyaw ua ke ntawm ob daim ntawv plaub SPI kev sib txuas lus, thiab SPI0 feem ntau siv hauv Suav teb, qhov twg CPHL = 0 thiab CPOL = 0
ESP32 WROOM 32E M odule
- Cov qauv no muaj ib qho built-in ESP32-DOWD-V3 nti, Xtensa dual-ntxhais 32-ntsis LX6 microprocessor, thiab txhawb cov nqi moos mus txog 240MHz. Nws muaj 448KB ROM, 520KB SRAM, 16KB RTC SRAM, thiab 4MB QSPI Flash. 2.4GHz WIFI,
- Bluetooth V4.2 thiab Bluetooth Low Power modules tau txais kev txhawb nqa. Sab nraud 26 GPIOs, txhawb SD daim npav, UART, SPI, SDIO, I2C, LED PWM, lub cev muaj zog PWM, I2S, IR, mem tes txee, GPIO, capacitive kov sensor, ADC, DAC, TWAI thiab lwm yam khoom siv peripherals.
Qhov MicroSD Card Qhov
- Siv SPI kev sib txuas lus hom thiab ESP32 kev sib txuas, kev txhawb nqa rau MicroSD phaib ntawm ntau lub peev xwm.
RGB Peb xim Lub teeb
- Liab, ntsuab, thiab xiav LED teeb tuaj yeem siv los qhia txog kev khiav haujlwm ntawm txoj haujlwm.
Serial Chaw nres nkoj
- Ib qho chaw nres nkoj sab nraud yog siv rau kev sib txuas lus serial chaw nres nkoj.
USB rau Serial Chaw nres nkoj thiab ib-nias Download Circuit
- Cov cuab yeej tseem ceeb yog CH340C, ib kawg yog txuas nrog lub computer USB, ib kawg yog txuas nrog ESP32 serial chaw nres nkoj, thiaj li ua tiav USB rau TTL qhov chaw nres nkoj.
- Tsis tas li ntawd, ib-nias rub tawm Circuit Court kuj tseem txuas nrog, yog li ntawd, thaum rub tawm qhov program, nws tuaj yeem nkag mus rau hom rub tawm, yam tsis tas yuav tsum tau kov sab nraud.
Roj teeb Interface
- Ob-pin interface, ib qho rau qhov zoo electrode, ib qho rau qhov tsis zoo electrode, kom nkag tau lub roj teeb lub zog thiab them nyiaj.
Roj teeb Charge thiab Discharge Management Circuit Court
- Cov cuab yeej tseem ceeb yog TP4054, qhov Circuit Court no tuaj yeem tswj tau lub roj teeb them tam sim no, lub roj teeb muaj kev nyab xeeb rau lub xeev saturation, tab sis tuaj yeem tswj tau lub roj teeb kom nyab xeeb.
BOOT Key
- Tom qab cov zaub module yog powered rau, nias yuav txo IO0. Yog hais tias lub sij hawm lub module yog powered rau los yog lub ESP32 yog pib dua, txo IO0 yuav nkag mus rau lub download hom. Lwm cov rooj plaub tuaj yeem siv los ua cov nyees khawm zoo tib yam.
Hom-C Interface
- Lub ntsiab fais fab mov interface thiab program download interface ntawm cov zaub module. Txuas USB mus rau qhov chaw nres nkoj serial thiab ib-nias rub tawm Circuit Court, tuaj yeem siv rau kev siv hluav taws xob, rub tawm thiab sib txuas lus sib txuas.
5V rau 3.3V Voltage Regulator Circuit
- Cov cuab yeej tseem ceeb yog ME6217C33M5G LDO regulator.
- Qhov voltage regulator circuit txhawb 2A V ~ 6.5V dav voltage input, 3.3V ruaj khov voltage tso zis, thiab qhov siab tshaj plaws tso zis tam sim no yog 800mA, uas tuaj yeem ua tau raws li voltage thiab cov cai tam sim no ntawm cov zaub module.
RESET tus yuam sij
- Tom qab cov zaub module tau qhib rau, nias yuav rub ESP32 rov pib dua tus pin (lub xeev lub neej ntawd yog rub), thiaj li ua tiav cov haujlwm pib dua.
Resistive Touch Screen Tswj Circuit
- Cov cuab yeej tseem ceeb yog XPT2046, uas sib txuas lus nrog ESP32 los ntawm SPI.
- Qhov no Circuit Court yog tus choj ntawm lub resistive kov npo thiab ESP32 tus tswv, lub luag hauj lwm rau kev xa cov ntaub ntawv ntawm lub kov screen mus rau lub ESP32 tswv, thiaj li yuav tau txais lub coordinates ntawm kov point.
Expand Pin
- Ib qho input IO chaw nres nkoj, GND, thiab 3.3V tus pin uas tsis siv ntawm ESP32 module raug coj tawm rau kev siv khoom siv.
Backlight tswj Circuit Court
- Cov cuab yeej tseem ceeb yog BSS138 cov yeeb yaj kiab ua haujlwm.
- Ib qho kawg ntawm qhov Circuit Court no txuas nrog lub backlight tswj tus pin ntawm ESP32 tus tswv, thiab lwm qhov kawg yog txuas nrog tus ncej tsis zoo ntawm LCD npo backlight LED lamp.
- Backlight tswj tus pin rub, rov qab lub teeb, txwv tsis pub tawm.
Hais lus interface
- Cov kab hluav taws xob yuav tsum tau txuas nrog vertically. Siv rau kev nkag mus rau cov hais lus mono thiab nrov nrov.
Lub zog amplifier Circuit Court
- Cov cuab yeej tseem ceeb yog FM8002E suab ampliv IC.
- Ib kawg ntawm qhov Circuit Court no txuas nrog ESP32 suab DAC tus nqi tso zis tus pin thiab lwm qhov kawg yog txuas nrog lub horn interface.
- Lub luag haujlwm ntawm lub voj voog no yog tsav lub hwj chim me me los yog tus hais lus kom suab. Rau 5V fais fab mov, lub zog tsav siab tshaj plaws yog 1.5W (load 8 ohms) lossis 2W (load 4 ohms).
SPI peripheral interface
- 4-xaim kab rov tav interface. Coj tawm ib qho tsis siv nti xaiv tus pin thiab SPI interface tus pin siv los ntawm MicroSD daim npav, uas tuaj yeem siv rau cov khoom siv SPI sab nraud lossis cov chaw nres nkoj IO zoo tib yam.
Kev piav qhia ntxaws ntawm daim duab schematic ntawm cov zaub module
Hom C interface Circuit Court
Hauv Circuit Court no, D1 yog Schottky diode, uas yog siv los tiv thaiv qhov tam sim no ntawm kev thim rov qab. D2 rau D4 yog electrostatic surge tiv thaiv diodes los tiv thaiv cov zaub module los ntawm kev puas tsuaj vim ntau dhau vol.tage los yog luv luv Circuit Court. R1 yog lub zog rub-down. USB1 yog hom-C tsheb npav. Cov zaub module txuas rau hom C fais fab mov, rub tawm cov kev pab cuam, thiab sib txuas lus los ntawm USB 1. Qhov twg +5V thiab GND yog lub zog zoo vol.tage thiab av teeb liab USB_D thiab USB_D + yog qhov sib txawv USB teeb liab, uas tau xa mus rau onboard USB rau serial circuit.
5V rau 3.3V Voltage regulator Circuit Court
Nyob rau hauv lub Circuit Court no, C16 ~ C19 yog lub bypass lim capacitor, uas yog siv los tuav lub stability ntawm lub input vol.tage thiab output voltage. U1 yog 5V rau 3.3V LDO nrog tus qauv naj npawb ME6217C33M5G. Vim hais tias feem ntau ntawm cov circuits ntawm cov zaub module xav tau ib tug 3.3V fais fab mov, thiab lub hwj chim input ntawm hom Cinterface yog yeej 5V, yog li ib tug vol.tage regulator conversion circuit yuav tsum.
Resistive kov screen tswj Circuit Court
Nyob rau hauv lub Circuit Court no, C25 thiab C27 yog bypass lim capacitors, uas yog siv los tswj lub input vol.tage stability. R22 yog ib tug rub-up resistor siv los tswj lub neej ntawd tus pin lub xeev siab. U4 yog XPT2046 tswj IC, Lub luag haujlwm ntawm IC no yog kom tau txais kev tswj hwm voltage tus nqi ntawm qhov taw tes kov ntawm qhov kev tiv thaiv kov npo los ntawm X +, X -, Y +, thiab Y plaub tus pins, thiab tom qab ntawd los ntawm kev hloov pauv ADC, tus nqi ADC raug xa mus rau ESP32 tus tswv. Tus ESP32 tus tswv tom qab ntawd hloov tus nqi ADC mus rau pixel kev tswj hwm tus nqi ntawm cov zaub. PEN tus pin yog tus kov cuam tshuam tus pin, thiab cov tswv yim qib qis qis thaum muaj qhov tshwm sim kov.
USB rau serial chaw nres nkoj thiab ib-nias download Circuit Court
Nyob rau hauv Circuit Court no, U3 yog CH340C USB-rau-serial IC, uas tsis xav tau ib tug sab nraud siv lead ua oscillator los pab tsim Circuit Court. C6 yog ib tug bypass lim capacitor siv los tswj cov input voltage stability. Q1 thiab Q2 yog NPN-hom triodes, thiab R6 thiab R7 yog triode puag txwv tam sim no resistors. Lub luag haujlwm ntawm qhov Circuit Court no yog kom paub txog USB-rau-serial chaw nres nkoj thiab nias lub luag haujlwm rub tawm. USB teeb liab yog input thiab tso zis los ntawm UD + thiab UD pins, thiab xa mus rau tus ESP32 tswv los ntawm RXD thiab TXD pins tom qab hloov dua siab tshiab. One-click download circuit txoj cai:
- A. RST thiab DTR pins ntawm CH340C tso zis siab los ntawm lub neej ntawd. Lub sijhawm no, Q1 thiab Q2 triode tsis nyob rau, thiab IO0 pins thiab rov pib dua tus pins ntawm ESP32 lub ntsiab tswj tau rub mus rau qib siab.
- B. RST thiab DTR pins ntawm CH340C tso zis qis, lub sijhawm no, Q1 thiab Q2 triode tseem tsis nyob, thiab IO0 pins thiab rov pib dua pins ntawm ESP32 lub ntsiab tswj tseem rub mus rau qib siab.
- C. RST tus pin ntawm CH340C tseem tsis hloov pauv, thiab DTR tus pin tso tawm ib qib siab. Lub sijhawm no, Q1 tseem raug txiav tawm, Q2 nyob rau, IO0 tus pin ntawm ESP32 tus tswv tseem rub tawm, tus pin rov pib dua yog rub, thiab ESP32 nkag mus rau hauv lub xeev pib dua.
- D. CH340C's RST tus pin outputs theem siab, DTR tus pin outputs theem qis, lub sij hawm no Q1 yog nyob rau, Q2 yog tawm, lub reset tus pin ntawm lub ESP32 lub ntsiab tswj yuav tsis tam sim ntawd ely ua siab vim hais tias cov kev cob cog rua capacitor yog them, ESP32 tseem yog. nyob rau hauv lub xeev pib dua, thiab IO0 tus pin yog tam sim ntawd rub down, lub sij hawm no nws yuav nkag mus rau lub download hom.
Lub zog amplifier Circuit Court
Nyob rau hauv lub Circuit Court no, R23, C7, C8, thiab C9 yog lub RC lim Circuit Court, thiab R10 thiab R13 yog qhov nce-kho resistors ntawm kev ua haujlwm. amplifier. Thaum tus nqi tsis kam ntawm R13 tsis hloov, qhov me me ntawm qhov tsis kam ntawm R10, qhov loj dua qhov ntim ntawm tus neeg hais lus sab nraud. C10 thiab C11 yog input coupling capacitor. R11 yog lub rub-up resistor. JP1 yog lub horn / speaker chaw nres nkoj. U5 yog FM8002E lub zog suab amplus IC. Tom qab cov tswv yim los ntawm AUDIO_IN, lub suab DAC teeb liab yog ampLified los ntawm FM8002E nce thiab tso zis rau tus neeg hais lus / hais lus los ntawm VO1 thiab VO2 tus pins. SHUTDOWN yog tus pab tus pin rau FM8002E. Qib qis yog qhib. Los ntawm lub neej ntawd, qib siab tau qhib.
ESP32 WROOM 32E main control circuit
Nyob rau hauv Circuit Court no, C4 thiab C5 yog bypass lim capacitors, thiab U2 yog ESP32 WROOM 32E modules. Yog xav paub meej txog lub internal circuit ntawm no module, thov mus saib cov ntaub ntawv official.
Ntsiab reset Circuit Court
Nyob rau hauv no Circuit Court, KEY1 yog tus yuam sij, R4 yog lub rub-up resistor, thiab C3 yog lub ncua capacitor. Rov pib txoj cai:
- A. Tom qab fais fab tuag, C3 them. Lub sijhawm no, C3 sib npaug rau qhov luv luv, RESET tus pin yog hauv av, thiab ESP32 nkag mus rau lub xeev rov pib dua.
- B. Thaum C3 raug them, C3 sib npaug rau qhib Circuit Court, RESET tus pin raug rub, ESP32 rov pib dua tiav, thiab ESP32 nkag mus rau hauv lub xeev ua haujlwm.
- C. Thaum KEY1 raug nias, RESET tus pin yog hauv av, ESP32 nkag mus rau lub xeev rov pib dua, thiab C3 raug tso tawm los ntawm KEY1.
- D. Thaum KEY1 raug tso tawm, C3 raug them. Lub sijhawm no, C3 sib npaug rau luv luv, RESET tus pin yog hauv av, ESP32 tseem nyob rau hauv lub xeev RESET. Tom qab C3 raug them, tus pin rov pib dua, ESP32 rov pib dua thiab nkag mus rau lub xeev ua haujlwm ib txwm muaj.
Yog tias qhov RESET ua tsis tiav, tus nqi kam rau ntawm C3 tuaj yeem tsim nyog ntxiv kom ncua sij hawm rov pib dua tus pin qis.
Interface Circuit Court ntawm serial module
- Nyob rau hauv no Circuit Court, P2 yog 4P 1.25mm suab lub rooj, R29 thiab R30 yog impedance tshuav resistors, thiab Q5 yog ib tug field effect raj tswj lub 5V input fais fab mov.
- R31 yog ib tug pulldown resistor. Txuas RXD0 thiab TXD0 rau serial pins, thiab muab lub zog rau ob tus pins. Qhov chaw nres nkoj no txuas nrog tib qhov chaw nres nkoj raws li onboard USB-rau-serial chaw nres nkoj module.
EX pand IO thiab 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.
Roj teeb charger thiab tso tawm tswj Circuit Court
Nyob rau hauv no Circuit Court, C20, C21, C22, thiab C23 yog bypass lim capacitor. U6 yog TP4054 roj teeb tswj IC. R27 tswj lub roj teeb them tam sim no. JP2 yog lub rooj zaum 2P 1.25mm, txuas nrog lub roj teeb. Q3 yog P-channel FET. R28 yog Q3 daim phiaj rub-down resistor. TP4054 them lub roj teeb los ntawm BAT tus pin; Qhov me me ntawm R27 tsis kam, qhov loj dua qhov them tam sim no, nrog qhov siab tshaj plaws yog 500mA. Q3 thiab R28 ua ke tsim lub roj teeb tawm hluav taws xob, Thaum tsis muaj hluav taws xob los ntawm hom C interface, qhov + 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 yog 5V, tom qab ntawd lub rooj vag Q3 yog 5V siab, qhov ntws thiab qhov chaw raug txiav tawm, thiab cov khoom siv roj teeb raug cuam tshuam.
1 8P LCD panel wire welding interface
Nyob rau hauv lub Circuit Court no, C24 yog lub bypass lim capacitor, thiab QD1 yog 48P 0.8mm suab kua siv lead ua tshuaj ntsuam vuam interface. Lub QD1 muaj kev tiv thaiv kov npo teeb liab tus pin, LCD npo voltage tus pin, SPI kev sib txuas lus tus pin, tswj tus pin thiab backlight circuit pin. ESP32 siv cov pins no los tswj lub LCD thiab kov npo.
Download tau qhov tseem ceeb Circuit Court
- Hauv qhov Circuit Court no, KEY2 yog tus yuam sij thiab R5 yog tus rub tawm resistor. IO0 siab los ntawm lub neej ntawd thiab qis thaum KEY2 nias. Nias thiab tuav KEY2, qhib lossis rov pib dua, thiab ESP32 yuav nkag mus rau hom download. Hauv lwm qhov xwm txheej, KEY2 tuaj yeem siv los ua tus yuam sij ib txwm.
Roj teeb hluav taws xob kuaj xyuas Circuit Court
Hauv Circuit Court no, R2 thiab R3 yog ib nrab voltage resistors, thiab C1 thiab C2 yog bypass lim capacitors. Lub roj teeb voltage BAT + teeb liab tawm tswv yim dhau los ntawm qhov sib faib resistor. BAT_ADC yog voltage tus nqi ntawm ob qho kawg ntawm R3, uas tau xa mus rau ESP32 tus tswv los ntawm tus pin input thiab tom qab ntawd hloov los ntawm ADC thaum kawg tau txais lub roj teeb vol.tage nqi. Lub voltage divider yog siv vim ESP32 ADC hloov siab tshaj plaws ntawm 3.3V, thaum lub roj teeb saturation vol.tage yog 4.2V, uas yog tawm ntawm qhov ntau. The tau voltage multiplied by 2 yog lub roj teeb tiag tiag voltage.
LCD backlight tswj Circuit Court
- Nyob rau hauv no Circuit Court, R24 yog qhov debugging tsis kam thiab yog khaws cia ib ntus. Q4 yog N-channel teb cov nyhuv tube, R25 yog Q4 daim phiaj rub-down resistor, thiab R26 yog lub backlight tam sim no limiting resistor. Lub LCD backlight LED lamp yog nyob rau hauv parallel lub xeev, tus ncej zoo txuas nrog 3.3V, thiab tus ncej tsis zoo txuas nrog rau qhov ntws ntawm Q4. Thaum tus tswj tus pin LCD_BL outputs siab voltage, cov kav dej thiab cov kav dej ntawm Q4 tau hloov mus. Lub sijhawm no, tus ncej tsis zoo ntawm LCD backlight yog grounded, thiab backlight LED lamp yog switched rau thiab emits lub teeb.
- Thaum tus tswj tus pin LCD_BL outputs qis voltage, cov dej ntws thiab qhov chaw ntawm Q4 raug txiav tawm, thiab lub teeb pom kev tsis zoo ntawm lub vijtsam LCD raug tshem tawm, thiab lub teeb rov qab LED lamp tsis hloov rau. Los ntawm lub neej ntawd, lub LCD backlight yog tawm.
- Txo qhov R26 tsis kam tuaj yeem ua kom qhov siab tshaj plaws ntawm lub teeb rov qab.
- In addition, the LCD_BL pin can input a PWM signal to adjust the LCD backlight.
RGB peb-xim lub teeb tswj Circuit Court
- Hauv Circuit Court no, LED2 yog RGB peb-xim lamp, thiab R14 ~ R16 yog peb-xim lamp tam sim no limiting resistor.
- LED2 muaj xim liab, ntsuab, thiab xiav LED teeb, uas yog cov kev sib txuas anode.
- 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 daim npav qhov interface Circuit Court
- Hauv Circuit Court no, SD_CARD1 yog MicroSD daim npav qhov. R17 txog R21 yog rub-up resistors rau txhua tus pin. C26 yog lub bypass lim capacitor. Qhov no interface Circuit Court txais SPI kev sib txuas lus hom. Txhawb kev ceev ceev ntawm MicroSD phaib.
- Nco ntsoov tias qhov kev sib txuas no sib qhia SPI npav nrog SPI peripheral interface.
Kev ceev faj rau kev siv zaub module
- Cov zaub module raug them nrog roj teeb, tus neeg hais lus sab nraud plays lub suab, thiab lub vijtsam zaub kuj ua haujlwm; Nyob rau lub sijhawm no, tag nrho tam sim no tuaj yeem tshaj 500mA. Hauv qhov no, koj yuav tsum tau them sai sai rau qhov siab tshaj plaws tam sim no txhawb nqa los ntawm Hom C cable thiab qhov siab tshaj plaws tam sim no txhawb nqa los ntawm lub hwj chim mov interface kom tsis txhob muaj lub zog tsis txaus.
- Thaum siv, tsis txhob kov LDO voltage regulator thiab roj teeb tswj IC nrog koj txhais tes kom tsis txhob raug kub hnyiab.
- Thaum txuas IO chaw nres nkoj, xyuam xim rau kev siv IO kom tsis txhob muaj kev sib txuas tsis raug thiab qhov kev pab cuam code txhais tsis phim.
- Siv cov khoom zoo thiab tsim nyog.
FAQ
- Q: Kuv tuaj yeem nkag mus rau sample programs thiab software libraries?
- A: Qhov sample cov kev pab cuam thiab cov tsev qiv ntawv tuaj yeem pom nyob rau hauv 1-_Demo directory ntawm cov ntaub ntawv piav qhia.
- Q: Cov cuab yeej twg suav nrog hauv cov cuab yeej software?
- A: Cov cuab yeej software suav nrog WIFI thiab Bluetooth xeem APP, cov cuab yeej debugging, USB rau serial chaw nres nkoj tsav tsheb, ESP32 Flash rub lub cuab yeej software, tus cwj pwm coj-up software, duab coj-up software, JPG duab ua software, thiab cov cuab yeej serial chaw nres nkoj debugging.
Cov ntaub ntawv / Cov ntaub ntawv
![]() |
LCD wiki E32R28T 2.8inch ESP32-32E Zaub Module [ua pdf] Tus neeg siv phau ntawv E32R28T, E32N28T, E32R28T 2.8inch ESP32-32E Zaub Module, E32R28T, 2.8inch ESP32-32E Zaub Module, ESP32-32E Zaub Module, Zaub Module, Module |