Skip to content

noppingen/Lora-TTNMapper-Heltec-v2

Repository files navigation

Lora-TTNMapper-Heltec-v2

Summary

Code for a TTNMapper node with GPS running on a Heltec "WiFi Lora32 V2" node, based on Heltec-Wifi-Lora-32-TTN-Mapper by sistemasorp

Copyright and sources

Modifications

  • More diag output on serial interface
  • Stay quiet, LoRa TX only if GPS HDOP is below a certain limit
  • Vext is initialized during start, you may connect the GPS to Vext
  • Display of distance to your mapped "home" gateway

Get it running

  • Add required libraries
  • Set TTN NWKSKEY, APPKSKEY and DEVADDR
  • Set GPS_RX and GPS_TX
  • Set gateway GPS coordinates to get the distance displayed on your way
  • Set TX_INTERVAL, HDOP_MAX and TX_WAIT_INTERVAL
  • Change bands if you are not in the EU868 region
  • Print my case: Thingiverse

TTN

  • Activation method is set to ABP
  • TTN decoder script is here

Images

Mapper Node #1

Mapper Node #2