- 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).
- RAK5005-O/RAK19007
- RAK4631
- RAK1904
- RAK1910/RAK12500
- SSD1306 OLED
- 550mAh 3.7v Battery (can use any size if not using my case)
- mxuteuk Black Self-Lock Push Button Switch DC 30V 1A (OPTIONAL)
- DIYmalls 915MHz LoRa Antenna U.FL IPEX to SMA Connector Pigtail (OPTIONAL)
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.
- Download the latest release from: https://github.com/r4wk/R4K-Field-Mapper/releases
- Download this flash utility: https://github.com/adafruit/Adafruit_nRF52_nrfutil/releases
- Extract the flash utility and copy the latest R4K firmware to the same folder to make life easier
- Next you want to run the following command (In Windows open CMD app, navigate to the folder where you extracted the flash utility/firmware i.e. 'cd c:\adafruit')
- adafruit-nrfutil dfu serial --package R4K-Field-Mapper_<version>.zip -p <port> -b 115200
- Make sure to change <version> to the latest version of the R4K firmware that you downloaded from releases (i.e. R4K-Field-Mapper_v0.3a.zip)
- Make sure to change <port> to the COM port that your device is connected on: https://www.mathworks.com/help/supportpkg/arduinoio/ug/find-arduino-port-on-windows-mac-and-linux.html
If you'd like to make changes to the base firmware (not needed). You can follow this guide:
-
I highly advise using WisBlock-ToolBox app, this allows you do connect your device to Helium right from your phone via Bluetooth (Android Only)
-
Once you have that installed follow these instructions to get you connected to Helium LoRaWAN network
-
If you don't want to use a phone or only have an iOS device, you can still setup the device with AT commands
-
Over Serial/USB to run AT commands
-
Over Bluetooth to run AT commands
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:
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.
- 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.
-
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.