CrowPanel Advance 5.0inch Arduino Course V12
Product Model: CrowPanel-Advance-5.0-HMI-ESP32-S3-AI-Powered-IPS-Touch-Screen
Hardware Version: V1.2
Number of Lessons: 9 lessons: Lessons 1-7, Lesson 9, and Lesson 10
Development Platform: Arduino IDE + ESP32-S3
Learning Path: Environment Setup -> Timed Serial Output -> WiFi Audio -> LVGL Desk Lamp Interface -> SD Image Display -> Sensors -> Wireless Communication -> Microphone Recording and Playback
1. Course Overview¶
This course is designed for the CrowPanel Advance 5.0-inch HMI ESP32-S3 Screen V1.2 and uses Arduino IDE as the development platform. The course starts with timed serial output verification, then gradually covers WiFi audio playback, an LVGL desk lamp control interface, SD card image slideshow, DHT20 temperature and humidity display, nRF24L01 communication, LoRaWAN AT command control, Zigbee light control, and microphone recording and playback.
The 5.0inch version uses an 800 x 480 IPS touchscreen and ESP32-S3. It is designed for AI HMI and smart touchscreen applications, and is suitable for learning large-screen human-machine interaction, audio playback, sensor data acquisition, image display, and wireless module expansion development.
The 4.3-inch, 5.0-inch, and 7.0-inch screen courses share the same course content and course links. This guide focuses on the 5.0inch V1.2 version.
After completing this course, users will understand the basic development workflow for this screen on the Arduino platform and will be able to expand their own HMI applications based on large-format display, touch, audio, sensors, and wireless modules.
2. Preparation Before Starting¶
- Hardware: CrowPanel Advance 5.0-inch HMI ESP32-S3 Screen V1.2
- USB Cable: Use a USB cable that supports data transfer
- Development Software: Arduino IDE
- Getting Started with Arduino IDE: https://www.elecrow.com/pub/wiki/arduino_advance.html
- Board: ESP32S3 Dev Module
- Flash Size: 16MB (128Mb)
- PSRAM: OPI PSRAM
- Partition Scheme: Huge APP (3MB No OTA/1MB SPIFFS)
- Screen Resolution: 800 x 480
The board package must use esp32 by Espressif Systems version 3.3.8.
3. Library Version Requirements¶
The course documentation requires importing the required library files according to the instructions in Lesson 01 first, and keeping the library files consistent with the screen size. The 4.3 / 5.0 / 7.0-inch Arduino courses share the following code and library files:
Library Import: Link to two ways to import third-party Arduino IDE libraries
| Library / Component | Version / Source | Purpose |
|---|---|---|
| esp32 by Espressif Systems | 3.3.8 | ESP32-S3 Arduino Core, explicitly required by Lesson 01/03/09/10 |
| lvgl | 9.1.0 | LVGL UI and SquareLine Studio exported projects |
| LovyanGFX | 1.2.25 | Arduino graphics display and RGB screen driver |
| TAMC_GT911 | 1.0.2 | Touchscreen support library |
| ESP32-audioI2S-master | 3.4.7 | WiFi audio playback |
| RF24 | 1.6.1 | nRF24L01 wireless communication |
| RadioLib | 7.7.1 | Wireless module support related to LoRaWAN AT command control |
| Crowbits_DHT20 | Use the library files provided with the course | DHT20 temperature and humidity sensor |
| lv_conf.h | Use the configuration file provided with the course | LVGL configuration file |
| ESP_I2S.h | Built into Arduino-ESP32 3.3.8 | Microphone recording and audio playback |
| Wire / SPI / FS / SD | Built into Arduino / ESP32 Core | I2C, SPI, file system, and SD card |
Note: For LVGL projects, use LVGL 9.1.0. When creating a project in SquareLine Studio, you also need to select LVGL 9.1.0 and set the LVGL Include Path to lvgl.h.
4. ESP32S3_120M Notes¶
After installing the ESP32 board package, you need to replace the corresponding files in the ESP32 framework directory. Download the officially provided ESP32S3_120M files:
Copy the files in the ESP32S3_120M folder to the corresponding idf-release_* directory in the Arduino ESP32 framework, and replace the existing files when prompted. The directory name changes depending on the ESP32 Core version, so use the actual directory for esp32 by Espressif Systems version 3.3.8 installed on your computer:
C:\Users\your-username\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_*
ESP32S3_120M contains ESP32 framework files recompiled after enabling high-speed PSRAM communication mode. After replacement, the PSRAM frequency can be increased to 120 MHz, helping improve the display refresh performance of the large screen and reduce screen flickering or jitter during operation.
5. Course Directory¶
| Lesson | Lesson Name | Main Content |
|---|---|---|
| 01 | Timed Serial Output | Timed serial output and upload verification |
| 02 | WiFi Audio Playback | WiFi audio playback |
| 03 | LVGL Desk Lamp Interface | LVGL desk lamp control interface |
| 04 | SD Image Slideshow | SD card image slideshow display |
| 05 | DHT20 Temperature and Humidity | DHT20 temperature and humidity display |
| 06 | nRF24L01 Communication | nRF24L01 wireless communication |
| 07 | LoRaWAN AT Commands | LoRaWAN AT command control |
| 09 | Zigbee Light Control | Zigbee light control |
| 10 | Microphone Record Playback | Microphone recording and playback |
This series does not include Lesson 8. Please study in the order of Lessons 1-7, Lesson 9, and Lesson 10.
6. Course Links¶
Main Code Link: https://github.com/Elecrow-RD/CrowPanel-Advance-5-HMI-ESP32-S3-AI-Powered-IPS-Touch-Screen-800x480/tree/master/example/V1.2_and_V1.3/Arduino
Lesson 01 | Timed Serial Output¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-01-Timed_Serial_Output.html
Lesson 02 | WiFi Audio Playback¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-02-WiFi_Audio_Playback.html
Lesson 03 | LVGL Desk Lamp Control Interface¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-03-LVGL_Desk_Lamp_Interface.html
Lesson 04 | SD Card Image Slideshow Display¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-04-SD_Image_Slideshow.html
Lesson 05 | DHT20 Temperature and Humidity Display¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-05-DHT20_Temperature_and_Humidity.html
Lesson 06 | nRF24L01 Wireless Communication¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-06-nRF24L01_Communication.html
Lesson 07 | LoRaWAN AT Command Control¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-07-LoRaWAN_AT_Commands.html
Lesson 09 | Zigbee Light Control¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-09-Zigbee_Light_Control.html
Lesson 10 | Microphone Recording and Playback¶
Lesson Link: https://www.elecrow.com/wiki/4.3_5.0_7.0_Arduino-10-Microphone_Record_Playback.html
7. Recommended Learning Order¶
- Basic Verification: Complete Lesson 01 first to confirm that Arduino IDE, the board package, serial output, and program upload are working properly.
- Audio and Interface: Learn WiFi audio playback and the LVGL desk lamp control interface in Lessons 02-03.
- Peripheral Display: Learn SD card image display and DHT20 temperature and humidity data display in Lessons 04-05.
- Wireless Expansion: Learn nRF24L01 and LoRaWAN AT command control in Lessons 06-07.
- Application Expansion: Learn Zigbee light control and microphone recording and playback in Lessons 09-10.
