LilyGO T-Wristband and T-Glass
depends on lvgl v8.4.x version. Currently lvgl has released lvgl v9.0 version. When compilation error occurs, please check whether lvgl belongs to v8.4.xProduct(PinMap) | SOC | Flash | PSRAM | Resolution | Visible Area |
---|---|---|---|---|---|
T-Glass | ESP32-S3 FN4R2 | 4MB | 2MB(QSPI) | 294x126 | 126x126 |
T-Wristband | ESP32-S3 FN4R2 | 4MB | 2MB(QSPI) | 294x126 | 126x250 |
Current consumption | Working current | sleep current | sleep mode |
---|---|---|---|
T-Glass | (240MHz) WiFi On 90~230+ mA | about 300uA | touch button wakeup |
T-Wristband | (240MHz) WiFi On 90~230+ mA | about 300uA | touch button wakeup |
examples/
βββ Glass
β βββ Glass6DoF
β βββ GlassBatteryVoltage
β βββ GlassDeepSleep
β βββ GlassFactory
β βββ GlassHelloWorld
β βββ GlassRtcAlarm
β βββ GlassRtcDateTime
β βββ GlassTouchButton
β βββ GlassTouchButtonEvent
β βββ GlassVoiceActivityDetection
βββ Wristband
βββ Wristband6DoF
βββ WristbandBatteryVoltage
βββ WristbandDeepSleep
βββ WristbandDisplayRotation
βββ WristbandDisplayVisualWindow1
βββ WristbandFactory
βββ WristbandHelloWorld
βββ WristbandLightSleep
βββ WristbandRtcAlarm
βββ WristbandRtcDateTime
βββ WristbandTouchButton
βββ WristbandTouchButtonEvent
PlatformIO
plugin in the VisualStudioCode
extension and install it.VisualStudioCode
VisualStudioCode
, select File
in the upper left corner of VisualStudioCode
-> Open Folder
-> select the LilyGO T-Wristband and T-Glass
directoryplatformio.ini
file, and in the platformio
columnsrc_dir = xxxx
to make sure only one line worksInstall Arduino IDE
Install Arduino ESP32 V 2.0.5 or above and below V3.0, Library based on the Stable version, Please make sure the link in Boards Manager is
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Sketch
-> Include Library
-> Manage Libraries
Library Search
-> LilyGO T-Wristband and T-Glass
-> Install
-> Install ALL
Library Search
-> lvgl
-> v8.4.0
-> Install
Library Search
-> SensorLib
-> v0.1.8
-> Install
File
-> Examples
-> LilyGO T-Wristband and T-Glass
-> Select the corresponding example
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 | 4MB(32Mb) | |
Arduino Runs On | Core1 | |
USB Firmware MSC On Boot | Disable | |
Partition Scheme | Default 4M with spiffs(1.2M APP/1.5MB SPIFFS) | |
PSRAM | QSPI PSRAM | |
Upload Mode | UART0/Hardware CDC | |
Upload Speed | 921600 | |
USB Mode | CDC and JTAG |
Select 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
Install Arduino IDE
Install Arduino ESP32 V 2.0.5 or above and below V3.0, Library based on the Stable version, Please make sure the link in Boards Manager is
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Download LilyGO T-Wristband and T-Glass
, move to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
Copy all folders in libdeps folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
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 | 4MB(32Mb) | |
Arduino Runs On | Core1 | |
USB Firmware MSC On Boot | Disable | |
Partition Scheme | Default 4M with spiffs(1.2M APP/1.5MB SPIFFS) | |
PSRAM | QSPI PSRAM | |
Upload Mode | UART0/Hardware CDC | |
Upload Speed | 921600 | |
USB Mode | CDC and JTAG |
File
-> Examples
-> LilyGO T-Wristband and T-Glass
-> Select the corresponding example
Select 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
The 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 USB_CDC_ON_BOOT 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
The JD9613 display RAM is only 1/2 the screen size and does not support rotation.Directions 0 and 1 can adjust the vertical direction, horizontal 1 and 3 are the same direction.
// Set the screen orientation to portrait , 0 and 2 are two opposite vertical directions
amoled.setRotation(0);
amoled.setRotation(2);
// Set the screen orientation to horizontal. 1 and 3 are all in the same direction and cannot be changed.
amoled.setRotation(1);
amoled.setRotation(3);
Product(PinMap) | schematic |
---|---|
T-Glass | schematic |
T-Wristband | schematic |