LR & LoRaWAN are next generation technologies that will support wireless connectivity in IoT, alongside 5G RF Technologies. Uniquely enabling long range, low power communication, they are already being used in numerous consumer and industrial applications to solve real world problems. For beginners in the space, however, getting started with LR & LoRaWAN can be an intimidating process. This article serves as a more in-depth but gentle introduction to LoRaWAN Gateways & Nodes, as well as a guide on how to get started!
We will cover the following content and more!
- Recap: What is LR & LoRaWAN?
- What are LoRaWAN Gateways & Nodes?
- Benefits of using LoRaWAN Gateways with End Nodes
- LoRaWAN Product Recommendations
- How to Set Up a LoRaWAN Gateway with Raspberry Pi
What is LR & LoRaWAN?
LR , which is short for Long Range, is one of the major long-range and low-power wireless communication systems developed by Semtech Corporation. While LR & LoRaWAN are commonly mistaken to be the same thing, they actually represent different components of a LR -based communication system.
LR is a radio frequency carrier signal based in the physical (PHY) layer that converts the data it receives to signals. On the other hand, LoRaWAN is a protocol located in the Media Access Control (MAC) layer that promotes LR signals to wider applications.
In simple terms, you can understand LR to be a type of hardware that supports long range wireless communication, whereas LoRaWAN refers to a network protocol based on LR .
Together, LR & LoRaWAN allow long-range, low-power applications to be built for IoT, enabling wireless transmission over distances of up to 15km! Among other benefits and features shown below, they are also suitable for a wide range of applications; indoors and outdoors.
Supported by a diverse ecosystem of hardware and software developers, network providers and industry associations, as well as the LoRa Alliance®, LR technologies are increasingly accepted and easier to implement worldwide. Hence, anyone choosing to get started with LoRaWAN can expect to rely on extensive documentation and community support with platforms like The Things Network (TTN).
What are LoRaWAN Gateways & Nodes?
LoRaWAN Gateways and Nodes are two of four key components of the LoRaWAN network architecture:
- End Nodes – Represents edge devices or sensors
- Gateway – Collects or concentrates data from several end nodes
- Network Server – Consolidates data from gateways for upload to application server
- Application Server – Processes or displays consolidated data
As you see, LR Gateways and End Nodes exist in the physical space of deployment, which makes them suitable to discuss together!
LoRaWAN End Nodes
End Nodes refer to devices at the end of the network, which are equipped with sensors to collect and monitor data. They usually come in the form of low power microcontrollers that can be deployed for years without any requirement for maintenance, and are equipped with a LR transmitter to send data packets to the Gateways. End Nodes can be deployed anywhere – security or safety monitoring systems, vending machines, even pet tracking are just some examples where they can be placed!
LoRaWAN Gateways are the bridge between End Nodes and the Network. To receive information from the End Nodes, gateways are equipped with a LR concentrator and can, in essence, be considered as a router of sorts. There are two primary types of LoRaWAN Gateways that are differentiated by their type of software:
- Minimal firmware that only runs the packet forwarding software to the network server.
- Operating system where the packet forwarding software is run in the background. While this consumes more power, gateway administrators are able to utilise the gateway device for other purposes.
It is important to distinguish that LoRaWAN End Nodes communicate with LoRaWAN Gateways through low power LoRaWAN, whereas Gateways communicate with the Network Server through higher bandwidth communication protocols like WiFi, Ethernet or Cellular.
Benefits of using LoRaWAN Gateways with End Nodes
Now, the use of LoRaWAN Gateways as an intermediary between End Nodes and the server are in no way arbitrary. In fact, LoRaWAN Gateways enable what is known as a star-on-star network, which has several key benefits!
1. Redundancy to Ensure Minimal Service Disruptions
When an Edge Node on the LoRaWAN network broadcasts data through LR, all gateways within the range of that device will receive the it’s messages and forward them to the network server! The network server will then deduplicate the messages and choose the best gateway to transmit a downlink message back to the End Node, if required.
For a network targeted at industrial IoT solutions, this is a major advantage. For one, any faults in a single LoRaWAN Gateway will not cause the system to fail entirely, since other gateways can continue to receive data from the End Nodes. This also makes it easier to maintain the Gateways since the system won’t have to be shut down during maintenance.
Overall, the usage of LoRaWAN Gateways helps to keep the network reliable and operating with minimal service disruptions!
2. Maximum Affordability & Scalability
Each LoRaWAN Gateway is relatively affordable and can service up to 1000 additional End Nodes. With the LoRaWAN network topology, wireless network coverage can be increased easily and affordably without disturbing the network! Thus, the LoRaWAN network can be easily scaled to suit the needs of any application or environment.
3. Ever-Expanding Global Network
LoRaWAN operates on an unlicensed radio band, which allows us to operate LoRaWAN gateways in most countries legally and at no cost! If there is no coverage where you are located, you can simply add your own gateway, which you and others in your area can then use! With a strong community and support from the LoRa Alliance®, LoRaWAN networks continue to grow as we speak!
How is LR currently being used?
Boasting vast flexibility in long range low power communication, LR is suitable for use in numerous monitoring applications including healthcare, agriculture, smart cities, metering, as well as supply chain & logistics! Thus, it’s commonly said that the applications of LR are limitless, but there are indeed a few scenarios where its capabilities truly shine.
When Other Communication Methods are Unsuitable
Such applications include agriculture, or environmental monitoring in rural areas where there is no satellite signal for cellular communication, nor the infrastructure for short-range communications like Wi-Fi routers and access points.
In fact, it is for this reason that LR is particularly powerful for smart metering applications in buildings. Due to the long range nature of LR , only a single gateway is required to receive electrical / water consumption data from all meters in the building. This significantly reduces the cost of network infrastructure in comparison to Wi-Fi. Furthermore, LR much more suitable for indoor usage, which is a scenario where cellular connectivity commonly struggles!
When there are Strict Requirements to be Met
LR & LoRaWAN infrastructure is built to be robust and operational for years and years. Thus, it is the perfect choice for industrial use cases where network failures are absolutely unacceptable. This may include surveillance systems, emergency alert systems, and agricultural monitoring systems, where an assurance of operational reliability is a must. Thanks to the same characteristics, LR devices are also a prime candidate for field deployment applications like remote logistics and supply chain tracking and wearables.
When Network Privacy is Needed
LR enables individuals and businesses to easily build their own networks for internal use with dedicated hardware and infrastructure. Not only is this a more affordable solution than seeking enterprise products on the market, it also grants users greater flexibility and management capabilities with the system. Isolated from external intervention and networks and equipped with integrated encryption capabilities, a LoRaWAN private network also improves data security for the information that is transmitted on it.
LoRaWAN Gateways & End Nodes: Recommendations
LoRaWAN networks are designed to last, but only if you invest in the right hardware. At Seeed, we are committed to delivering industrial-grade products to enable IoT solutions built on various networks, including LR & LoRaWAN! Here are some of our top recommendations for building your own LoRaWAN Gateways and End Nodes!
SenseCAP M2 Multi-Platform LoRaWAN Gateway is a standard LoRaWAN gateway that supports connecting to different network servers. It supports global LoRaWAN frequency plans from 865 MHz to 923 MHz and can be used in multiple LoRaWAN applications like smart building, environmental monitoring systems, precision farming, etc.
- Up to 10km of LoRaWAN® coverage and strong signal, allowing users to send data with extremely long ranges at low data rates.
- Compatible with multiple LNS like AWS, TTN, ChirpStack, etc. via using the Packet Forwarder / Basic Station mode.
- Based on Chirpstack, provides a fast and reliable solution for launching a LoRaWAN network.
- The PoE feature is also added to this device, making your deployment more reliable and faster.
- Supports Cellular(optional)、Wi-Fi and Ethernet for internet backhaul.
Our new WM1302 modules are the next-generation of mini-PCIe form-factor LoRaWAN gateway modules that have been carefully designed to unlock greater possibilities in long-range wireless transmission. Powered by the brand new Semtech® SX1302, the WM1302 series features improvements in sensitivity, power consumption and thermal management over older models with SX1301 and SX1308 chips!
- Powered by the Semtech® SX1302 baseband LoRa® chip, bringing extremely low power consumption while delivering high performance.
- Mini-PCIe form factor with standard 52-pin golden finger for space saving and seamless integration with various gateway devices.
- Ultra-low operating temperatures, with no need for additional thermal management, keeping your LoRaWAN gateways compact!
- High sensitivity down to -139dBm @ SF12 with SX1250 TX/RX front-end; Transmission power of up to 26dBm @ 3.3V.
- Certified with CE, FCC, and TELEC to simplify your product development and certification processes.
To learn more about the WM1302 LoRaWAN Gateway Modules, visit their product page on the Seeed Online Store!
The Wio-E5 Development Kit consists of the Wio-E5 Development board, an antenna, a USB Type C Cable and a 2*AA 3V Battery Holder. The Wio-E5 Dev Board is embedded with the Wio-E5 STM32WLE5JC module with LoRaWAN protocol compatibility on the global frequency band. In addition, it supports various data protocols and interfaces, such as full GPIOs, RS-485 and Grove!
- Ultra-low power consumption and high performance
- Easy testing and rapid prototyping
- Full GPIOs that lead out to rich interfaces, including RS-485, Grove, and etc.
- Global LoRaWAN® and LR frequency plan supported
- Long-distance transmission range to 10km (ideal value in open area)
If you’re keen to pick up the Wio-E5 Development Kit, visit the Seeed Online Store now!
If you want to build a LR End Node solution with an SBCs like the popular Raspberry Pi 4, or a microcontroller like the Wio Terminal, the Wio-E5 Grove module will be your best bet. Featuring full LoRaWAN capabilities in the modular simplicity of the Grove ecosystem, the Grove Wio-E5 lets you bring your existing devices into your LoRaWAN network with just a few simple steps!
- Wio-E5 (STM32WLE5JC) embedded
- Support LoRaWAN protocol on EU868/US915 frequency band
- Ultra-long transmitting range up to 10km (Ideal value in open space)
- Easy control by AT command via UART connection
- Rapid prototyping with plug-and-play Grove interfaces
- Ultra-low power consumption and high performance
Visit the Seeed Online Store to learn more about the Grove Wio-E5 Module today!
SenseCAP LoRaWAN Starter Kit for SenseCAP multi-platform gateway assembles the Seeed Studio XIAO ESP32-S3, XIAO’s Expand board, Grove-Wio-E5 and two grove sensors in one box which is designed specifically for beginners. With this kit, you can learn and experience the entire architecture of LoRaWAN. You can also utilize the grove sensors provided in the kit or choose your own sensor modules to build your own LoRaWAN projects.
- Build a LoRaWAN project through 4 steps in 10 minutes and can visualize data on the Cloud platform
- Compatible with different types of LoRaWAN® network servers making it suitable for a wide range of applications and industries
- Compatible XIAO ESP32S3 board offers various data transmitting interfaces and functional peripherals, compatible with Arduino
- With built-in AT command firmware, the board simplifies application development for developers, offering a seamless and flexible experience
- By updating the firmware through UF2, easily make it compatible with other Grove sensors
- Plug and Play in just four steps, no programming background is required
Click here to learn more about LoRaWAN Starter Kit!
If you are worried about the door or window of your home being opened by strangers? Or forgot to close the door or window? Then this door and window sensor can help you. our LoRaWAN Door & Window Sensor It detects door open/close status and uplinks to IoT server via LoRaWAN network. All you need to do is link the LoRaWAN Door & Window Sensor to your IoT Server via LoRaWAN network
- LoRaWAN Class A v1.0.3
- Frequency Bands: EU868
- SX1262 LR Core
- Door and window open/close detect
- Door and window open/close statistics
- Magnet Trigger Distance: ≤ 25 mm
- Open duration alarm
- 2 x AAA LR03 Batteries
- Auto join the local LoRaWAN network via over the air activation (OTAA)
- AT Commands to change parameters
- Uplink on periodically and open/close action
- Remote configure parameters via LR Downlink
- Firmware upgradable via program port
Visit the Seeed Online Store to learn more about LoRaWAN Door & Windows Sensor
LWL02 LoRaWAN Water Leak Sensor is a monitoring pool or large industrial pool etc, for water leakage, The LWL02 will send periodically data every day as well as for each water leak event. It also counts the water leak times and calculates the last water leak duration. And LWL02 LoRAWAN can count every event and upload it periodically
- Compact Size for Easy Deployment
- The latest version of LoRaWAN v1.0.3 Class A
- SX1262 Long-Range Low-Power LR Core
- 2 x AAA LR03 batteries
- Conveniently Change Device Parameters via sending AT Commands
- Periodically Transmit Sensor Data and Water Leak Events
- Easily Connect to a Computer and Upgrade the Firmware via Program Port
SenseCAP S2105 Soil Temperature, Moisture, and EC Sensor satisfy industrial long-distance data acquisition with a wide range of 0 ~ 100% (m³/m³), -40 ~ 80℃, and 0 to 23 dS/m respectively. With Bluetooth 5.0 for easy configuration and firmware upgrade and a built-in replaceable battery for minimal maintenance, it also supports three different LoRaWAN network architectures enabling you to easily join it in existing gateways and network servers to build flexible and high-performance sensor network.
SenseCAP S2103- LoRaWAN CO2, Temperature, and Humidity Sensors satisfy industrial long-distance data acquisition with a wide range of 400 to 10000 ppm, -40°C to 85°C and 0 to 100% RH respectively. With Bluetooth 5.0 for easy configuration and firmware upgrade and a built-in replaceable battery for minimal maintenance, it also supports three different LoRaWAN network architectures enabling you to easily join it in existing gateways and network servers to build flexible and high-performance sensor network.
S210X series is a brand new series of environmental sensors that enable long-distance data acquisition via LoRaWAN. They can be applied to a wide variety of industry verticals such as smart agriculture, smart buildings, and industrial control. Check more details.
Note: A full LR system will require four key components: End nodes, gateway, network serve and application server. For our full list of products for each category, please visit their corresponding links!
- LR Modules
- LR Dev Boards & Dev Kits
- LR Sensor Nodes
- LR Gateways
- LR Breakout Boards
- LR Accessories
- Industrial-grade LoRaWAN Products for Outdoor Applications
Tutorial: Set Up a LoRaWAN Gateway with Raspberry Pi!
In this section, I will show you how you can easily set up a LoRaWAN Gateway to receive and forward data from your LR end nodes!
To follow along with this tutorial, you might want to consider picking up the following items:
The WM1302 Gateway Module uses a standardised mini-PCIe form factor, so you can actually use any device with a compatible interface! For ease of use and to keep it beginner friendly, the Raspberry Pi will be our choice for this project!
This section is still under development – please check back in the near future! For now, check out the Seeed Wiki for more information!
That’s it for this article! I hope you’ve gotten a clearer idea of the roles of LoRaWAN Gateways & End Nodes in a LoRaWAN network. The world of LR is continuously growing, and will only play a more important role in the coming future of Industrial IoT! If you’re keen to learn more about LR , LoRaWAN, or IoT in general, you might be interested in reading the following articles:
- How to Enable LR and LoRaWAN on Arduino and Raspberry Pi
- LR & LoRaWAN: Vertical Solutions for the Real World
- Edge AI – What is it and What can it do for Edge IoT?
- What is Industry 4.0? – Technologies of the Fourth Industrial Revolution