6.9 KiB
6.9 KiB
🌟LilyGo LoRa32 V1.3 SX1276🌟
Overview
- This page introduces the hardware parameters related to
LilyGo LoRa32 V1.3 SX1276
Notes on use
- This version does not have BMS, please use a lithium-ion battery with battery protection function
- Please be sure to connect the antenna before transmitting, otherwise it is easy to damage the RF module
Product
| Product | SOC | Flash | PSRAM |
|---|---|---|---|
| LoRa32 V1.3 | ESP32-D0WDQ6-V3 | 4MB(Quad-SPI) | ❌ |
PlatformIO Quick Start
- Install the CH9102 USB bridge driver for the first time.
- Install Visual Studio Code and Python
- Search for the
PlatformIOplugin in theVisual Studio Codeextension and install it. - After the installation is complete, you need to restart
Visual Studio Code - After restarting
Visual Studio Code, selectFilein the upper left corner ofVisual Studio Code->Open Folder-> select theLilyGo-LoRa-Seriesdirectory - Wait for the installation of third-party dependent libraries to complete
- Click on the
platformio.inifile, and in theplatformiocolumn - Select the board name you want to use in
default_envsand uncomment it. - Uncomment one of the lines
src_dir = xxxxto make sure only one line works , Please note the example comments, indicating what works and what does not. - Click the (✔) symbol in the lower left corner to compile
- Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade
- Click (→) to upload firmware
- Click (plug symbol) to monitor serial output
- If it cannot be written, or the USB device keeps flashing, please check the FAQ below
Arduino IDE quick start
-
Install the CH9102 USB bridge driver for the first time.
-
Install Arduino IDE
-
Install Arduino ESP32
-
Copy all folders in the
libdirectory to theSketchbook locationdirectory. How to find the location of your own libraries, please see here- Windows:
C:\Users\{username}\Documents\Arduino - macOS:
/Users/{username}/Documents/Arduino - Linux:
/home/{username}/Arduino
- Windows:
-
Open the corresponding example
- Open the downloaded
LilyGo-LoRa-Series - Open
examples - Select the sample file and open the file ending with
ino
- Open the downloaded
-
On Arduino Select the corresponding board in the IDE tool project and click on the corresponding option in the list below to select
Name Value Board ESP32 Dev Module Port Your port CPU Frequency 240MHZ(WiFi/BT) Core Debug Level None Erase All Flash Before Sketch Upload Disable Events Run On Core1 Flash Frequency 80MHZ Flash Mode QIO Flash Size 4MB(32Mb) JTAG Adapter Disabled Arduino Runs On Core1 Partition Scheme Huge APP (3MB No OTA/1MB SPIFFS) PSRAM Enable Upload Speed 921600 Programmer Esptool -
Please uncomment the
utilities.hfile of each sketch according to your board model ,e.gT3_V1_3_SX1276orT3_V1_3_SX1278, otherwise the compilation will report an error. -
Upload sketch
📍 Pins Map
| Name | GPIO NUM | Free |
|---|---|---|
| OLED(SSD1306) SDA | 21 | ❌ |
| OLED(SSD1306) SCL | 22 | ❌ |
| LoRa(SX1276) SCK | 5 | ❌ |
| LoRa(SX1276) MISO | 19 | ❌ |
| LoRa(SX1276) MOSI | 27 | ❌ |
| LoRa(SX1276) RESET | 14 | ❌ |
| LoRa(SX1276) DIO0 | 26 | ❌ |
| LoRa(SX1276) DIO1 | 33 | ❌ |
| LoRa(SX1276) CS | 18 | ❌ |
| Battery ADC | 35 | ❌ |
- The GPIOs above GPIO33 of the ESP32 chip only allow input functions and cannot be set as output functions.
- You need to remove the SD card when uploading the sketch, otherwise it will not be downloaded
🧑🏼🔧 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 |
|---|---|
| RST | Reset button |
LED Description
- CHG LED
| LED State | Details |
|---|---|
| On | Battery charging |
| Off | Battery Full |
| Blink | Battery not connected |
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 |