Version | Update date |
---|---|
T-Encoder-Pro_V1.0 | 2024-02-02 |
Product | SOC | FLASH | PSRAM | Link |
---|---|---|---|---|
T-Encoder-Pro_V1.0 | ESP32S3R8 | 16M | 8M (Octal SPI) | LILYGO Mall Banggood Mall |
T-Encoder-Pro is a smart control knob equipped with a AMOLED touch screen, based on the ESP32S3R8 chip. The knob rotates, clicks (pushes in), and contains a beeper and vibration motor.
Example | Support IDE And Version | Description | Picture |
---|---|---|---|
GFX | [Arduino IDE][esp32_v3.0.7] |
||
Lvgl_CIT | [Arduino IDE][esp32_v3.0.7] |
Product factory original testing | |
CHSC5816 | [Arduino IDE][esp32_v3.0.7] |
||
Rotary_Encoder | [Arduino IDE][esp32_v3.0.7] |
Firmware | Description | Picture |
---|---|---|
Lvgl_CIT | Original |
Install VisualStudioCode,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.
Install Arduino, 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 | ESP32S3 Dev Module |
Upload Speed | 921600 |
USB Mode | Hardware CDC and JTAG |
USB CDC On Boot | Enabled |
USB Firmware MSC On Boot | Disabled |
USB DFU On Boot | Disabled |
CPU Frequency | 240MHz (WiFi) |
Flash Mode | QIO 80MHz |
Flash Size | 16MB (128Mb) |
Core Debug Level | None |
Partition Scheme | 16M Flash (3MB APP/9.9MB FATFS) |
PSRAM | OPI PSRAM |
Arduino Runs On | Core 1 |
Events Run On | Core 1 |
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 PIN | ESP32S3 PIN |
---|---|
SDIO0 | IO11 |
SDIO1 | IO13 |
SDIO2 | IO7 |
SDIO3 | IO14 |
SCLK | IO12 |
RST | IO4 |
VCI EN | IO3 |
CS | IO10 |
Touch PIN | ESP32S3 PIN |
---|---|
RST | IO8 |
INT | IO9 |
SDA | IO5 |
SCL | IO6 |
Rotary Encoder PIN | ESP32S3 PIN |
---|---|
KNOB DATA A | IO1 |
KNOB DATA B | IO2 |
KNOB KEY | IO0 |
Buzzer PIN | ESP32S3 PIN |
---|---|
BUZZER DATA | IO17 |