Skip to content

Compatible boards

sh123 edited this page Oct 25, 2021 · 33 revisions

Intro

All work was done on ESP32-WROOM with custom made RA-01/SX1278 LoRa shield, Arduino Board is "ESP32 Dev Module".

Supported LoRa and other module types

If using arduino-LoRa library then supported modules are SX1276/77/78/79.

If using RadioLib then supported modules - modules, which are supported by RadioLib:

  • SX1278 is a default module, for other SX127x modules need to modify module declarations in loraprs_service.cpp and loraprs_service.h
  • SX126x is using DIO1 pin for ISR instead of DIO0, compilation might fail and need manual rename clearDio0Action and setDio0Action to clearDio1Action and setDio1Action
  • other RadioLib module types - check RadioLib documentation, modify code accordingly, open Issue if help needed

If your ESP32 board is compatible or has build in LoRa module then it should work without redefining pinouts, for custom shields there might be need to redefine pinouts to LoRa module if it differs (see further description in Software Setup section), currently pinouts are connected from LoRa to ESP32-WROOM as (SS/RST/DIO0 could be redefined in config.h):

Default Pinouts

alt text

  • Common SPI:
    • MOSI: GPIO_23/VSPI_MOSI
    • MISO: GPIO_19/VSPI_MISO
    • SCK: GPIO_18/VSPI_SCK
  • Board specific:
    • SS/CS/NSS: GPIO_5
    • RST/RESET: GPIO_26
    • DIO0/IRQ: GPIO_14

SX127x Based Boards

alt text

Supported (built-in screen is not used), just select board in Arduino IDE->Tools->Board, no need to redefine pinouts:

  • T-Beam LoRa
  • LoPy, LoPy4
  • TTGO LoRa32 v1

Pinout definition changes

Require LoRa module pinout definitions in config.h:

  • Heltec WiFi LoRa 32 (v2), redefine pinouts as
    #define LORA_RST              14
    #define LORA_IRQ              26