Skip to content

Xinyuan-LilyGO/T-Echo-Lite

Repository files navigation

T-Echo-Lite

English | 中文

Version iteration:

Version Update date
T-Echo-Lite_V1.0 2024-12-06

PurchaseLink

Product SOC FLASH PSRAM Link
T-Echo-Lite_V1.0 nRF52840 1M 256kB NULL

Directory

Describe

T-Echo-Lite is a lightweight version based on T-Echo, featuring a smaller volume and lower power consumption design compared to T-Echo. Its minimum deep sleep power consumption can reach 2μA to 10μA (due to differences in onboard components on different boards, power consumption performance may vary; the minimum power consumption mentioned here is based on the engineering board tested by the LILYGO laboratory). The board is equipped with a rich set of features, including an inertial sensor, LORA module, solar charging function (5V), external GPS, and more. Its excellent power consumption performance allows T-Echo-Lite to achieve superior battery life.

Preview

Actual Product Image

Module

1. MCU

2. Screen

3. LORA

4. GPS

5. Inertial Measurement Unit

6. Flash

SoftwareDeployment

Examples Support

Example [Arduino IDE (Adafruit_nRF52_V1.6.1)]
[PlatformIO (nordicnrf52_V10.6.0)]
Support
Description Picture
Battery_Measurement

example

Original_Test

example

Product factory original testing
BLE_Uart

example

Button_Triggered

example

Display

example

Display_BLE_Uart

example

Display_SX1262

example

Flash

example

Flash_Erase

example

GPS

example

GPS_Full

example

ICM20948

example

IIC_Scan_2

example

Sleep_Wake_Up

example

SX126x_PingPong

example

SX126x_PingPong_2

example

Bootloader Description Picture
Bootloader_V1.0.0
Bootloader_V1.0.0(uf2)
Original
Firmware Description Picture
Original_Test
Original_Test(uf2)
Product factory original testing

IDE and Flashing

PlatformIO

  1. Install VisualStudioCode,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.

  6. At this point, an error may occur, and you need to install Python. Open the folder "tool" -> "win10 vscode platformio start" sequentially, and execute the cmd command python t-echo-lite_v1.0.0_setup.py under the "win10 vscode platformio start" folder. This will complete the development board installation, and the compilation and flashing will no longer report errors.

Arduino

  1. Install Arduino, and select the installation based on your system type.

  2. Open the "example" directory of 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 bar at the top right -> Select "Board" -> "Board Manager", find or search for "Adafruit_nRF52", and download the board file with the author named "Adafruit". Then return to the "Board" menu bar, select the board type under the "Adafruit_nRF52" board, and the selected board type is determined by the "board = xxx" header under the [env] directory in the "platformio.ini" file. If there is no corresponding board, you need to manually add the board under the "board" directory in the project folder. (If "Adafruit_nRF52" cannot be found, you need to open Preferences -> Add https://www.adafruit.com/package_adafruit_index.json to "Additional Board Manager URLs")

  4. Open the menu bar "File" -> "Preferences", find the "Project Folder Location" section, and copy and paste all the library files along with the folders in the "libraries" folder under 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.

Setting Value
Board Nordic nRF52840 DK
  1. Select the correct port.

  2. Enable boot download mode: Press and release the RST chip reset button, wait for LED1 to light up (you must wait for LED1 to light up), then press and release the RST button again. Observe that LED1 gradually dims and then gradually lights up, indicating that the boot download mode has been entered.

  3. Click the top right "" to compile. If there are no errors, connect the microcontroller to the computer and click the top right "" to start the flashing process.

JLINK Flashing Firmware and Bootloader

  1. Install the software nRF-Connect-for-Desktop

  2. Install the software JLINK

  3. Connect the JLINK pins correctly as shown in the figure below

  1. Open the software nRF-Connect-for-Desktop and install the tool Programmer and open it

  2. Add files, select both the bootloader file and the firmware file at the same time, click Erase&write, and the flashing will be completed.

PinOverview

Flash pin nRF52840 pin
CS IO 0.12
SCLK IO 0.4
(SPI)MOSI IO 0.6
(SPI)MISO IO 0.8
(QSPI)IO0 IO 0.6
(QSPI)IO1 IO 0.8
(QSPI)IO2 IO 1.9
(QSPI)IO3 IO 0.26
LED pin nRF52840 pin
LED_1 IO 1.7
LED_1 IO 1.5
LED_1 IO 1.14
Screen pin nRF52840 pin
BS1 IO 1.12
BUSY IO 0.3
RST IO 0.28
DC IO 0.21
CS IO 0.22
SCLK IO 0.19
MOSI IO 0.20
LORA pin nRF52840 pin
CS IO 0.11
RST IO 0.7
SCLK IO 0.13
MOSI IO 0.15
MISO IO 0.17
BUSY IO 0.14
INT IO 1.8
DIO1 IO 1.8
DIO2 IO 0.5
RF_VC1 IO 0.27
RF_VC2 IO 1.1
BOOT key pin nRF52840 pin
BOOT IO 0.24
Two SH1.0 external sockets pin nRF52840 pin
SH1_0_1_1 IO 0.25
SH1_0_1_2 IO 0.23
SH1_0_2_1 IO 1.2
SH1_0_2_2 IO 1.4
Battery pin nRF52840 pin
BATTERY_MEASUREMENT_CONTROL IO 0.31
BATTERY_ADC_DATA IO 0.2
RT9080 power supply 3.3V pin nRF52840 pin
RT9080_EN IO 0.30
GPS pin nRF52840 pin
UART_RX IO 1.13
UART_TX IO 1.15
1PPS IO 0.29
WAKE_UP IO 1.10
POWER_RT9080_EN IO 1.11
IMU pin nRF52840 pin
SDA IO 1.4
SCL IO 1.2
INT IO 0.16

Power Dissipation

Firmware Program Description Picture
Sleep_Wake_Up
Sleep_Wake_Up(uf2)
Sleep_Wake_Up Minimum power consumption: 2.54uA
More information can be found in the Power Consumption Test Log

example

FAQ

  • 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 debug information output from my board's USB?
  • A. Please enable the "DTR" option in your serial assistant software.

  • Q. Why does my board fail to flash when I use USB directly?
  • A. Please press and release the RST chip reset button, wait for LED1 to light up (you must wait for LED1 to light up), then press and release the RST button again. Observe that LED1 gradually dims and then gradually lights up, indicating that the boot download mode has been entered. At this point, you can flash the board.

Project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published