LilyGO T-RGB 资讯️ - LilyGo-T-RGB 目前与 lvgl9 兼容,但只有一个 lvgl 9.x.x 示例,其余示例均未更新。
LilyGO T-RGB 资讯️ - LilyGo-T-RGB 目前与 lvgl9 兼容,但只有一个 lvgl 9.x.x 示例,其余示例均未更新。
LilyGO T-RGB
LilyGo-T-RGB is currently compatible with lvgl9, but there is only one lvgl 9.x.x example, and the rest of the examples are still based on lvgl 8.x.x. Please confirm the lvgl version before using the examples. How to change the lvgl version please see the following descriptionLilyGo-T-RGB esp-idf version example, please jump to this LilyGo-Display-IDF| Product(PinMap) | SOC | Flash | PSRAM | Resolution | Size |
|---|---|---|---|---|---|
| T-RGB 2.1 inch Half Circle | ESP32-S3R8 | 16MB | 8MB(OPI) | 480x480 | 2.1 Inch |
| T-RGB 2.1 inch Full Circle | ESP32-S3R8 | 16MB | 8MB(OPI) | 480x480 | 2.1 Inch |
| T-RGB 2.8 inch Full Circle | ESP32-S3R8 | 16MB | 8MB(OPI) | 480x480 | 2.8 Inch |
| Product(PinMap) | Display Driver | Touch Driver |
|---|---|---|
| T-RGB 2.1 inch Half Circle | ST7701S | FT3267 |
| T-RGB 2.1 inch Full Circle | ST7701S | CST820 |
| T-RGB 2.8 inch Full Circle | ST7701S | GT911 |
| Product | Youtube link | explanation | Status |
|---|---|---|---|
| T -RGB | Youtube link | How to quickly port to LILYGO T-RGB using Squareline Studio | ✅ |
| LilyGo device | Youtube link | How to enter boot mode to download the firmware | ✅ |
…PlatformIO plugin in the VisualStudioCode extension and install it.VisualStudioCodeVisualStudioCode, select File in the upper left corner of VisualStudioCode -> Open Folder -> select the LilyGo T-RGB directoryplatformio.ini file, and in the platformio columnsrc_dir = xxxx to make sure only one line worksInstall Arduino IDE
Sketch -> Include Library -> Manage Libraries
Library Search -> LilyGo T-RGB -> Install -> Install ALL
Library Search -> lvgl -> v8.3.11 -> Install
Library Search -> SensorLib -> v0.2.3 -> Install
File -> Examples -> LilyGo T-RGB -> Any Examples
Tools , Make your selection according to the table below
| Arduino IDE Setting | Value |
|---|---|
| Board | ESP32S3 Dev Module |
| Port | Your port |
| USB CDC On Boot | Enable |
| CPU Frequency | 240MHZ(WiFi) |
| Core Debug Level | None |
| USB DFU On Boot | Disable |
| Erase All Flash Before Sketch Upload | Disable |
| Events Run On | Core1 |
| Flash Mode | QIO 80MHZ |
| Flash Size | 16MB(128Mb) |
| Arduino Runs On | Core1 |
| USB Firmware MSC On Boot | Disable |
| Partition Scheme | 16M Flash(3M APP/9.9MB FATFS) |
| PSRAM | OPI PSRAM |
| Upload Mode | UART0/Hardware CDC |
| Upload Speed | 921600 |
| USB Mode | CDC and JTAG |
Select Port , select you board port
Click upload , Wait for compilation and writing to complete
If it cannot be written, or the USB device keeps flashing, please check the FAQ below
Note that T-RGB depends on lvgl v8.3.11 version. Currently lvgl has released lvgl v9.0 version. When compilation error occurs, please check whether lvgl belongs to v8.3.11
LilyGo T-RGBSketch -> Include Library -> Add .ZIP Library -> Select LilyGo T-RGBSketch -> Include Library -> Manage Libraries -> Search for SensorLib, install version greater than v0.2.3Sketch -> Include Library -> Manage Libraries -> Search for lvgl, install version v8.3.11Sketch -> Include Library -> Manage Libraries -> Search for GFX Library for Arduino, install version v1.4.2Sketch -> Include Library -> Manage Libraries -> Search for TFT_eSPI, install version v2.5.22Tools , Make your selection based on the table aboveFile -> Examples -> LilyGo T-RGB -> Any ExamplesPort, select you board portupload , Wait for compilation and writing to completeThe board uses USB as the JTAG upload port. When printing serial port information on USB_CDC_ON_BOOT configuration needs to be turned on. If the port cannot be found when uploading the program or the USB has been used for other functions, the port does not appear. Please enter the upload mode manually.
If the above is invalid, burn the binary file to check whether the hardware is normal
If you use external power supply instead of USB-C, please turn off the CDC option. This is because the board will wait for USB access when it starts.
Tools -> USB CDC On Boot -> Disablebuild_flags =
; Enable -DARDUINO_USB_CDC_ON_BOOT will start printing and wait for terminal access during startup
; -DARDUINO_USB_CDC_ON_BOOT=1
; Enable -UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery
-UARDUINO_USB_CDC_ON_BOOTWhen USB is plugged in, the battery voltage cannot be read because the battery voltage is equal to the charging voltage at this time
Regarding the esp-idf version example, the latest version is not ready, the previous test version can be found here
The Grove port has been set to I2C, sharing the bus with the touch and cannot be used for other purposes.
T-RGB has no free GPIO and cannot be expanded
T-RGB hardware connects to RGB666 screens, but ESP32 currently only supports RGB565
Serial.println has no output. Please refer to the third step of the FAQ to set USB CDC On Boot to Enable.
LilyGo-T-RGB in the library installation directory and enter the src directorylv_conf.h to lv_conf.h.v8lv_conf.h.v9 to lv_conf.hArduino IDE -> File -> examples- > lvgl_version_9lvgl_version_9, and other examples are based on lvgl 8, please note.When using Arduino_GFX also depends on Arduino_GFX
暂无开放 Issues,或尚未同步最近议题。