Product (PinMap) | SOC | Flash | PSRAM | Resolution | Size |
---|---|---|---|---|---|
T-Display-S3 | ESP32-S3R8 | 16MB | 8MB(OPI) | 170x320 | 1.9 Inch |
T-Display-S3-Touch | ESP32-S3R8 | 16MB | 8MB(OPI) | 170x320 | 1.9 Inch |
T-Display-S3-MIDI |
./examples/
βββ Arduino_GFXDemo # Arduino_GFX example
βββ Arduino_GFX_PDQgraphicstest # Arduino_GFX example
βββ GetBatteryVoltage # Get battery voltage example
βββ I2CScan # Scan for external devices using I2C
βββ ImageScroll # Image scrolling example by @Rudi Ackermann
βββ MPR121TouchSensor # Example of using MPR121 capacitive touch
βββ PCBClock # TFT_eSPI PCBClock example by @VolosR
βββ PokerS3 # TFT_eSPI PokerS3 example by @VolosR
βββ SerialExample # Example of using serial communication
βββ T-Display-S3-MIDI # T-Display-S3-MIDI Shield example
βββ TFT_Rainbow # TFT_eSPI example
βββ factory # factory example
βββ lv_demos # lvgl demo
βββ nes # NES game emulator
βββ ota # Over-the-air upgrade example
βββ sd # T-Display-TF Shield example
βββ tft # TFT_eSPI example
βββ touch_test # Capacitive touch test example
βββ usb_hid_pad # Capacitive Touch Screen Simulation USB HID Example
βββ ULP_ADC # Example of ADC detection for ULP-FSM(arduino_esp32 version: 3.0.0-rc3)
βββ ULP_Count # Example of register counting for ULP-FSM(arduino_esp32 version: 3.0.0-rc3)
PlatformIO
plugin in the VisualStudioCode
extension and install it.VisualStudioCode
VisualStudioCode
, select File
in the upper left corner of VisualStudioCode
-> Open Folder
-> select the T-Display-S3
directoryplatformio.ini
file, and in the platformio
columndefault_envs = xxxx
to make sure only one line worksInstall Arduino IDE
In Arduino Preferences, on the Settings tab, enter the https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
URL in the Additional boards manager URLs
input box. Please pay attention to the version. The test phase is using 2.0.14. It is not certain that versions above 2.0.14 can run. When the operation is abnormal, please downgrade to a version below 2.0.14. , As of 2024/08/02, TFT_eSPI does not work on versions higher than 2.0.14, see TFT_eSPI/issue3329
Download T-Display-S3
, move to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
Copy all folders in lib folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
Enter the downloaded T-Display-S3/examples
directory
Select any example and double-click the any_example.ino
to open it
Open ArduinoIDE ,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 |
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
LilyGo T-Display-S3
as the board, but the partition table is fixed to 16M Flash (3M APP/9.9MB FATFS)T-Display-S3
esp-idf version example, please jump to this LilyGo-Display-IDFProduct(PinMap) | schematic | Dimensions | PCB 3D | PinMap |
---|---|---|---|---|
T-Display-S3 | schematic | DWG | STP | PinMap |
T-Display-S3 Touch | schematic | DWG | STP | PinMap |
T-Display-S3-MIDI | schematic | DWG | STP |
The screen does not light up when using battery?
void setup(){
//Turn on display power
pinMode(15, OUTPUT);
digitalWrite(15, HIGH);
}
The program can be written normally, but there is still no display after writing
Arduino_GFXDemo
first. If nothing is displayed after writing, you can determine that there is a problem with the hardware.Arduino_GFXDemo
is written normally, but TFT_eSPI is not displayed, then it can be judged that User_Setup_Select
has been overwritten, then please read the third article of FAQ to reconfigure TFT_eSPIHow to update TFT_eSPI, or confirm whether the TFT_eSPI pin configuration is correct?
#include <User_Setups/Setup206_LilyGo_T_Display_S3.h> // For the LilyGo T-Display S3 based ESP32S3 with ST7789 170 x 320 TFT
Can't upload any sketchοΌPlease enter the upload mode manually.
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 -> Disable
build_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_BOOT
If all the above are invalid, please flash the factory firmware for quick verification, please check here
Can I use an external 5V pin for power? Please see here issues/205
The default charging current is set at 500mA per hour. If you need to adjust the charging current, please see this issue