Uploaded May 2017 | Updated September 2026, 2 weeks ago
This is part 4 in how to create a LoRa node.
In this movie an 86mm wire antenna will be soldered on the LoRa module.
More information about the 86mm long wire antenna
goo.gl/F8BsV0
Check out all my other videos in the series how to Create a LoRa node.
goo.gl/B8Xtkg
Subscribe to my YouTube channel
goo.gl/61NFzK
#mobilefish #lorawan #lora #productreviews #productreview #TheThingsNetwork
This is part 4 in how to create a LoRa node.
In this movie an 86mm wire antenna will be soldered on the LoRa module.
More information about the 86mm long wire antenna
goo.gl/F8BsV0
Check out all my other videos in the series how to Create a LoRa node.
goo.gl/B8Xtkg
Subscribe to my YouTube channel
goo.gl/61NFzK
#mobilefish #lorawan #lora #productreviews #productreview #TheThingsNetwork

![LoRa/LoRaWAN tutorial 28.1: Installing Semtech UDP Packet Forwarder for the RAK831 Pilot Gateway
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
https://www.youtube.com/c/mobilefish/about
This is part 28.1 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this tutorial I will show you how to install all the required software on a micro SD card.
The result is a bootable micro SD card which can be used in the RAK831 Pilot Gateway.
I have forked https://github.com/RAKWireless/RAK831-LoRaGateway-RPi and simplified the installation procedure.
The repository https://github.com/robertlie/RAK831-LoRaGateway-RPi contains just a few files.
The install.sh script:
- Creates the gateway EUI.
- Allows the user to set the gateway hostname.
- Allows the user to select the region the gateway will operate in.
Dependant on the selected region the correct global_conf.json is copied from the configuration_files folder.
- The local_conf.json is copied from the configuration_files folder and the gateway EUI is set in this file.
- Allows the user to set the gateway latitude and longitude coordinates and its altitude.
- Installs the Semtech LoRa library and the Semtech UDP Packet Forwarder and build both packages.
- Makes the packet_forwarder a service, which means when the Raspberry Pi boots the packet_forwarder is started.
- Disables the onboard Raspberry Pi bluetooth.
Before you start with the installation procedure, you must know which frequency plan to use in your country.
See the list of frequency plans by country list:
https://www.thethingsnetwork.org/docs/lorawan/frequencies-by-country.html
Installation procedure:
git clone https://github.com/robertlie/RAK831-LoRaGateway-RPi ~/rak831-loragateway
This repository is installed in: /home/pi/rak831-loragateway
Execute the install script:
cd ~/rak831-loragateway
sudo ./install.sh
The following is displayed. Press Enter to keep the default value or change it:
Host name [ttn-gateway]: Enter
Region AS1, AS2, AU, CN, EU, IN, KR, RU, US [EU]: EU
Latitude [0]: Enter
Longitude [0]: Enter
Altitude [0]: Enter
As mentioned earlier, the install.sh script installs the following git repositories and build these packages.
Semtech LoRa library (V5.0.1)
https://github.com/Lora-net/lora_gateway
/opt/ttn-gateway/lora_gateway
Semtech UDP Packet Forwarder (V4.0.1)
https://github.com/Lora-net/packet_forwarder
/opt/ttn-gateway/packet_forwarder
The RAK831 Pilot Gateway can be connected to any LoRa network servers.
In this tutorial the RAK831 Pilot Gateway will be connected to The Things Network server.
The Semtech Packet Forwarder is configured via a file called global_conf.json and if provided an additional file called local_conf.json.
The global_conf.json is the main configuration file and contains for example the LoRa network server address, which uplink and downlink ports to use, which frequencies to use and the TX power LookUp Table (LUT).
The local_conf.json file contains more gateway specific parameters.
The local_conf.json will override the settings in the global_conf.json.
The ~/rak831-loragateway/install.sh script creates the global_conf.json and local_conf.json files in this folder:
/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd
Several other global_conf.json file examples can be found in this folder:
/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/cfg
but these files are not used.
The https://github.com/robertlie/RAK831-LoRaGateway-RPi/blob/master/configuration_files/README.md file explains where the global configuration files originates from and what modifications were made to these files.
In Tutorial 28 is explained which parameters to set in the local_conf.json file to enable GPS and for beaconing.
In the local_conf.json these parameters are commented out.
Uncomment these parameters if needed.
The gateway is now running without errors.
Next steps:
Register the gateway to The Things Network, watch:
https://youtu.be/bea7g5isD0w?t=1779
Optionally enable WiFi, watch:
https://youtu.be/bea7g5isD0w?t=1844
More information about the RAK831 Pilot Gateway:
https://www.aliexpress.com/store/product/IoT-in-a-Box-Powered-Pilot-Gate-way-with-Semtech-SX1301/2805180_32951841630.html
Interested in the RAK831 components:
https://www.aliexpress.com/store/product/RAK831-LoRa-LoRaWAN-Gateway-Module-base-on-SX1301-433-868-915MHz-range-of-up-to-49200ft/2805180_32821411294.html
Check out all my other LoRa/LoRaWAN tutorial videos:
https://www.youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
https://www.youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan LoRa/LoRaWAN tutorial 28.1: Installing Semtech UDP Packet Forwarder for the RAK831 Pilot Gateway](https://i.ytimg.com/vi/aR9-gbZvBh0/mqdefault.jpg)








