EBYTE E32R40T-E32N40T 4.0 इंच मायक्रो पायथॉन

उत्पादन तपशील
- मॉड्यूल: 4.0-इंच ESP32-32E डिस्प्ले मॉड्यूल
- रिजोल्यूशन: 320×480 पिक्सेल
- स्क्रीन ड्रायव्हर IC: ST7796
- मुख्य नियंत्रक: ESP32-WROOM-32E
- मुख्य वारंवारता: 240MHz
- वायरलेस कनेक्टिव्हिटी: २.४G वायफाय, ब्लूटूथ
- थॉनी आवृत्ती: ४.१.६
- मायक्रोपायथॉन फर्मवेअर आवृत्ती: १.२४.१
सॉफ्टवेअर आणि हार्डवेअर प्लॅटफॉर्म वर्णन
- मॉड्यूलः 4.0×32 रिझोल्यूशन आणि ST32 स्क्रीन ड्रायव्हर IC सह 320-इंच ESP480-7796E डिस्प्ले मॉड्यूल.
- मॉड्यूल master: ESP32-WROOM-32E module, the highest main frequency 240MHz, support 2.4G WIFI+ Bluetooth.
- थोनी आवृत्ती: 4.1.6
- ईएसपीएक्सएनएक्स MicroPython firmware version: 1.24.1.
पिन वाटप सूचना

4.0-इंचाच्या ESP32 डिस्प्ले मॉड्यूलचा मुख्य नियंत्रक ESP32-32E आहे आणि त्याच्या ऑनबोर्ड पेरिफेरल्ससाठी GPIO वाटप खालील तक्त्यामध्ये दाखवले आहे:
| ESP32-32E पिन वाटप सूचना | |||
| बोर्ड डिव्हाइसवर | बोर्ड डिव्हाइस पिन वर | ESP32-32E
कनेक्शन पिन |
वर्णन |
|
एलसीडी |
TFT_CS |
IO15 |
एलसीडी स्क्रीन चिप निवड नियंत्रण सिग्नल,
कमी पातळी प्रभावी |
|
TFT_RS |
IO2 |
LCD screen command/data selection control signal.High level: data, low level:
आज्ञा |
|
|
टीएफटी_एससीके |
IO14 |
SPI bus clock signal (shared by LCD
screen and touch screen) |
||
|
टीएफटी_एमओएसआय |
IO13 |
SPI bus writes data signals (shared by LCD
screen and touch screen) |
||
|
TFT_MISO बद्दल |
IO12 |
SPI bus reading data signal (shared by
LCD screen and touch screen) |
||
|
टीएफटी_आरएसटी |
EN |
LCD screen reset control signal, low level reset (shared reset pin with ESP32-32E
main control) |
||
|
टीएफटी_बीएल |
IO27 |
LCD screen backlight control signal (high level lights up the backlight, low level turns
off the backlight) |
||
|
RTP |
TP_SCK |
IO14 |
SPI bus clock signal (shared by touch
screen and LCD screen) |
|
|
टीपी_डिन |
IO13 |
SPI bus writes data signals (shared by
touch screen and LCD screen) |
||
|
टीपी_डाउट |
IO12 |
SPI bus reading data signal (shared by
touch screen and LCD screen) |
||
|
टीपी_सीएस |
IO33 |
Resistance touch screen chip selection
control signal, low level effective |
||
|
टीपी_आयआरक्यू |
IO36 |
Resistive touch screen touch interrupt signal, when a touch is generated, input a
low level to the main control |
||
|
एलईडी |
LED_RED | IO22 | लाल एलईडी दिवा |
सामान्य एनोडसह, आरजीबी ट्राय कलर एलईडी लाईट कमी पातळीवर पेटते आणि जास्त पातळीवर बंद होते. |
| LED_GREEN | IO16 | हिरवा एलईडी दिवा | ||
| LED_BLUE | IO17 | निळा एलईडी दिवा | ||
|
SDCARD |
SD_CS | IO5 | एसडी कार्ड सिग्नल निवड, कमी पातळी प्रभावी | |
| एसडी_मोसी | IO23 | एसडी कार्ड एसपीआय बस राइट डेटा सिग्नल | ||
| SD_SCK | IO18 | एसडी कार्ड एसपीआय बस क्लॉक सिग्नल | ||
| एसडी_मिसो | IO19 | एसडी कार्ड एसपीआय बस रीड डेटा सिग्नल | ||
| बॅटरी | बॅट_एडीसी | IO34 | बॅटरी व्हॉल्यूमtage ADC value acquisition
signal (input) |
|
|
ऑडिओ |
ऑडिओ_सक्षम | IO4 | Audio enable signal, low-level enable,
high-level disable |
|
| ऑडिओ_डॅक | IO26 | ऑडिओ सिग्नल डीएसी आउटपुट सिग्नल | ||
| की | बूट_की | IO0 | Download mode selection button (press
and hold the button to power on, then |
|
| डाउनलोड मोडमध्ये जाण्यासाठी ते सोडा) | |||
| RESET_KEY | EN | ESP32-23E रीसेट बटण, कमी पातळी रीसेट
(एलसीडी स्क्रीन रीसेटसह सामायिक केलेले) |
|
|
सिरीयल पोर्ट |
RX0 | आरएक्सडी 0 | ESP32-32E सिरीयल पोर्ट सिग्नल प्राप्त करणे |
| TX0 | TXD0 | ESP32-32E serial port sends signal | |
| पॉवर | टाइप-सी_पॉवर | / | Type-C power interface, connected to 5V voltage. |
तक्ता 2.1 ESP32-32E ऑनबोर्ड पेरिफेरल्ससाठी पिन वाटप सूचना
Instructions for the example कार्यक्रम
Set up ESP32 MicroPython development environment
“MicroPython_development_environment_construction_for_ESP32” सेट करण्याच्या तपशीलवार सूचनांसाठी, कृपया दस्तऐवज पहा.
अपलोड करा files
विकास वातावरण स्थापित झाल्यानंतर, संबंधित fileचाचणी कार्यक्रम चालविण्यासाठी वापरकर्त्यांना ESP32 डिव्हाइसवर अपलोड करणे आवश्यक आहे.
अपलोड करण्यापूर्वी file, कृपया मायक्रोपायथॉनच्या निर्देशिकेतील सामग्रीशी परिचित व्हा.ample program. Open the “1-示例程序_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 sample programs need to use.
- demos: Contains sample कार्यक्रम
- firmware: 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 fileतेच तेampप्रोग्राम्स वापरण्याची आवश्यकता आहे
- Connect the ESP32 display module to the computer and power it on using a USB cable.
- 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)
Click the toolbar
button to connect the ESP32 device. If the following prompt appears in the shell information bar, it indicates that the device connection is successful.
- क्लिक करा "View ->Fileउघडण्यासाठी s” बटण 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 निर्देशिकेत, आणि लक्ष्य अपलोड करण्यासाठी "अपलोड टू /" निवडण्यासाठी स्टँडअलोन माऊसवर उजवे-क्लिक करा. file. As shown in the following figure:
Please note that when uploading files, ESP32 कोणतेही प्रोग्राम चालवू शकत नाही, अन्यथा अपलोड अयशस्वी होईल
अपलोड करा files from the “BMP”, “Font”, and “libraries” directories to the ESP32 device using the above method. The file'डेमो' डायरेक्टरीमधील s ट्रान्सफर करता येतात की नाही. खालील आकृतीत दाखवल्याप्रमाणे:
Example कार्यक्रम वापर सूचना
एसample program is located in the “1-示例程序_Demo\MicroPython\demos” directory of the package, as shown in the following: figure:

