Proyectos
Ver en GitHub
Xinyuan-LilyGO/TTGO_TWatch_Library
Xinyuan-LilyGO/TTGO_TWatch_Library has 1,079 GitHub stars and 332 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-12 07:23 UTC. Last push 2026-01-08.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original🌟LilyGO T-Watch🌟
English | 中文
⭐ News
- T-Watch-S3 version is here
- In order to be compatible with multiple versions of T-Watch, all examples include a
config.hfile. For the first use, you need to define the T-Watch model you use in theconfig.hfile - In the
config.hfile, you can also see similar definitions, such as LILYGO_WATCH_LVGL, LILYGO_WATCH_HAS_MOTOR, this type of definition, it will be responsible for opening the defined module function, all definitions Will be available here View - Most of the examples are only used as hardware function demonstrations. This library only completes some initialization work and some demonstrations. For more advanced gameplay, please see TTGO.h, to understand how to initialize, after being familiar with it, you can completely leave this library for more advanced gameplay
- About API, please check the source code
- Example description
- The latest factory firmware is made by sharandac/My-TTGO-Watch

- Demonstration effect of T-Watch2020-V3 from lunokjod

🚀 Characteristics
- The library already contains all the hardware drivers for
T-Watch - Using TFT_eSPI as the display driver, you can directly call TFT_eSPI through the construction object.
- Using lvgl v7.7.2 as the display graphics framework, the driver method has been implemented, you only need to call lvgl api according to your own needs.
- For the use of lvgl please refer to lvgl docs
🔷 Install
- Install the Arduino IDE. Note: Later instructions may not work if you use Arduino via Flatpak.
- Download a zipfile from github using the "Download ZIP" button and install it using the IDE ("Sketch" -> "Include Library" -> "Add .ZIP Library...", OR:
- Clone this git repository into your sketchbook/libraries folder. For more info, see https://www.arduino.cc/en/Guide/Libraries
🔷 Note
- If you don't have the
TTGO T-Watchoption in your board manager, please update the esp32 board as follows:- Using Arduino IDE Boards Manager (preferred)
- Using Arduino IDE with the development repository
- Please note that this library currently only supports esp core 3.0 and below. It is recommended to use esp core 2.0.14

🔷 FAQ
- The following code is reported as an error when uploading. Please change the default upload baud rate in ArduinoIDE from '20000' to '921600'.
A fatal error occurred: Failed to write to target RAM(result was 01070000) - This error may also occur on MacOS if using a poorly compatible USB to serial driver. The driver at wch.cn is a better match. The webpage is in Chinese but the driver is digitally signed for security.
🔶 How to find the sample program
- T-Watch & LilyPi
- In the Arduino board select
TTGO T-Watch - In the Arduino File -> Examples ->
TTGO_TWatch_Library
🔶 Precautions
- T-Watch-2019 & LilyPi: Since uses a special IO as the SD interface, please remove the SD card when downloading the program.
🔷 Resources
- LilyPi Pin mapping and other instructions
- TWATCH 2019 Series pin mapping and other instructions
- TWATCH 2020 V1 Pin mapping and other instructions
- TWATCH 2020 V2 Pin mapping and other instructions
- TWATCH 2020 V3 Pin mapping and other instructions
🚩 Version comparison
| Product | T-Watch-2019 | T-Watch-2020-V1 | T-Watch-2020-V2 | T-Watch-2020-V3 | T-Block/T-Block-V1 | LilyPi |
| Core | ESP32-D0WDQ6 | ESP32-D0WDQ6 | ESP32-D0WDQ6 | ESP32-D0WDQ6 | ESP32-D0WDQ6 | ESP32-WROVER-B |
| PSRAM | 16MBytes | 16MBytes | 16MBytes | 16MBytes | 16MBytes | 16MBytes |
| Flash | 8MBytes | 8MBytes | 4MBytes | 8MBytes | 8MBytes | 8MBytes |
| PMU | AXP202 | AXP202 | AXP202 | AXP202 | AXP202 | ❌ |
| IMU | BMA423 | BMA423 | BMA423 | BMA423 | MPU6050 | ❌ |
| TFT | 1.54"/240X240/ST7789V | 1.54"/240X240/ST7789V | 1.54"/240X240/ST7789V | 1.54"/240X240/ST7789V | [1] | [1] |
| TouchScreen | FT6336 | FT6336 | FT6336 | FT6336 | [1] | [1] |
| Real Time Clock | PCF8563 | PCF8563 | PCF8563 | PCF8563 | PCF8563 | PCF8563 |
| Infrared sensor | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ |
| Scalable | ✅ | ❌ | ✅ | ❌ | ✅ | ✅ |
| Microphone | [1] | ❌ | ❌ | SPM1423HM4H | [1] | ❌ |
| GPS | [1] | ❌ | Quectel L76K | ❌ | [1] | ❌ |
| Decoder | [1] | MAX98357A | ❌ | MAX98357A | [1] | ❌ |
| Tactile | [1] | ✅(IO Control) | DRV2605(I2C Control) | ✅(IO Control) | [1] | ❌ |
| Button | ✅ | ✅[2] | ✅[2] | ✅[2] | ✅[2] | ✅ |
- [1]:Need expansion board to support
- [2]:The buttons are AXP202 PEK programmable buttons
🔶 More interesting projects
Explorar proyectos relacionados
codecrafters-io/build-your-own-x
Domina la programación recreando desde cero tus tecnologías favoritas.
561,955 estrellaspublic-apis/public-apis
Una lista colectiva de API gratuitas
498,344 estrellasmorluto/rea
Ingeniería inversa de cualquier cosa con agentes, desde el comportamiento de la aplicación hasta los binarios nativos.
453,519 estrellasopenclaw/openclaw
La IA que de verdad hace las cosas. Cualquier sistema operativo y cualquier plataforma. Al estilo langosta. 🦞
394,372 estrellas