/R4K-Field-Mapper

R4K Field Mapper for LoRaWAN

Primary LanguageC++MIT LicenseMIT

R4K Field Mapper - Create Helium Field Tester out of RAK WisBlock modules.🗺️

About

  • Runs as a mapper and field tester.
  • Screen time out is 5 minutes. Accelerometer will trigger a screen wake (and also uplink).
  • Keeps track of RX/TX beacons. Will reset after one hits 999 (screen size is limited).
  • Displays hot spot name that was chosen to handle the downlink. Will also display how many other hot spots heard the beacon. (+#).
  • Also displays signal quality of the hot spot chosen to handle the testers downlink and the field tester. (RSSI/SNR).
  • Will also displays distance to hot spot in KM.
  • Show's how many satellites you have a fix on. Will only send a beacon when you have a good GPS fix (usually 4 or more satellites).

r4k_oled_info

What's needed

No-Code/Easy setup

If you don't want to make any custom changes to the firmware, follow these very easy instructions to flash your device with the R4K firmware.

Code/PlatformIO

If you'd like to make changes to the base firmware (not needed). You can follow this guide:

Set up LoRa credentials/settings

Setting up your device

As this project is a custom version of the RAK mapper firmware you build it in the same way. If you're not sure on how that's done click the following link:

https://github.com/rakstars/WisBlock-RAK4631-Helium-Mapper/wiki/Make-a-Helium-Mapper-with-the-WisBlock

Before proceeding make sure you have built the RAK Mapper, as this project uses that as a base and just adds an OLED.

Once you have the R4K field mapper firmware flashed to the WisBlock/RAK Mapper and have an OLED soldered onto the device, all that is left is the intergration.

  • To create an HTTP integration in a Helium Console: Click on Integrations, select Add New Integration, select HTTP. Then, copy and paste the following Endpoint URL:

    http://r4wk.net/lora/ingest.php

  • Finally, give a name to the integration and click on the Add Integration button.

image

  • Next, click on Flows, grab the device, the decoder (from the RAK mapper wiki), and the integration from the node section tabs. Then use the connection points to specify how the data flows from the device to the integration.

image

  • I advise enabling muilti-buy/packet so that you can uplink to multiple hot spots. But with how downlinks work the RX wait time on the router isn't long enough to catch as many hot spots as I wish. Fortunately I've requested this to be adjustable so hopefully we will see that feature soon. helium/router#781

  • If you choose to use the RAK12500, you will lose some battery life as it consumes about twice as much as the RAK1910 during sleep. I've also found when using the RAK12500 setting RX window delay to 2 seconds makes downlinks much more reliable vs the RAK1910. This is using DR3/SF7 in US915.

R4K_Front R4K_Side