Skip to content

Connect RAK Wireless WisBlock to The People's Network

License

Notifications You must be signed in to change notification settings

theisaaclloyd/rak-wisblock-helium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rak-wisblock-helium

Connect RAK Wireless WisBlock to The People's Network

I recently purchased the WisBlock Starter Kit (buy it here), but was dissapointed to find any good documentation to use it with the Helium network. Anyways, after a lot of stuff not working, I finally ended up with the code you see here. Enjoy!

Setup

Please see RAK Wireless WisBlock Arduino Guide for setup instructions. Note that in that guide they mention that you must use a version of Arduino from their website; I use V1.8.15 from the Microsoft App Store and it works fine. Just make sure you have the RAKwireless nRF Boards package installed (url) as well as the SX125x-Arduino library. This software is based on the example LoRaWAN_OTAA_ABP.ino by rakwireless.com.

Create new device in Helium Console (better instructions)

First navigate to https://console.helium.com/devices/new and enter a name for your device and hit save. I just named mine RAK 4631 but it doesn't really matter what you choose. Next, click on your new device and take note of the Device EUI, App EUI, and App Key. Click the eye next to app key and then all the little arrows to the left of the keys. image

Copy each of these values into config and you're ready to upload the code to the board!

Create a decoder function (better instructions)

Now, navigate to https://console.helium.com/functions/new and enter a name. Choose 'Decoder' for function type and 'Custom Script' for Choose format. Under 'STEP 2 - ENTER CUSTOM SCRIPT' copy and pase the contents of decoder.js and hit save function. Just add the function to the device and create an integration and you're ready to go!

For better instructions for any of the above, please see https://docs.helium.com/use-the-network/console/quickstart/.

-Isaac