From c39b63fa23b2280c7d85e24690ca8027737900b3 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Mon, 18 Aug 2025 15:47:16 +0800 Subject: [PATCH] Update docs --- README.MD | 2 + docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md | 179 ++++++++++++++++++++++++ docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md | 178 +++++++++++++++++++++++ 3 files changed, 359 insertions(+) create mode 100644 docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md create mode 100644 docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md diff --git a/README.MD b/README.MD index d477d55..34e1b00 100644 --- a/README.MD +++ b/README.MD @@ -23,6 +23,8 @@ - πŸ”§ **[T3-S3-LR1121 Quick Start](./docs/en/t3_s3_lr1121/t3_s3_lr1121_hw.md)** - πŸ”§ **[T3-S3-SX1280 Quick Start](./docs/en/t3_s3_sx1280/t3_s3_sx1280_hw.md)** - πŸ”§ **[T3-S3-SX1280PA Quick Start](./docs/en/t3_s3_sx1280pa/t3_s3_sx1280pa.md)** +- πŸ”§ **[T3-S3-SX1276 Quick Start](./docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md)** +- πŸ”§ **[T3-S3-SX1278 Quick Start](./docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md)** ## `2` Example description diff --git a/docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md b/docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md new file mode 100644 index 0000000..cb187fd --- /dev/null +++ b/docs/en/t3_s3_sx1276/t3_s3_sx1276_hw.md @@ -0,0 +1,179 @@ +
+ LilyGo logo +
+ +

🌟LilyGo T3 S3 SX1276🌟

+ +## Overview + +* This page introduces the hardware parameters related to `LilyGo T3 S3 SX1276` + +### Notes on use + +1. This version does not have BMS, please use a lithium-ion battery with battery protection function +2. Please be sure to connect the antenna before transmitting, otherwise it is easy to damage the RF module + +### Product + +| Product | SOC | Flash | PSRAM | +| ---------- | ------------- | ------------- | ------------- | +| [T3-S3][1] | ESP32-S3FH4R2 | 4MB(Quad-SPI) | 2MB(Quad-SPI) | + +[1]: https://www.lilygo.cc/products/t3s3-v1-0?variant=42586879688885 "T3-S3" + +## PlatformIO Quick Start + +1. Install [Visual Studio Code](https://code.visualstudio.com/) and [Python](https://www.python.org/) +2. Search for the `PlatformIO` plugin in the `Visual Studio Code` extension and install it. +3. After the installation is complete, you need to restart `Visual Studio Code` +4. After restarting `Visual Studio Code`, select `File` in the upper left corner of `Visual Studio Code` -> `Open Folder` -> select the `LilyGo-LoRa-Series` directory +5. Wait for the installation of third-party dependent libraries to complete +6. Click on the `platformio.ini` file, and in the `platformio` column +7. Select the board name you want to use in `default_envs` and uncomment it. +8. Uncomment one of the lines `src_dir = xxxx` to make sure only one line works , Please note the example comments, indicating what works and what does not. +9. Click the (βœ”) symbol in the lower left corner to compile +10. Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade +11. Click (β†’) to upload firmware +12. Click (plug symbol) to monitor serial output +13. If it cannot be written, or the USB device keeps flashing, please check the **FAQ** below + +## Arduino IDE quick start + +1. Install [Arduino IDE](https://www.arduino.cc/en/software) +2. Install [Arduino ESP32](https://docs.espressif.com/projects/arduino-esp32/en/latest/) +3. Copy all folders in the `lib` directory to the `Sketchbook location` directory. How to find the location of your own libraries, [please see here](https://support.arduino.cc/hc/en-us/articles/4415103213714-Find-sketches-libraries-board-cores-and-other-files-on-your-computer) + * Windows: `C:\Users\{username}\Documents\Arduino` + * macOS: `/Users/{username}/Documents/Arduino` + * Linux: `/home/{username}/Arduino` +4. Open the corresponding example + * Open the downloaded `LilyGo-LoRa-Series` + * Open `examples` + * Select the sample file and open the file ending with `ino` +5. On Arduino ISelect the corresponding board in the DE tool project and click on the corresponding option in the list below to select + + | Name | Value | + | ------------------------------------ | ---------------------------------------------------- | + | Board | **LilyGo T3-S3** | + | Port | Your port | + | USB CDC On Boot | Enable | + | CPU Frequency | 240MHZ(WiFi) | + | Core Debug Level | None | + | USB DFU On Boot | Disable | + | Erase All Flash Before Sketch Upload | Disable | + | Events Run On | Core1 | + | Arduino Runs On | Core1 | + | USB Firmware MSC On Boot | Disable | + | Partition Scheme | **Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)** | + | PSRAM | **QSPI PSRAM** | + | **Board Revision*** | **Radio-SX1276** | + | Upload Mode | **UART0/Hardware CDC** | + | Upload Speed | 921600 | + | USB Mode | **CDC and JTAG** | + | Programmer | **Esptool** | + + * **Board revision Select according to actual model** + +6. Upload sketch + +### πŸ“ Pins Map + +| Name | GPIO NUM | Free | +| ---------------------- | ------------------------- | ---- | +| (QWIIC) Uart1 TX | 43(External QWIIC Socket) | βœ…οΈ | +| (QWIIC) Uart1 RX | 44(External QWIIC Socket) | βœ…οΈ | +| QWIIC Socket IO10* | 10(External QWIIC Socket) | βœ…οΈ | +| QWIIC Socket IO21* | 21(External QWIIC Socket) | βœ…οΈ | +| SDA | 18 | ❌ | +| SCL | 17 | ❌ | +| OLED(**SSD1306**) SDA | Share with I2C bus | ❌ | +| OLED(**SSD1306**) SCL | Share with I2C bus | ❌ | +| SD CS | 13 | ❌ | +| SD MOSI | 11 | ❌ | +| SD MISO | 2 | ❌ | +| SD SCK | 14 | ❌ | +| LoRa(**SX1276**) SCK | 5 | ❌ | +| LoRa(**SX1276**) MISO | 3 | ❌ | +| LoRa(**SX1276**) MOSI | 6 | ❌ | +| LoRa(**SX1276**) RESET | 8 | ❌ | +| LoRa(**SX1276**) DIO0 | 9 | ❌ | +| LoRa(**SX1276**) DIO1 | 33 | ❌ | +| LoRa(**SX1276**) DIO2 | 34 | ❌ | +| LoRa(**SX1276**) DIO3 | 21 | ❌ | +| LoRa(**SX1276**) DIO4 | 10 | ❌ | +| LoRa(**SX1276**) DIO5 | 36 | ❌ | +| LoRa(**SX1276**) CS | 7 | ❌ | +| Button1 (BOOT) | 0 | ❌ | +| Battery ADC | 1 | ❌ | +| On Board LED | 37 | ❌ | + +* You can use GPIO10,21 by removing the two resistors in the figure below. Otherwise, the GPIO is connected to DIO3,DIO4 of Radio by default. + +![T3-S3-QWIIC](../t3_s3_sx1262/images/T3-S3-QWIIC.png) + +### πŸ§‘πŸΌβ€πŸ”§ I2C Devices Address + +| Devices | 7-Bit Address | Share Bus | +| -------------------- | ------------- | --------- | +| OLED Display SSD1306 | 0x3C | βœ…οΈ | + +### ⚑ Electrical parameters + +| Features | Details | +| -------------------- | ------- | +| πŸ”—USB-C Input Voltage | 5V | +| ⚑Charge Current | 500mA | +| πŸ”‹Battery Voltage | 3.7V | + + +### Button Description + +| Channel | Peripherals | +| ------- | ------------------------------ | +| BOOT | Boot mode button, customizable | +| RST | Reset button | + +### LED Description + +* CHG LED + +| LED State | Details | +| --------- | --------------------- | +| On | Battery charging | +| Off | Battery Full | +| Blink | Battery not connected | + +* User LED + +1. The LED is connected to ESP32 GPIO37, and the LED is turned on or off by writing a high or low level + +### RF parameters + +| Features | Details | +| ------------------- | ------------------------------- | +| RF Module | SX1276 | +| Frequency range | 840~945MHz | +| Transfer rate(LoRa) | 0.018K~37.5Kbps | +| Transfer rate(FSK) | 1.2K~300Kbps | +| Modulation | FSK, GFSK, MSK, GMSK, LoRa,OOK | + +## WiFi-IPEX + +* The following figure shows how to switch the onboard WIFI antenna to IPEX + +![WIFI-IPEX](../t3_s3_lr1121/images/WIFI-IPEX.png) + +## LoRa-IPEX + +* The following figure shows how to switch the onboard LoRa SMA antenna to IPEX + +![LORA-IPEX](../t3_s3_lr1121/images/LORA-IPEX.png) + +#### Resource + +* [T3_S3_V1.2 schematic](../../../schematic/T3_S3_V1.2.pdf) +* [T3_S3_V1.3 schematic](../../../schematic/T3_S3_V1.3.pdf) +* [SX1276 datasheet](https://www.semtech.com/products/wireless-rf/lora-connect/sx1276) + +### Application + +* [T-Beam Meshtastic](https://github.com/meshtastic/Meshtastic-device) diff --git a/docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md b/docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md new file mode 100644 index 0000000..5f480cc --- /dev/null +++ b/docs/en/t3_s3_sx1278/t3_s3_sx1278_hw.md @@ -0,0 +1,178 @@ +
+ LilyGo logo +
+ +

