Skip to main content
main-content

Über dieses Buch

Create your own LoRa wireless projects for non-industrial use and gain a strong basic understanding of the LoRa technology, LoRa WAN, and LPWAN.
You'll start by building your first LoRa wireless channel and then move on to various interesting projects such as setting up networks with a LoRa gateway, communicating with IoT servers using RESTful API and MQTT protocol, and real-time GPS tracking.
With LoRa wireless and LoRaWAN, you can build a wide array of applications in the area of smart agriculture, smart cities, smart environment, smart healthcare, smart homes and buildings, smart industrial control, smart metering, smart supply chain and logistics. Beginning LoRa Radio Networks with Arduino provides a practical introduction and uses affordable and easy to obtain hardware to build projects with the Arduino development environment.
What You’ll Learn
Understand the hardware need to build LoRaWAN
Use the Arduino development environment to write codeConnect to Arduino hardware and upload programs and communicate with them
Setup networks with LoRa gateway
Show real time track with tail, and path history
Who This Book Is For

Inventors, hackers, crafters, students, hobbyists, and scientists

Inhaltsverzeichnis

Frontmatter

Chapter 1. Introduction to LoRa and LoRaWAN

Abstract
Radios are exciting pieces of hardware that can be used to build wireless communication links. Radios used to listen to voice and audio are known as receivers; your home radio, for example, can only tune into and receive radio stations. Radios that can be used to transmit voice and audio are known as transmitters; radio stations use transmitters to broadcast programs. Radios that can do both (transmit and receive) are known as transceivers; a walkie-talkie is an example of a two-way radio transceiver.
Pradeeka Seneviratne

Chapter 2. Obtaining and Preparing Hardware

Abstract
In Chapter 1, you learned that the LoRaWAN architecture consists of end nodes (also known as end devices or sensor LoRa nodes) and gateways. End nodes and gateways can be built with various hardware and software options. This chapter introduces some easy-to-find hardware that you can use to build end nodes and single-channel gateways.
Pradeeka Seneviratne

Chapter 3. Setting Up the Software Development Environment

Abstract
This chapter covers how to set up the software development environment to build single-channel LoRa wireless radio networks. First, you will learn how to install and configure the Arduino IDE on the Windows operating system to work with Arduino boards, RFM9x radio transceivers, GPS modules, temperature sensors, and so forth, for building LoRa end nodes (sensor nodes). In the latter part of this chapter, you will learn how to install PuTTY on Windows as a prerequisite to building a single-channel LoRa gateway with the Raspberry Pi.
Pradeeka Seneviratne

Chapter 4. Building a Peer-to-Peer Channel

Abstract
In this chapter, you will learn how to build a peer-to-peer communication channel using two LoRa radio transceiver modules. Building a peer-to-peer communication channel is not LoRaWAN compatible, but it provides a way to better understand how messages can be exchanged between two LoRa radio transceivers.
Pradeeka Seneviratne

Chapter 5. Building a LoRa Gateway

Abstract
In this chapter, you will learn how to build a low-cost single-channel LoRa gateway based on the Raspberry Pi. The gateway uses a single-channel packet forwarder to forward incoming data packets to the Things Network ( https://www.thethingsnetwork.org/ ). Then, you will create an application on the Things Network to decode the payloads to extract sensor data from the data packet.
Pradeeka Seneviratne

Chapter 6. Connecting with IoT Servers Using a RESTful API

Abstract
In this chapter, you’ll learn how to send data to an IoT server using a RESTful API. A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST, and DELETE data. The ThingSpeak IoT platform enables clients to update and receive updates from channel feeds through the ThingSpeak RESTful API.
Pradeeka Seneviratne

Chapter 7. Connecting with IoT Servers Using MQTT

Abstract
In this chapter, you will learn how to send data to an IoT server using the MQTT protocol with a LoRa wireless network. The ThingSpeak IoT platform enables clients to update and receive updates from channel feeds through the ThingSpeak MQTT broker. MQTT is a publish/subscribe communication protocol that uses TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL. A client device connects to the MQTT broker and can publish to a channel or subscribe to updates from that channel.
Pradeeka Seneviratne

Chapter 8. GPS Tracking

Abstract
The Global Position System (GPS) is a satellite-based navigation system that provides continuous positioning and timing information anywhere in the world under any weather condition.
Pradeeka Seneviratne

Backmatter

Weitere Informationen