An arduino sketch for a TTN mapping node based on the Adafruit Feather M0
A slightly different version of AmedeeBulle's TTN Mapper. A full guide of assembly is found here.
This version also sends the number of satelites in the payload.
The function in TTN-decoder.js
is to be used as the decoder in the TTN console.
In order for this to work it's important to manually import the LMIC-library found here. The ones in the Arduino library manager does not work. You also need to rename ttn_secrets_template.h to ttn_secrets.h and fill in your TTN-keys. NOTE: The APP EUI and the DEV EUI need to be written in reverse byte order from how they are shown on the TTN console.