🌟LilyGo T3 S3 SX1278🌟

+ +## Overview + +* This page introduces the hardware parameters related to `LilyGo T3 S3 SX1278` + +### Notes on use + +1. This version does not have BMS, please use a lithium-ion battery with battery protection function +2. Please be sure to connect the antenna before transmitting, otherwise it is easy to damage the RF module + +### Product + +| Product | SOC | Flash | PSRAM | +| ---------- | ------------- | ------------- | ------------- | +| [T3-S3][1] | ESP32-S3FH4R2 | 4MB(Quad-SPI) | 2MB(Quad-SPI) | + +[1]: https://www.lilygo.cc/products/t3s3-v1-0?variant=42586879688885 "T3-S3" + +## PlatformIO Quick Start + +1. Install [Visual Studio Code](https://code.visualstudio.com/) and [Python](https://www.python.org/) +2. Search for the `PlatformIO` plugin in the `Visual Studio Code` extension and install it. +3. After the installation is complete, you need to restart `Visual Studio Code` +4. After restarting `Visual Studio Code`, select `File` in the upper left corner of `Visual Studio Code` -> `Open Folder` -> select the `LilyGo-LoRa-Series` directory +5. Wait for the installation of third-party dependent libraries to complete +6. Click on the `platformio.ini` file, and in the `platformio` column +7. Select the board name you want to use in `default_envs` and uncomment it. +8. Uncomment one of the lines `src_dir = xxxx` to make sure only one line works , Please note the example comments, indicating what works and what does not. +9. Click the (βœ”) symbol in the lower left corner to compile +10. Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade +11. Click (β†’) to upload firmware +12. Click (plug symbol) to monitor serial output +13. If it cannot be written, or the USB device keeps flashing, please check the **FAQ** below + +## Arduino IDE quick start + +1. Install [Arduino IDE](https://www.arduino.cc/en/software) +2. Install [Arduino ESP32](https://docs.espressif.com/projects/arduino-esp32/en/latest/) +3. Copy all folders in the `lib` directory to the `Sketchbook location` directory. How to find the location of your own libraries, [please see here](https://support.arduino.cc/hc/en-us/articles/4415103213714-Find-sketches-libraries-board-cores-and-other-files-on-your-computer) + * Windows: `C:\Users\{username}\Documents\Arduino` + * macOS: `/Users/{username}/Documents/Arduino` + * Linux: `/home/{username}/Arduino` +4. Open the corresponding example + * Open the downloaded `LilyGo-LoRa-Series` + * Open `examples` + * Select the sample file and open the file ending with `ino` +5. On Arduino ISelect the corresponding board in the DE tool project and click on the corresponding option in the list below to select + + | Name | Value | + | ------------------------------------ | ---------------------------------------------------- | + | Board | **LilyGo T3-S3** | + | Port | Your port | + | USB CDC On Boot | Enable | + | CPU Frequency | 240MHZ(WiFi) | + | Core Debug Level | None | + | USB DFU On Boot | Disable | + | Erase All Flash Before Sketch Upload | Disable | + | Events Run On | Core1 | + | Arduino Runs On | Core1 | + | USB Firmware MSC On Boot | Disable | + | Partition Scheme | **Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)** | + | PSRAM | **QSPI PSRAM** | + | **Board Revision*** | **Radio-SX1278** | + | Upload Mode | **UART0/Hardware CDC** | + | Upload Speed | 921600 | + | USB Mode | **CDC and JTAG** | + | Programmer | **Esptool** | + + * **Board revision Select according to actual model** + +6. Upload sketch + +### πŸ“ Pins Map + +| Name | GPIO NUM | Free | +| ---------------------- | ------------------------- | ---- | +| (QWIIC) Uart1 TX | 43(External QWIIC Socket) | βœ…οΈ | +| (QWIIC) Uart1 RX | 44(External QWIIC Socket) | βœ…οΈ | +| QWIIC Socket IO10* | 10(External QWIIC Socket) | βœ…οΈ | +| QWIIC Socket IO21* | 21(External QWIIC Socket) | βœ…οΈ | +| SDA | 18 | ❌ | +| SCL | 17 | ❌ | +| OLED(**SSD1306**) SDA | Share with I2C bus | ❌ | +| OLED(**SSD1306**) SCL | Share with I2C bus | ❌ | +| SD CS | 13 | ❌ | +| SD MOSI | 11 | ❌ | +| SD MISO | 2 | ❌ | +| SD SCK | 14 | ❌ | +| LoRa(**SX1278**) SCK | 5 | ❌ | +| LoRa(**SX1278**) MISO | 3 | ❌ | +| LoRa(**SX1278**) MOSI | 6 | ❌ | +| LoRa(**SX1278**) RESET | 8 | ❌ | +| LoRa(**SX1278**) DIO0 | 9 | ❌ | +| LoRa(**SX1278**) DIO1 | 33 | ❌ | +| LoRa(**SX1278**) DIO2 | 34 | ❌ | +| LoRa(**SX1278**) DIO3 | 21 | ❌ | +| LoRa(**SX1278**) DIO4 | 10 | ❌ | +| LoRa(**SX1278**) DIO5 | 36 | ❌ | +| LoRa(**SX1278**) CS | 7 | ❌ | +| Button1 (BOOT) | 0 | ❌ | +| Battery ADC | 1 | ❌ | +| On Board LED | 37 | ❌ | + +* You can use GPIO10,21 by removing the two resistors in the figure below. Otherwise, the GPIO is connected to DIO3,DIO4 of Radio by default. + +![T3-S3-QWIIC](../t3_s3_sx1262/images/T3-S3-QWIIC.png) + +### πŸ§‘πŸΌβ€πŸ”§ I2C Devices Address + +| Devices | 7-Bit Address | Share Bus | +| -------------------- | ------------- | --------- | +| OLED Display SSD1306 | 0x3C | βœ…οΈ | + +### ⚑ Electrical parameters + +| Features | Details | +| -------------------- | ------- | +| πŸ”—USB-C Input Voltage | 5V | +| ⚑Charge Current | 500mA | +| πŸ”‹Battery Voltage | 3.7V | + +### Button Description + +| Channel | Peripherals | +| ------- | ------------------------------ | +| BOOT | Boot mode button, customizable | +| RST | Reset button | + +### LED Description + +* CHG LED + +| LED State | Details | +| --------- | --------------------- | +| On | Battery charging | +| Off | Battery Full | +| Blink | Battery not connected | + +* User LED + +1. The LED is connected to ESP32 GPIO37, and the LED is turned on or off by writing a high or low level + +### RF parameters + +| Features | Details | +| ------------------- | ------------------------------- | +| RF Module | SX1278 | +| Frequency range | 840~945MHz | +| Transfer rate(LoRa) | 0.018K~37.5Kbps | +| Transfer rate(FSK) | 1.2K~300Kbps | +| Modulation | FSK, GFSK, MSK, GMSK, LoRa,OOK | + +## WiFi-IPEX + +* The following figure shows how to switch the onboard WIFI antenna to IPEX + +![WIFI-IPEX](../t3_s3_lr1121/images/WIFI-IPEX.png) + +## LoRa-IPEX + +* The following figure shows how to switch the onboard LoRa SMA antenna to IPEX + +![LORA-IPEX](../t3_s3_lr1121/images/LORA-IPEX.png) + +#### Resource + +* [T3_S3_V1.2 schematic](../../../schematic/T3_S3_V1.2.pdf) +* [T3_S3_V1.3 schematic](../../../schematic/T3_S3_V1.3.pdf) +* [SX1278 datasheet](https://www.semtech.com/products/wireless-rf/lora-connect/SX1278) + +### Application + +* [T-Beam Meshtastic](https://github.com/meshtastic/Meshtastic-device)