LoRa & 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 LoRa & 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 LoRa & 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 LoRa & LoRaWAN?
LoRa, which is short for Long Range, is one of the major long-range and low-power wireless communication systems developed by Semtech Corporation. While LoRa & LoRaWAN are commonly mistaken to be the same thing, they actually represent different components of a LoRa-based communication system.
LoRa 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 LoRa signals to wider applications.
In simple terms, you can understand LoRa to be a type of hardware that supports long range wireless communication, whereas LoRaWAN refers to a network protocol based on LoRa.
Together, LoRa & 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, LoRa 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, LoRa 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 LoRa 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 LoRa 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 LoRa, 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 LoRa currently being used?
Boasting vast flexibility in long range low power communication, LoRa 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 LoRa 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 LoRa is particularly powerful for smart metering applications in buildings. Due to the long range nature of LoRa, 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, LoRa much more suitable for indoor usage, which is a scenario where cellular connectivity commonly struggles!
When there are Strict Requirements to be Met
LoRa & 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, LoRa devices are also a prime candidate for field deployment applications like remote logistics and supply chain tracking and wearables.
When Network Privacy is Needed
LoRa 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 LoRa & LoRaWAN! Here are some of our top recommendations for building your own LoRaWAN Gateways and End Nodes!
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 LoRa-E5 Development Kit consists of the LoRa-E5 Development board, an antenna, a USB Type C Cable and a 2*AA 3V Battery Holder. The LoRa-E5 Dev Board is embedded with the LoRa-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 LoRa frequency plan supported
- Long-distance transmission range to 10km (ideal value in open area)
If you’re keen to pick up the LoRa-E5 Development Kit, visit the Seeed Online Store now!
If you want to build a LoRa End Node solution with an SBCs like the popular Raspberry Pi 4, or a microcontroller like the Wio Terminal, the LoRa-E5 Grove module will be your best bet. Featuring full LoRaWAN capabilities in the modular simplicity of the Grove ecosystem, the Grove LoRa-E5 lets you bring your existing devices into your LoRaWAN network with just a few simple steps!
- LoRa-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 LoRa-E5 Module today!
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 LoRa 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 LoRa 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 LoRa 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
If you want to know more details about LWL02 LoRAWAN Water Leak Sensor you can come to visit our Seeed Website to learn more about it！
Note: A full LoRa 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!
- LoRa Modules
- LoRa Dev Boards & Dev Kits
- LoRa Sensor Nodes
- LoRa Gateways
- LoRa Breakout Boards
- LoRa 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 LoRa 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 LoRa 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 LoRa, LoRaWAN, or IoT in general, you might be interested in reading the following articles: