Demo MicroPython 32 modfedd lcdwiki E35R3.5T

Manylebau
- Modiwl: modiwl arddangos ESP3.5-32E 32-modfedd
- Cydraniad: 320 × 480
- IC gyrrwr sgrin: ST7796
- Prif reolydd: ESP32-WROOM-32E
- Prif amledd: 240MHz
- Cymorth diwifr: 2.4G WIFI + Bluetooth
- Fersiwn Thonny: 4.1.6
- Fersiwn cadarnwedd ESP32 MicroPython: 1.23.0
Cyfarwyddiadau Dyrannu Pin
Cefn view o fodiwl arddangos ESP3.5-32E 32-modfedd:
Cyfarwyddiadau dyrannu pin ESP32-32E:
| Dyfais ar fwrdd | Pinnau ar y bwrdd | Pin cysylltiad ESP32-32E | Disgrifiad |
|---|---|---|---|
| TFT_CS | IO15 | Signal rheoli dewis sglodion sgrin LCD, lefel isel effeithiol |
|
| TFT_RS | IO2 | Signal rheoli dewis data/gorchymyn sgrin LCD. Lefel uchel: Data, low level: command |
Cyfarwyddiadau Defnydd Cynnyrch
Set up ESP32 MicroPython development environment:
Follow the steps provided in your ESP32 MicroPython documentation to set up the development environment.
Llwytho i fyny files:
Trosglwyddo'r rhaglen angenrheidiol files to the ESP32 device using the appropriate tools or methods.
ExampCyfarwyddiadau Defnydd Rhaglen:
Dilynwch y camau hyn i redeg yr examprhaglen:
- Step 1: Power on the device and navigate to the program menu.
- Cam 2: Dewiswch yr exampy rhaglen o'r opsiynau dewislen.
- Step 3: Follow the on-screen instructions to interact with the program.
Disgrifiad platfform meddalwedd a chaledwedd
- ModiwlModiwl arddangos ESP3.5-32E 32 modfedd gyda datrysiad 320 × 480 ac IC gyrrwr sgrin ST7796.
- Meistr modiwl: Mae modiwl ESP32-WROOM-32E, y prif amledd uchaf 240MHz, yn cefnogi 2.4G WIFI + Bluetooth.
- Thonny version: 4.1.6
ESP32 MicroPython firmware version: 1.23.0.
Cyfarwyddiadau dyrannu pin

Ffigur 2.1 Cefn view o fodiwl arddangos ESP3.5-32E 32-modfedd
Prif reolwr y modiwl arddangos ESP3.5 32-modfedd yw ESP32-32E, a dangosir dyraniad GPIO ar gyfer ei berifferolion ar y bwrdd yn y tabl isod:
| Cyfarwyddiadau dyrannu pin ESP32-32E | |||
| Ar fwrdd dyfais | Pinnau dyfais ar fwrdd | ESP32-32E
pin cysylltiad |
disgrifiad |
|
LCD |
TFT_CS |
1015 |
Signal rheoli dewis sglodion sgrin LCD,
low-level effective |
|
TFT_RS |
102 |
LCD screen command/data selection control signal.High level: data, low level:
gorchymyn |
|

Cyfarwyddiadau ar gyfer yr henamprhaglen le
Set up ESP32 MicroPython development environment.
Am gyfarwyddiadau manwl ar sefydlu “MicroPython_development_environment_construction_for_ESP32”, cyfeiriwch at y ddogfen.
Llwytho i fyny files
Ar ôl i'r amgylchedd datblygu gael ei sefydlu, y rhai perthnasol fileMae angen eu lanlwytho i'r ddyfais ESP32 er mwyn rhedeg y rhaglen brofi.
Cyn uwchlwytho'r file, ymgyfarwyddwch â chynnwys cyfeiriadur y MicroPython s os gwelwch yn dda.ample program. Open the Demo\MicroPython directory in the package, as shown in the following figure:
The contents of each folder are described as follows:
- BMP: Stores BMP format images that sampmae angen i raglenni ddefnyddio. demos: Yn cynnwys samprhaglenni
- , ifirmware Stores MicroPython firmware (needs to be burned when setting up the development environment)
- Font: Stores the Chinese and English character modulo data that the sample program needs to use.
- Libraries: Stores MicroPython library filedynaampmae angen i raglenni ddefnyddio
- A. Cysylltwch y modiwl arddangos ESP32 â'r cyfrifiadur a'i droi ymlaen gan ddefnyddio cebl USB.
- B. Open the Thonny software and configure the MicroPython interpreter for ESP32, as shown in the following figure:
(If already configured, this step can be omitted)
- C. Cliciwch y bar offer
button to connect the ESP32 device. If the following prompt appears in the shell information bar, it indicates that the device connection is successful.
- D. Click the “View ->Filebotwm s” i agor y file window (ignore this operation if it is already open). Find the “1-示例程序_Demo\MicroPython” directory in the package in the window, left-click the mouse to select the target file yn y cyfeiriadur, a chliciwch ar y dde ar y llygoden annibynnol i ddewis “Upload to /” i uwchlwytho'r targed file. As shown in the following figure:
Please note that when uploading files, ESP32 cannot run any programs; otherwise, the upload will fail.l
- E. Upload the files from the “BMP”, “Font”, and “libraries” directories to the ESP32 device using the above method. The fileA ellir trosglwyddo s yn y cyfeiriadur 'demos' ai peidio. Fel y dangosir yn y ffigur canlynol:

