Xinyuan-LilyGO / T7-C6

GNU General Public License v3.0
1 stars 0 forks source link

T7-C6

English | 中文

Version iteration:

Version Update date
T7-C6_V1.0 2024-02-11

PurchaseLink

Product SOC FLASH PSRAM Link
T7-C6-C6_V1.0 ESP32C6 4M - [Not yet sold]()

Directory

Describe

The T7-C6 is a development board based on the ESP32C6 chip, which can be powered by a battery and features an onboard charging chip.

Preview

PCB board

Rendering

Module

1.MCU

2. Charging chip

QuickStart

Attention: Currently, ESP32C6 can only be programmed using the Arduino IDE

Examples Support

Example Support IDE And Version Description Picture
Battery Voltage Measure [Arduino IDE][esp32_v3.0.0-rc3]
ESP32 Deep Sleep [Arduino IDE][esp32_v3.0.0-rc3]
Original Test [Arduino IDE][esp32_v3.0.0-rc3] Product factory original testing
Wifi STA [Arduino IDE][esp32_v3.0.0-rc3]
firmware Description Picture
Original Test V1.0.0 Original
Original Test V1.0.1 Fix serial port debugging

PlatformIO

  1. InstallVisualStudioCode,Choose installation based on your system type.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Arduino

  1. InstallArduino,Choose installation based on your system type.

  2. 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.

  3. 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.

  4. 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.

  5. Select the correct settings in the Tools menu, as shown in the table below.

ESP32-C6

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)
  1. Select the correct port.

  2. 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.

firmware download

  1. Open the project file "tools" and locate the ESP32 burning tool. Open it.

  2. 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.

  3. 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.

example example

PinOverview

Battery Voltage Measurement Pin ESP32C6 Pin
BATTERY_ADC_DATA IO2

FAQ





Project

Information

DependentLibraries