English | 中文
├── Libraries Library files required for the Arduino example
├── Schematic The circuit schematic of the product
├── examples Sample files, including the IDF framework and the Arduino framework
├── image Product or sample project related images
├── information Product specifications, including the IC or peripherals involved
├── tools Burn tool and image conversion tool
└── README.md This is the file you are currently reading,Give a brief introduction to the product
Development board Version | Screen size | Resolution | Update date | Update description |
---|---|---|---|---|
UEDX48480021-MD80ET | 2.1-inch | 480*480 | 2024-07-23 | Original version |
Product | SOC | FLASH | PSRAM | Link |
---|---|---|---|---|
UEDX48480021-MD80ET | ESP32S3R8 | 16M | 8M (Octal SPI) | VIEWE Mall |
UEDX48480021-MD80ESP32_2.1inch-Touch-Knob-Display is a development board with square 2.1-inch 480 * 480 resolution display, based on ESP32S3, suitable for the development of microcontroller projects with display.
- Chip: ESP32-S3-R8
- PSRAM: 8M (Octal SPI)
- FLASH: 16M
- For more details, please visitEspressif ESP32-S3 Datashee
- Size: 2.1-inch IPS screen
- Resolution: 480x480px
- Screen type: IPS
- Driver chip: ST7701S
- Compatibility library: ESP32_Display_Panel
- Bus communication protocol: 3 Wire SPI-RGB 24bits
- Touch Chip: CST826
- Bus communication protocol: IIC
IPS Screen Pin | ESP32S3 Pin |
---|---|
DE | IO17 |
VSYNC | IO3 |
HSYNC | IO46 |
PCLK | IO9 |
DATA0 | IO10 |
DATA1 | IO11 |
DATA2 | IO12 |
DATA3 | IO13 |
DATA4 | IO14 |
DATA5 | IO21 |
DATA6 | IO47 |
DATA7 | IO48 |
DATA8 | IO45 |
DATA9 | IO38 |
DATA10 | IO39 |
DATA11 | IO40 |
DATA12 | IO41 |
DATA13 | IO42 |
DATA14 | IO2 |
DATA15 | IO1 |
SPI_CS | IO18 |
SPI_SCK | IO13 |
SPI_SDA | IO12 |
RST | IO8 |
BACKLIGHT | IO7 |
Touch Pin | ESP32S3 Pin |
---|---|
SCL | IO15 |
SDA | IO16 |
button Pin | ESP32S3 Pin |
---|---|
boot | IO0 |
reset | chip-en |
Encoder Pin | ESP32S3 Pin |
---|---|
PHA | IO6 |
PHB | IO5 |
USB/UART Pin | ESP32S3 Pin |
---|---|
USB-DN | IO19 |
USB-DP | IO20 |
Example | Support IDE And Version | Description | Picture |
---|---|---|---|
ESP-IDF | [ESP-IDF V5.1/5.2/5.3] |
idf driver example code | |
SquareLinePorting | [Arduino IDE][esp32_v2.0.14] |
SquareLine porting example for Arduino |
Firmware | Description | Picture |
---|---|---|
ESP-IDF | Original |
-
InstallVisualStudioCode,Choose installation based on your system type.
-
Open the "Extension" section of the Visual Studio Code software sidebar(Alternatively, use "Ctrl+Shift+X" to open the extension),Search for the "PlatformIO IDE" extension and download it.
-
During the installation of the extension, you can go to GitHub to download the program. You can download the main branch by clicking on the "<> Code" with green text.
-
After the installation of the extension is completed, open the Explorer in the sidebar(Alternatively, use "Ctrl+Shift+E" go open it),Click "Open Folder", find the project code you just downloaded (the entire folder), then find the PlatformIO folder and click "Add". At this point, the project file will be added to your workspace.
-
Open the "platformio.ini" file in the project folder (PlatformIO will automatically open the "platformio.ini" file corresponding to the added folder). Under the "[platformio]" section, uncomment and select the example program you want to burn (it should start with "default_envs = xxx") Then click "√" in the bottom left corner to compile,If the compilation is correct, connect the microcontroller to the computer and click "→" in the bottom left corner to download the program.
-
InstallArduino,Choose installation based on your system type.
-
Open the "example" directory within the project folder, select the example project folder, and open the file ending with ".ino" to open the Arduino IDE project workspace.
-
Open the "Tools" menu at the top right -> Select "Board" -> "Board Manager." Find or search for "esp32" and download the board files from the author named "Espressif Systems." Then, go back to the "Board" menu and select the development board type under "ESP32 Arduino." The selected development board type should match the one specified in the "platformio.ini" file under the [env] section with the header "board = xxx." If there is no corresponding development board, you may need to manually add the development board from the "board" directory within your project folder.
-
Open menu bar "File" -> "Preferences" ,Find "Sketchbook location" here,copy and paste all library files and folders from the "libraries" folder in the project directory into the "libraries" folder in this directory.
-
Select the correct settings in the Tools menu, as shown in the table below.
Setting | Value |
---|---|
Board | ESP32S3 Dev Module |
CPU Frequency | 240MHz (WiFi) |
Core Debug Level | None |
USB CDC On Boot | Disabled |
USB DFU On Boot | Disabled |
Events Run On | Core 1 |
Flash Mode | QIO 80MHz |
Flash Size | 16MB (128Mb) |
Arduino Runs On | Core 1 |
USB Firmware MSC On Boot | Disabled |
Partition Scheme | 16M Flash (3MB APP/9.9MB FATFS) |
PSRAM | OPI PSRAM |
Upload Mode | UART0/Hardware CDC |
Upload Speed | 921600 |
USB Mode | Hardware CDC and JTAG |
-
Select the correct port.
-
Click "√" in the upper right corner to compile,If the compilation is correct, connect the microcontroller to the computer,Click "→" in the upper right corner to download.
-
Open the project file "tools" and locate the ESP32 burning tool. Open it.
-
Select the correct burning chip and burning method, then click "OK." As shown in the picture, follow steps 1->2->3->4->5 to burn the program. If the burning is not successful, press and hold the "BOOT-0" button and then download and burn again.
-
Burn the file in the root directory of the project file "firmware" file,There is a description of the firmware file version inside, just choose the appropriate version to download.
- Q. After reading the above tutorials, I still don't know how to build a programming environment. What should I do?
- A. If you still don't understand how to build an environment after reading the above tutorials, you can refer to the VIEWE-FAQ document instructions to build it.
- Q. Why does Arduino IDE prompt me to update library files when I open it? Should I update them or not?
- A. Choose not to update library files. Different versions of library files may not be mutually compatible, so it is not recommended to update library files.
- Q. Why is there no serial data output on the "Uart" interface on my board? Is it defective and unusable?
- A. The default project configuration uses the USB interface as Uart0 serial output for debugging purposes. The "Uart" interface is connected to Uart0, so it won't output any data without configuration.
For PlatformIO users, please open the project file "platformio.ini" and modify the option under "build_flags = xxx" from "-D ARDUINO_USB_CDC_ON_BOOT=true" to "-D ARDUINO_USB_CDC_ON_BOOT=false" to enable external "Uart" interface.
For Arduino users, open the "Tools" menu and select "USB CDC On Boot: Disabled" to enable the external "Uart" interface.
- Q. Why is my board continuously failing to download the program?
- A. Please hold down the "BOOT" button and try downloading the program again.
- ESP32_Display_Panel>0.2.1 (Please download the library first as the latest version has not been released yet)
- ESP32_IO_Expander (Please download the library first as the latest version has not been released yet)
- ESP32_Button
- ESP32_Knob
- lvgl-8.4.0