Example Cyfarwyddiadau Defnydd Rhaglen
Y sample program is located in the Demo\MicroPython\dems directory of the package, as shown in the following figure:
Y sampGellir uwchlwytho'r rhaglen i ddyfais ESP32 i'w hagor a'i rhedeg, neu gellir ei hagor a'i rhedeg ar gyfrifiadur lleol. Os oes angen i chi droi'r modiwl arddangos ESP32 ymlaen i redeg yn awtomatig, mae angen i chi newid yample program name to “main.py” and upload it to the ESP32 display module.
In the Python software, open the target sampy rhaglen, cliciwch ar y bar dewislen
botwm, a gallwch ei redeg. Os bydd y llawdriniaeth yn methu, mae angen ailgysylltu'r ddyfais ESP32.
Mae cyflwyniad pob exampMae'r rhaglen fel a ganlyn:
- BMP_test.py
Mae'r cynample program relies on the ST7796.py library to display images in BMP format - font_test.py
Mae'r cynampMae'r rhaglen yn dibynnu ar y llyfrgell ST7796.py i arddangos cymeriadau Tsieineaidd a Saesneg o wahanol feintiau. Mae angen cadw'r data modelu ffont yn y ffont. file yn ôl y fformat perthnasol. Am gyfarwyddiadau ar gastio cymeriadau, cyfeiriwch at y canlynol websafle:
http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings - graphical_test.py
Mae'r cynample program relies on the ST7796.py library to display graphics such as points, lines, rectangles, rounded rectangles, triangles, circles, ellipses, etc. for drawing and filling, as well as setting display orientation. - Read_ID_GRAM.py
Mae'r cynample program relies on the ST7796.py library to display LCD ID and RGAM color value readings. - RGB_LED.py
Mae'r cynample hardware requires the use of RGB tri-color lights to display the on/off and brightness adjustment of the RGB tri-color lights. - Simple_test.py
Mae'r cynample does not rely on any software libraries and displays simple screen scrolling content. - Touch_Calibrate.py
Mae'r cynampMae le yn dibynnu ar y llyfrgell ST7796.py a'r llyfrgell touch.exe, gan arddangos calibradu sgrin gyffwrdd gwrthiannol. Dilynwch yr awgrymiadau a ddangosir ar y sgrin. Ar ôl cwblhau'r calibradu, mae'r paramedrau calibradu yn cael eu hallbynnu trwy'r porthladd cyfresol a'u copïo i gychwyniad yr s.amprhaglen le. Sylwch y dylid calibro'r sgrin gyffwrdd yn ôl cyfeiriad yr arddangosfa. Gellir addasu cyfeiriad yr arddangosfa yn y rhaglen hon, fel y dangosir yn y ffigur canlynol:
- Touch_Pen.py
Mae'r cynample relies on the ST7796.py library and the touch.exe library, displaying the operation of drawing dots and lines on the touch screen.
Cwestiynau Cyffredin
- C: Sut mae ailosod y modiwl ESP32-32E?
A: Pwyswch a daliwch y botwm RESET_KEY i ailosod y modiwl. - C: Beth yw swyddogaeth y BOOT_KEY?
A: The BOOT_KEY is used for download mode selection. Press and hold the button to power on, then release it to enter downloadmode.
Dogfennau / Adnoddau
![]() |
Demo MicroPython 32 modfedd lcdwiki E35R3.5T [pdfCanllaw Defnyddiwr E32R35T, E32N35T, E32R35T Arddangosiad MicroPython 3.5 modfedd, E32R35T, Arddangosiad MicroPython 3.5 modfedd, Arddangosiad MicroPython, Arddangosiad |

