This repository contains the code for the Arduino UNO with the Dragino Lora GPS shield. It is meant as a mobile hardware for TTN mapper. There are a few more things to do on this device in order to get the data on TTN mapper web site. Plese, folow the instruction on the TTN mapper website.
Necessary hardware is Arduino UNO and Dragino Lora GPS shield. You will also need two jumper wires to connect UART to the GPS (see picture below - how to connect the jumper wires).
In order to get your data on the TTN mapper web site, few steps are required, which are given in the FAQ section of the web site. Just to summarize, as we are going to use node with GPS, our node at least will have to transmit latitude, longitude, altitude and hdop. Then we have to send following data to the owner of TTN mapper web site:
- Application ID (MQTT username)
- Access Key (MQTT password)
- Device ID (or emphasize if all devices in our application should be listened)
- Region (e.g. EU). Region is the last part of the handler you registered your application to.
- A description of payload format. We can follow the same payload format as the Sodaq One universal tracker, or use even more compressed format which is used in this example.