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 |
---|---|---|---|---|
UEDX24240013-MD50E | 1.3-inch | 240*240 | 2024-07-23 | Original version |
Product | SOC | FLASH | RAM | Link |
---|---|---|---|---|
UEDX24240013-MD50E | ESP32c3 | 4M | 400KB | VIEWE Mall |
- Chip: ESP32-C3
- FLASH: 4M
- For more details, please visitEspressif ESP32-C3 Datashee
- Size: 1.3-inch IPS screen
- Resolution: 240x240px
- Screen type: IPS
- Driver chip: GC9A01
- Compatibility library: ESP32_Display_Panel
- Bus communication protocol: 4 Wire SPI
- Chip: No touch
IPS Screen Pin | ESP32C3 Pin |
---|---|
SPI-CS | IO10 |
SPI-SCK | IO1 |
SPI-SDA | IO0 |
SPI-DC | IO4 |
LCD-TE | IO5 |
BACKLIGHT | IO8 |
button Pin | ESP32C3 Pin |
---|---|
boot | IO9 |
Encoder Pin | ESP32C3 Pin |
---|---|
PHA | IO7 |
PHB | IO6 |
USB | ESP32C3 Pin |
---|---|
USB-DN | IO18 |
USB-DP | IO19 |
UART Pin | ESP32C3 Pin |
---|---|
UART0RXD | IO20 |
UART0TXD | IO21 |
FPC number | Adapter Pin | ESP32C3 Pin |
---|---|---|
1 | 5V | 5V |
2 | PB7 | GPIO3 |
3 | GND | GND |
4 | RX2 | NC |
5 | TX2 | NC |
6 | RX1 | UART0RXD/IO20 |
7 | TX1 | UART0TXD/IO21 |
8 | NC | CHIP-EN |
9 | SK & D+ | USB-DP/ IO19 |
10 | SD & D- | USB-DN/ IO18 |
Support IDE | Version |
---|---|
[ESP-IDF] |
[V5.1/5.2/5.3] |
[Arduino IDE] |
[esp32 >=v3.1.0] |
[Platformio IDE] |
ESP-IDF Framework (Novice tutorial)
- Supported Versions: v5.1/5.2/5.3
- Download the example code from the repository and compile/run it directly.
- Repository Address: examples
Arduino Framework (Novice tutorial)
-
InstallArduino,Choose installation based on your system type.
-
Install the ESP32 core: Search for and download
esp32
(by Espressif >= v3.1.0) in theBoard Manager
. -
Install the required libraries:
- Search and install
ESP32_Display_Panel
(v1.0.3). SelectYes
for automatic dependency installation. - Install the
LVGL
(v8.4.0) library.
- Search and install
-
Open the example:
ESP32_Display_Panel
->examples
->arduino
->gui
->lvgl_v8
. -
Configure the
esp_panel_board_supported_conf.h
file:- 打开该文件的宏:
#define ESP_PANEL_BOARD_DEFAULT_USE_SUPPORTED (0)
——>#define ESP_PANEL_BOARD_DEFAULT_USE_SUPPORTED (1)
- Search development board
#define BOARD_VIEWE_UEDX24240013_MD50E
,And first comment to make it work. Note that do not turn on multiple development boards.
- 打开该文件的宏:
-
Configure tool options :
Setting Value Board ESP32C3 Dev Module CPU Frequency 160MHz (WiFi) Core Debug Level None USB CDC On Boot Disabled Erase All Flash Before Sketch Upload Disabled Flash Frequency 80MHz Flash Mode QIO Flash Size 4MB (32Mb) JTAG Adapter Disabled Partition Scheme Huge APP Upload Speed 921600 -
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.
-
If the color is abnormal after burning, please open the
lv_conf.h
file in the example and modify the configuration:#define LV_COLOR_16_SWAP 0
——>#define LV_COLOR_16_SWAP 1
Firmware | Description | Picture |
---|---|---|
ESP-IDF | Original |
-
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 (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