Build a Long-Range Sensor Network with ChirpStack
Sensor Symphony
© Lead Image © file404, 123RF.com
ChirpStack's LoRaWAN implementation lets you set up long-range wireless traffic for sensors even if you are far from a WiFi access point.
If you have sensors in your house, there are many technologies that you can use to transmit their measurements wirelessly: Bluetooth, Zigbee, Z-Wave, Thread, and even WiFi. However, they all have a limited range. For sensors in your garden, the distance may be just too far. Moreover, for many applications, these technologies are too powerful: They offer much more bandwidth than you need. For monitoring the level of your rainwater tank or the temperature and humidity in your greenhouse, you only need to send a couple of bytes every few minutes.
Networks optimized for these situations are called low-power wide area networks (LPWAN). One such technology is LoRaWAN: It implements wireless communication over longer distances (even exceeding 10km in optimal conditions) with minimal power consumption. The tradeoff is that the data transmission rate is low, limited to a few kilobits per second at most, but that's good enough for garden sensors. The same applies to measurements in farms, vineyards, and many other large areas. By sending a small packet with sensor values every 10 minutes, a LoRaWAN sensor can operate for up to 10 years on a single battery.
In this article, I'll show you how to set up long-range communication in your home. But before getting started, I need to define some basic terminology.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
-
Manjaro 26.1 Preview Unveils New Features
The latest Manjaro 26.1 preview has been released with new desktop versions, a new kernel, and more.
-
Microsoft Issues Warning About Linux Vulnerability
The company behind Windows has released information about a flaw that affects millions of Linux systems.
-
Is AI Coming to Your Ubuntu Desktop?
According to the VP of Engineering at Canonical, AI could soon be added to the Ubuntu desktop distribution.
-
Framework Laptop 13 Pro Competes with the Best
Framework has released what might be considered the MacBook of Linux devices.
-
The Latest CachyOS Features Supercharged Kernel
The latest release of CachyOS brings with it an enhanced version of the latest Linux kernel.
-
Kernel 7.0 Is a Bit More Rusty
Linux kernel 7.0 has been released for general availability, with Rust finally getting its due.
