Follow these steps to connect our RAKwireless #LoRaWAN Dev Gateway to #TheThingsNetwork
With the new version of #TheThingsNetwork, we need to edit "global_conf.json" and update the "server_address" ... This is missing from the RAKWireless docs
https://www.thethingsnetwork.org/docs/the-things-stack/migrate-to-v3/migrate-gateways/
Updated LoRaWAN Gateway Settings may be found in the #TheThingsNetwork Console
We should see Heartbeat Messages transmitted by our LoRaWAN Gateway to #TheThingsNetwork ... Maybe messages from nearby devices!
https://www.thethingsindustries.com/docs/getting-started/events/
To receive Sensor Data, we create an Application in #TheThingsNetwork
https://www.thethingsindustries.com/docs/integrations/adding-applications/
Under our #TheThingsNetwork Application, add an End Device ... LoRaWAN Version MUST be "1.0.2" and "1.0.2 Rev B" ... Or we will get Message Integrity Code errors!
https://www.thethingsindustries.com/docs/getting-started/migrating/major-changes/#lorawan-support
Let #TheThingsNetwork generate the Security Keys for our LoRaWAN End Device
https://www.thethingsindustries.com/docs/devices/adding-devices/
Why set LoRaWAN Version to "1.0.2 Rev B"? Because #TheThingsNetwork has been upgraded recently ... Setting the incorrect LoRaWAN Version will cause Message Integrity Code errors! (I tried)
https://www.thethingsindustries.com/docs/getting-started/migrating/major-changes/#lorawan-support
From our #TheThingsNetwork Device, copy the AppEUI, DevEUI and AppKey ... We'll enter these into the LoRaWAN Firmware for #PineDio Stack
https://www.thethingsindustries.com/docs/devices/adding-devices/
To join #PineDio Stack BL604 to #TheThingsNetwork, boot the LoRaWAN Firmware and enter these commands
#PineDio Stack BL604 successfully joins #TheThingsNetwork thru our LoRaWAN Firmware yay! 🎉
Now we send data from #PineDio Stack BL604 to #TheThingsNetwork ... Here are the commands for our LoRaWAN Firmware
#TheThingsNetwork receives the data transmitted by #PineDio Stack BL604 thru our LoRaWAN Firmware yay! 🎉
We have just transmitted data from #PineDio Stack BL604 to #TheThingsNetwork Cloud over LoRa ... For Free! (Assuming we have The Things Network coverage)
@lupyuen Sure, but students should get the school to invest $150-250 (Dragino LG308 for instance) in a LoraWAN gateway. And hobbyist could then possibly rely on schools.
@niclas @lupyuen working on a system to detect elephants to reduce surprise encounters in the wild. Feel free to star and contribute https://github.com/elephant-detection/research
@mishari Wow that's super interesting! About LoRa Coverage in forests: One of my friends in the Nordic countries said that the coverage is good in forested areas. I'm assuming flat land, no rolling hills, no metal structures. Lakes are OK.
@lupyuen I need less than 1km 😅
@mishari Then LoRa is definitely OK 🙂
@lupyuen it's time like these when I'm grateful for the Internet. 🙂
@mishari @lupyuen I wouldn't know... You can probably look up attenuation numbers for various types of foliage and figure out an estimated reach. OR, do what I did; test it. Put up a gateway, and drop N sensors (of any type) in "nature" at height where you expect them to be later, and monitor for a few days, possibly move them around a lot and plot the RSSI and SNR at each of these locations.
@niclas Yep I'm thinking maybe hobbyists and students could tap on the free The Things Network 🤔