Skip to content

Xinyuan-LilyGO/T-Echo-Card

Repository files navigation

T-Echo-Card

English | 中文

Version iteration:

Version Update date
T-Echo-Card_V1.0 2025-10-11

PurchaseLink

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

Directory

Describe

T-Echo-Card is a low-power board developed based on the nRF52840 chip. It features a solar panel for continuous power supply and is equipped with rich onboard functionalities, including an inertial sensor, speaker-microphone module, GPS, and more.

Preview

Actual Product Image

Module

1. MCU

2. Display

3. GPS

  • Chip: L76K
  • Bus Communication Protocol: UART
  • Dependent Libraries:

    cpp_bus_driver

  • Related Information:

    L76K

4. IMU

5. Flash

6. LED

7. Speaker

  • Driver Chip: MAX98357
  • Bus Communication Protocol: I2S
  • Dependent Libraries:

    cpp_bus_driver

  • Related Information:

    MAX98357

8. Microphone

  • Driver Chip: MP34DT05
  • Bus Communication Protocol: PDM
  • Dependent Libraries:

    cpp_bus_driver

  • Related Information:

    MP34DT05

SoftwareDeployment

Examples Support

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

alt text

Display

alt text

Flash

alt text

Flash_Erase

alt text

Flash_Speed_Test

alt text

gps

alt text

IIC_Scan_2

alt text

original_test

alt text

Product factory original testing
pdm

alt text

play_music

alt text

qmc5883p

alt text

voice_speaker

alt text

ws2812

alt text

Bootloader Description Picture
bootloader
Firmware Description Picture
original_test 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-card_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. Entering Bootloader Download Mode: Press and release the RST (reset) chip button, wait for 1 second (this wait is essential), then press and release the RST button again. Once a new drive letter appears on the computer, it indicates that the device has successfully entered the bootloader download mode.

  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

For pin definitions, please refer to the configuration file:

t_echo_card_config.h

RelatedTests

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 the board always fail to program when I directly use USB?
  • A. Please press and release the RST (reset) chip button, wait for 1 second (this wait is essential), then press and release the RST button again. Once a new drive letter appears on the computer, it indicates that the device has entered the bootloader download mode, and programming can now proceed.

  • Q. How to use the NFC function?
  • A. The NFC function currently can only be developed using the original manufacturer's SDK; the Nrf52 Arduino platform does not support it at the moment.

Project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published