Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116437

Measuring coverage gateway

$
0
0

I'll try to give a brief, but clear description of my setup. The major difference between mine and that of gonzalocasas/pade.nl is that I don't require a GPS on the LoRa node. I use a smartphone that is close to the node to geotag the packets. Further I also do not dictate which code should run on the LoRa node. As long as it transmits packets and I know the address, I can geotag and log the packets.

The setup consists of three parts:

  1. A LoRa/TTN node. It can run any code and consist of any hardware. As long as we know which address it uses to transmit to TTN. An example of the code I use on an Arduino connected to a RN2483 radio can be found here: https://github.com/jpmeijers/ttnmapperarduino

  2. An Android app. Unfortunately I have only written this app for Android, but the sourcecode is on my github if anyone wants to port it to another platform. The app can be found here: https://play.google.com/store/apps/details?id=com.jpmeijers.ttnmapper
    On startup the app asks for your node's address. It then subscribes to MQTT to receive the message whenever it was successfully received by TTN. The packet's RSSI, SNR, datarate, frequency (no data fields) and your current location is then either logged to a file and/or uploaded to our server, according to what you chose at startup. A marker is also shown at the current location on you phone so that you know if the system is working or not.

  3. Server. On my server I log the packets in a MySQL database. Once a day I aggregate and plot the data to a KML file. The KML files are available at http://jpmeijers.com/ttnmapper/kml/. SQL or CSV dumps on request.

Todo:
Preferably I would like to log when the delivery of a packet was unsuccessful. I have a few ideas about this. Maybe interfacing with the LoRa node using Bluetooth, so that I know when a packet was sent. If I don't get a notification via MQTT, I know it was unsuccessful.

I see gonzalocasas is using geojson format. I will see if I can provide the same format parallel to my KML files.

Please feel free to use my coverage measurement system. If you are also running this type of system I would love to hear your ideas and work together to integrate the systems or share data.


Viewing all articles
Browse latest Browse all 116437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>