English | 中文
Version | Update date |
---|---|
T-QT-C6_V1.0 | 2023-12-20 |
Version | Update date | Update description |
---|---|---|
T-QT-C6_V1.0 | 2023-12-20 | Original version |
T-QT-C6_V1.1 | 2024-03-27 | New support for battery backboards |
T-QT-C6_V1.2 | 2024-06-13 | Modify the power management chip to SGM41562 |
Product | SOC | FLASH | PSRAM | Link |
---|---|---|---|---|
T-QT-C6_V1.0-V1.2 | ESP32C6 | 4M | - | LILYGO Mall |
- Describe
- Preview
- Module
- QuickStart
- PinOverview
- RelatedTests
- FAQ
- Project
- Information
- DependentLibraries
T-QT-C6 is a mini development board based on the ESP32C6 chip, which is only slightly larger than two thumbs. It features a 128x128px TFT full-color touch screen, a separate charging indicator light, and an independent battery. It can communicate with the power path management chip to modify the power bus status and limit values. When the main chip enters the light_sleep mode, the static current at the battery location is only about 500uA. In deep_sleep mode, it can achieve an extremely low power consumption of 100uA.
The newly updated T-QT-C6_V1.1-V1.2 has added battery bottom board power supply and inertial sensors. The added inertial sensors support step counting, attitude detection, and other functions.
- Module: ESP32-C6-MINI-1U
- Chip: ESP32-C6-FH4
- PSRAM: 4M
- FLASH: -
- Other: For more information, please visit Espressif ESP32-C6-MINI-1U datasheet
- Screen Model: N085-1212TBWIG06-C08
- Size: 0.85-inch
- Resolution Ratio: 128x128px
- Screen Type: TFT
- Driver Chip: GC9107
- Bus Communication Protocol: Standard SPI
- Chip: CST816T
- Bus Communication Protocol: IIC
- Other: Supports up sliding, down sliding, left sliding, right sliding, double clicking, clicking, and long pressing gestures for triggering, as well as a combination of multiple interrupt triggering methods. By default, it automatically enters sleep power-saving mode after a few seconds without touch
- Chip: ETA4662
- Bus Communication Protocol: IIC
- Other: A chip with power path management that automatically recognizes battery power and USB power, automatically switches to USB power when there is no battery inserted, and automatically switches to battery power when there is no USB power
- Chip: SGM41562
- Bus Communication Protocol: IIC
- Other: A chip with power path management that automatically recognizes battery power and USB power, automatically switches to USB power when there is no battery inserted, and automatically switches to battery power when there is no USB power
- Chip:LSM6DSLTR
- Bus Communication Protocol: IIC
- Other: 6-axis sensor, supporting step counting and attitude detection.
Example | Support IDE And Version | Description | Picture |
---|---|---|---|
Battery_Voltage | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
Breathing_Light | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
ChipScan | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
CST816T | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
Deep_Sleep | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
Light_Sleep | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
ETA4662 | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
GFX | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
IMU | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
IMU_KalmanFilter | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
IMU_Level | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
SGM41562 | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
||
Lvgl_CIT_ETA4662 | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
Factory original test documents | |
Lvgl_CIT_SGM41562 | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
Factory original test documents | |
Light_Sleep_Wakeup | [Arduino IDE][arduino-esp32-libs_v3.0.2] |
Firmware | Description | Picture |
---|---|---|
Lvgl_CIT_ETA4662 | Factory original test documents | |
Lvgl_CIT_SGM41562 | Factory original test documents |
-
InstallVisualStudioCode,Choose installation based on your system type.
-
Open the "Extension" section of the Visual Studio Code software sidebar(Alternatively, use "Ctrl+Shift+X" to open the extension),Search for the "PlatformIO IDE" extension and download it.
-
During the installation of the extension, you can go to GitHub to download the program. You can download the main branch by clicking on the "<> Code" with green text, or you can download the program versions from the "Releases" section in the sidebar.
-
After the installation of the extension is completed, open the Explorer in the sidebar(Alternatively, use "Ctrl+Shift+E" go open it),Click on "Open Folder," locate the project code you just downloaded (the entire folder), and click "Add." At this point, the project files will be added to your workspace.
-
Open the "platformio.ini" file in the project folder (PlatformIO will automatically open the "platformio.ini" file corresponding to the added folder). Under the "[platformio]" section, uncomment and select the example program you want to burn (it should start with "default_envs = xxx") Then click "√" in the bottom left corner to compile,If the compilation is correct, connect the microcontroller to the computer and click "→" in the bottom left corner to download the program.
-
InstallArduino,Choose installation based on your system type.
-
Open the "example" directory within the project folder, select the example project folder, and open the file ending with ".ino" to open the Arduino IDE project workspace.
-
Open the "Tools" menu at the top right -> Select "Board" -> "Board Manager." Find or search for "esp32" and download the board files from the author named "Espressif Systems." Then, go back to the "Board" menu and select the development board type under "ESP32 Arduino." The selected development board type should match the one specified in the "platformio.ini" file under the [env] section with the header "board = xxx." If there is no corresponding development board, you may need to manually add the development board from the "board" directory within your project folder.
-
Open menu bar "File" -> "Preferences" ,Find "Sketchbook location" here,copy and paste all library files and folders from the "libraries" folder in the project directory into the "libraries" folder in this directory.
-
Select the correct settings in the Tools menu, as shown in the table below.
Setting | Value |
---|---|
Board | ESP32C6 Dev Module |
Upload Speed | 921600 |
CPU Frequency | 160MHz |
Flash Mode | QIO |
Flash Size | 4MB (32Mb) |
Core Debug Level | None |
Partition Scheme | Huge APP (3MB No OTA/1MB SPIFFS) |
-
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.
-
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.
Screen pins | ESP32C6 pins |
---|---|
MOSI | IO15 |
SCLK | IO18 |
RST | IO20 |
BL | IO2 |
CS | IO14 |
DC | IO19 |
Battery related pins | ESP32C6 pins |
---|---|
BATTERY_MEASUREMENT_CONTROL | IO8 |
BATTERY_ADC_DATA | IO6 |
Breathing light pins | ESP32C6 pins |
---|---|
BREATHING_LIGHT | IO9 |
Touch chip pins | ESP32C6 pins |
---|---|
RST | IO23 |
INT | IO7 |
SDA | IO21 |
SCL | IO22 |
Sleep wake up pins | ESP32C6 pins |
---|---|
SLEEP_WAKE_UP_INT | IO7 |
Power management chip pins | ESP32C6 pins |
---|---|
SDA | IO21 |
SCL | IO22 |
Inertial sensor pins ESP32C6 pins SDA IO21 SCL IO22 LSM6DSL_IIC_ADDRESS_MODE IO3 INT1 IO0 INT2 IO1
Power management chip pins ESP32C6 pins INT IO4
Firmware | Program | Description | Picture |
---|---|---|---|
[TQT-C6_V1.0-V1.2][Light_Sleep]_firmware_V1.0.0.bin | Light_Sleep |
Power dissipation: 553uA For more information please refer to Power Consumption Test Log |
|
[TQT-C6_V1.0-V1.2][Deep_Sleep]_firmware_V1.0.0.bin | Deep_Sleep |
Power dissipation: 170uA For more information please refer to Power Consumption Test Log |
- 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 LilyGo-Document 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-0" button and try downloading the program again.