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
-
UN Creates Open Source Portal
In a quest to strengthen open source collaboration, the United Nations Office of Information and Communications Technology has created a new portal.
-
Latest Linux Kernel RC Contains Changes Galore
Linux kernel 7.0-rc3 includes more changes than have been made in a single release in recent history.
-
Nitrux 6.0 Now Ready to Rock Your World
The latest iteration of the Debian-based distribution includes all kinds of newness.
-
Linux Foundation Reports that Open Source Delivers Better ROI
In a report that may surprise no one in the Linux community, the Linux Foundation found that businesses are finding a 5X return on investment with open source software.
-
Keep Android Open
Google has announced that, soon, anyone looking to develop Android apps will have to first register centrally with Google.
-
Kernel 7.0 Now in Testing
Linus Torvalds has announced the first Release Candidate (RC) for the 7.x kernel is available for those who want to test it.
-
Introducing matrixOS, an Immutable Gentoo-Based Linux Distro
It was only a matter of time before a developer decided one of the most challenging Linux distributions needed to be immutable.
-
Chaos Comes to KDE in KaOS
KaOS devs are making a major change to the distribution, and it all comes down to one system.
-
New Linux Botnet Discovered
The SSHStalker botnet uses IRC C2 to control systems via legacy Linux kernel exploits.
-
The Next Linux Kernel Turns 7.0
Linus Torvalds has announced that after Linux kernel 6.19, we'll finally reach the 7.0 iteration stage.
