Uploaded October 2018 | Updated September 2026, 2 weeks ago
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
youtube.com/c/mobilefish/about
This is part 11 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 video I will discuss carrier frequencies, bandwidths, ETSI sub bands, dwell time and hop time.
As mentioned before LoRaWAN uses frequencies in the ISM band.
On The Things Network (TTN) website you can find the carrier frequencies for your country.
First find the frequency plan which applies to your country:
thethingsnetwork.org/docs/lorawan/frequencies-by-country.html
For example:
Netherlands uses frequency plan EU863-870
If you know your frequency plan, find the corresponding LoRaWAN frequencies:
thethingsnetwork.org/docs/lorawan/frequency-plans.html
Instead of using the The Things Network (TTN) website, checkout the LoRaWAN Regional Parameters document issued by the LoRa Alliance:
lora-alliance.org/lorawan-for-developers
This document contains the approved frequency channel plans for various global regions, and follows the established regulatory constraints in those regions.
In this video I am only focussing on the EU863-870 ISM band, for other ISM bands please consult the LoRaWAN Regional Parameters document.
If your country uses the EU863-870 ISM band, than according to the LoRaWAN Regional Parameters document every EU868MHz end device must implement the following default channels:
- 868.10 MHz, bandwidth = 125 kHz
- 868.30 MHz, bandwidth = 125 kHz
- 868.50 MHz, bandwidth = 125 kHz
and additional 5 frequencies.
The other 5 frequencies can be freely attributed by the network operator.
For example, The Things Network implemented the following frequencies: 867.1, 867.3, 867.5, 867.7 and 867.9.
Earlier the word channel is used.
A channel is just an agreed-upon set of specific frequencies with additional information included in the agreement.
For example when using the TTN freq. plan: EU863-870 the uplink channel 3 refers to:
- carrier frequency: 867.1 MHz
- SF7BW125 to SF12BW125
The LoRaWAN Regional Parameters used by The Things Network can also be found at:
github.com/TheThingsNetwork/gateway-conf
ETSI divides the 863-870 MHz band (referenced "G") into 5 sub-bands: G, G1, G2, G3 and G4. [5]
Each sub band has different constraints in term of EIRP, duty cycle and channel bandwidth.
LoRaWAN only uses the following bandwidth ranges: 125 kHz, 250 kHz and 500 kHz.
Which of these 3 ranges are actual used depends on the region or frequency plan.
For example in Europe only the bandwidths 125kHz and 250 kHz are used.
An end device changes channel in a pseudo-random fashion for every transmission.
Changing frequencies makes the system more robust to interferences.
For example in Europe for uplink transmissions 8 different frequencies are used.
Dwell time (or transmit time) is the amount of time needed to transmit on a frequency.
Hop time is the amount of time needed to change from one frequency to another in which the radio is not transmitting
Check out all my other LoRa/LoRaWAN tutorial videos:
youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
youtube.com/c/mobilefish/about
This is part 11 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 video I will discuss carrier frequencies, bandwidths, ETSI sub bands, dwell time and hop time.
As mentioned before LoRaWAN uses frequencies in the ISM band.
On The Things Network (TTN) website you can find the carrier frequencies for your country.
First find the frequency plan which applies to your country:
thethingsnetwork.org/docs/lorawan/frequencies-by-country.html
For example:
Netherlands uses frequency plan EU863-870
If you know your frequency plan, find the corresponding LoRaWAN frequencies:
thethingsnetwork.org/docs/lorawan/frequency-plans.html
Instead of using the The Things Network (TTN) website, checkout the LoRaWAN Regional Parameters document issued by the LoRa Alliance:
lora-alliance.org/lorawan-for-developers
This document contains the approved frequency channel plans for various global regions, and follows the established regulatory constraints in those regions.
In this video I am only focussing on the EU863-870 ISM band, for other ISM bands please consult the LoRaWAN Regional Parameters document.
If your country uses the EU863-870 ISM band, than according to the LoRaWAN Regional Parameters document every EU868MHz end device must implement the following default channels:
- 868.10 MHz, bandwidth = 125 kHz
- 868.30 MHz, bandwidth = 125 kHz
- 868.50 MHz, bandwidth = 125 kHz
and additional 5 frequencies.
The other 5 frequencies can be freely attributed by the network operator.
For example, The Things Network implemented the following frequencies: 867.1, 867.3, 867.5, 867.7 and 867.9.
Earlier the word channel is used.
A channel is just an agreed-upon set of specific frequencies with additional information included in the agreement.
For example when using the TTN freq. plan: EU863-870 the uplink channel 3 refers to:
- carrier frequency: 867.1 MHz
- SF7BW125 to SF12BW125
The LoRaWAN Regional Parameters used by The Things Network can also be found at:
github.com/TheThingsNetwork/gateway-conf
ETSI divides the 863-870 MHz band (referenced "G") into 5 sub-bands: G, G1, G2, G3 and G4. [5]
Each sub band has different constraints in term of EIRP, duty cycle and channel bandwidth.
LoRaWAN only uses the following bandwidth ranges: 125 kHz, 250 kHz and 500 kHz.
Which of these 3 ranges are actual used depends on the region or frequency plan.
For example in Europe only the bandwidths 125kHz and 250 kHz are used.
An end device changes channel in a pseudo-random fashion for every transmission.
Changing frequencies makes the system more robust to interferences.
For example in Europe for uplink transmissions 8 different frequencies are used.
Dwell time (or transmit time) is the amount of time needed to transmit on a frequency.
Hop time is the amount of time needed to change from one frequency to another in which the radio is not transmitting
Check out all my other LoRa/LoRaWAN tutorial videos:
youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
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
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)