एसampप्रोग्राम उघडण्यासाठी आणि चालवण्यासाठी ESP32 डिव्हाइसवर अपलोड केला जाऊ शकतो किंवा तो स्थानिक संगणकावर उघडला जाऊ शकतो आणि चालवला जाऊ शकतो. जर तुम्हाला स्वयंचलितपणे चालण्यासाठी ESP32 डिस्प्ले मॉड्यूल चालू करायचा असेल, तर तुम्हाला s बदलावे लागतील.ample program name to “main. py” and upload it to the ESP32 display module.
In the Python software, open the target sampप्रोग्राम उघडण्यासाठी, मेनू बारवर क्लिक करा.
बटण दाबा, आणि तुम्ही ते चालवू शकता. जर ऑपरेशन अयशस्वी झाले, तर ESP32 डिव्हाइस पुन्हा कनेक्ट करावे लागेल.
प्रत्येक माजी परिचयample कार्यक्रम खालीलप्रमाणे आहे:
- BMP_test.py
या माजीample program relies on the ST7796.py library to display images in BMP format - font_test.py
या माजीampहा प्रोग्राम विविध आकारांचे चिनी आणि इंग्रजी अक्षरे प्रदर्शित करण्यासाठी ST7796.py लायब्ररीवर अवलंबून असतो. फॉन्ट मॉडेलिंग डेटा फॉन्टमध्ये सेव्ह करणे आवश्यक आहे. file संबंधित स्वरूपानुसार. पात्रांच्या निवडीबाबतच्या सूचनांसाठी, कृपया खालील माहिती पहा. webसाइट: http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings - graphical_test.py
या माजीample 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
या माजीample program relies on the ST7796.py library to display LCD ID and RGAM color value readings. - RGB_LED.py
या माजीample 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
या माजीample does not rely on any software libraries and displays simple screen scrolling content. - Touch_Calibrate.py
या माजीample हे ST7796.py लायब्ररी आणि touch.exe लायब्ररीवर अवलंबून असते, जे रेझिस्टिव्ह टच स्क्रीनचे कॅलिब्रेशन प्रदर्शित करते. स्क्रीनवर प्रदर्शित होणाऱ्या सूचनांचे अनुसरण करा. कॅलिब्रेशन पूर्ण झाल्यानंतर, कॅलिब्रेशन पॅरामीटर्स सिरीयल पोर्टद्वारे आउटपुट केले जातात आणि s च्या इनिशिएलायझेशनमध्ये कॉपी केले जातात.ampले प्रोग्राम. कृपया लक्षात ठेवा की टच स्क्रीन डिस्प्लेच्या दिशेनुसार कॅलिब्रेट केली पाहिजे. या प्रोग्राममधील डिस्प्ले दिशा खालील आकृतीमध्ये दाखवल्याप्रमाणे बदलता येते:

Touch_Pen.py
या माजीample relies on the ST7796.py library and the touch.exe library, displaying the operation of drawing dots and lines on the touch screen.
वारंवार विचारले जाणारे प्रश्न
- प्रश्न: मी ESP32-32E मॉड्यूल कसे रीसेट करू?
A: Press the RESET_KEY button, which is shared with the LCD screen reset, to perform a low-level reset. - प्रश्न: मॉड्यूलचा पॉवर इंटरफेस काय आहे?
A: The module features a Type-C power interface that is connected to a 5V voltagई स्रोत.
कागदपत्रे / संसाधने
![]() |
EBYTE E32R40T-E32N40T 4.0 इंच मायक्रो पायथॉन [pdf] सूचना E32R40T, E32N40T, E32R40T-E32N40T ४.० इंच मायक्रो पायथॉन, E4.0R32T-E40N32T, ४.० इंच मायक्रो पायथॉन, मायक्रो पायथॉन |

