Fork of LilyGo-LoRa-Series
Find a file
2022-07-29 11:07:40 +08:00
docs fix: Fix the bug that lora_pkt_fwd cannot reset sx1302 2022-05-14 15:07:19 +08:00
examples Added SX1280 Example 2022-07-29 10:50:22 +08:00
firmware Update README.MD 2022-06-01 09:51:46 +08:00
libdeps Add missing library 2020-12-19 16:46:13 +08:00
schematic Added LoRa1.8 sch ,update readme 2022-07-29 11:07:40 +08:00
.gitignore Update examples 2020-11-24 17:03:49 +08:00
README.MD Added LoRa1.8 sch ,update readme 2022-07-29 11:07:40 +08:00
README_CN.MD Added LoRa1.8 sch ,update readme 2022-07-29 11:07:40 +08:00

🌟LilyGo LoRa Series🌟

English | 中文

Quick start:

  1. Copy all folders in the libdeps directory to the ~/Arduino/libraries directory, and put them in "Documents/Arduino/libraries" for Windons users
  2. Open the corresponding example
  3. T-Beam users can choose TTGO T-Beam, lora32(T3) users can choose ESP32 Dev Module , T-Motion users choose Nucleo_l073RZ
  4. Select the port of the board in the port
  5. For other examples except the GPS directory, please uncomment in the upper part of utilities.h according to your board model, otherwise the compilation will report an error
  6. Upload

Product 📷:

Product Product Link Schematic
T-Beam SX1278/76 Product link TBeamV0.7/ TBeamV1.0/ TBeamV1.1
T-Beam SX1262 Product link TBeamV0.7/ TBeamV1.0/ TBeamV1.1
LoRa32 V1.0 SX1276 Product link
LoRa32 V1.0 SX1278 Product link
LoRa32 V1.3 SX1276 Product link LoRa32 V1.3
LoRa32 V2.0 Product link LoRa32 V2.0
LoRa32 V2.1_1.6 Version AliExpress/Amazon LoRa32 V2.1_1.6
T-Motion S76G Product link T-Motion
LoRa32 V1.8 2.4G 🔱Product link LoRa32 V1.8 2.4G

Example description

examples
├─ArduinoLoRa                                   # Just only support SX1276/SX1278 radio module
│  ├─LoRaReceiver
│  └─LoRaSender
├─GPS                                           # T-Beam GPS demo examples
│  ├─Example1_BasicNMEARead
│  ├─Example2_NMEAParsing
│  ├─Example3_FactoryDefaultsviaSerial
│  ├─TinyGPS_Example
│  └─TinyGPS_KitchenSink
├─OLED                                          # OLED demo examples
│  ├─SSD1306SimpleDemo
│  └─SSD1306UiDemo
├─RadioLibExamples                              # RadioLib examples,Support SX1276/78/62/80
│  ├─SX1262
│  │  ├─SX1262_Receive_Interrupt
│  │  └─SX1262_Transmit_Interrupt
│  ├─SX1268
│  │  ├─SX1268_Receive_Interrupt
│  │  └─SX1268_Transmit_Interrupt
│  ├─SX1276
│  │  ├─SX1276_Receive_Interrupt
│  │  └─SX1276_Transmit_Interrupt
│  ├─SX1278
│  │  ├─SX1278_Receive
│  │  ├─SX1278_Receive_Interrupt
│  │  ├─SX1278_Transmit
│  │  └─SX1278_Transmit_Interrupt
│  ├─SX1280
│  │  ├─SX128x_Receive_Interrupt
│  │  └─SX128x_Transmit_Interrupt
│  └─TBeamAllFunction                           # T-Beam all function example
├─SleepTest
└─TTN                                           # OTAA method Join TTN example
    └─TTN_OTTA

Precautions :

  1. If there is no data output from GPS, see Restoring factory defaults

PinOut :

Application :

TTN

To quickly start using TTN (The Things Network), please refer to LilyGo_LoRa_Series_Quick_Start

Datasheet :

Announcements :

  1. After setting the LoRa output power, set the lowest current. Set sx1262 as follows :
    // digitalWrite(LoRa_Busy, LOW);
    // set output power to 10 dBm (accepted range is -17 - 22 dBm)
    if (radio.setOutputPower(22) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) {
        Serial.println(F("Selected output power is invalid for this module!"));
        while (true);
    }


    // set over current protection limit to 80 mA (accepted range is 45 - 240 mA)
    // NOTE: set value to 0 to disable overcurrent protection
    if (radio.setCurrentLimit(80) == RADIOLIB_ERR_INVALID_CURRENT_LIMIT) {
        Serial.println(F("Selected current limit is invalid for this module!"));
        while (true);
    }