This is an old revision of the document!


Waveshare SX1262 LoRaWAN Hat

waveshare_lorawan_hat.jpg

Semtech SX1262 based LoRa radio board for RPi.

This LoRa device and configuration is supported by Meshtastic for Linux.

The board can come with or without a GPS receiver.

Config

Raspberry Pi Zero 2W

Kernel configuration

dtparam=spi=on
dtoverlay=spi0-0cs
enable_uart=1

Kernel command line

console=tty1 root=PARTUUID=xxxxxxxx-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB

Meshtastic

Lora:
  Module: sx1262  # Waveshare SX126X XXXM
  DIO2_AS_RF_SWITCH: true
  CS: 21
  IRQ: 16
  Busy: 20
  Reset: 18
  
GPS:
  SerialPath: /dev/ttyS0
  
Logging:
  LogLevel: debug # debug, info, warn, error

Webserver:
  Port: 443 # Port for Webserver & Webservices
  RootPath: /usr/share/doc/meshtasticd/web # Root Dir of WebServer

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies