Leanpub Header

Skip to main content

IoT Networks with LoRaWAN

LoRaWAN is a very enegry efficient way for IoT devices to communitate over longe distances. This books gives backround information about the technology and it's capabilities. There are also many examples how to build and program a energy efficent LoRaWAN node that can run on a sngle battery for serveral years.

Minimum price

$7.99

$9.99

You pay

$9.99

Author earns

$7.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
About

About

About the Book

This book is about the LoRa modulation developed by the company Semtech which allows very energy efficient wireless communication over distances up to 12km. It also is about the LoRaWAN network technology which is based on the LoRa modulation and developed and maintained by the LoRaWAN Alliance.

This book addresses both prfofessional users and ethusiasts who just want to use LoRaWAN as a Hobbby or just for fun. It gives detailed background information how this technology works and what the strong point and limitations are. In addition to the theory is is shown how LoRaWAN can be used with a lot of code exampls for Arduino and various ARM platform like ARM mbed.

Share this book

Author

About the Author

Bernd Wiegmann

Bernd Wiegmann is working as a independent consultant for embedded and mobile projects.

He started programming embedded system with a home built Z80 system. Later he moved to C and then C++. He moved to Symbian and mobile development and became a three time Forum Nokia Champion.

His is currently working in the area of connectivity and security of IoT systems.

Contents

Table of Contents

1Preface

2Intended audience and coverage of the book

  1. 2.1What can LoRaWAN do and where can it be used
  2. 2.2The technical details of the LoRa modulation
  3. 2.3Implementing and using a LoRaWAN network
  4. 2.4Other networks based on LoRa modulation

3Example Programs

4What can LoRa(WAN) do?

  1. 4.1What are the use cases for LoRa(WAN)

5What is LoRa(WAN)

  1. 5.1Network Layers
  2. 5.2LoRa
  3. 5.3LoRaWAN
  4. 5.4Real Time communication
  5. 5.5LoRa Alliance
  6. 5.6LoRaWAN compared to other technologies

6Over The Air

  1. 6.1Frequencies
  2. 6.2Modulation
  3. 6.3LoRa Bandwidth
  4. 6.4Spreading Factor
  5. 6.5Transmission Power
  6. 6.6Antenna
  7. 6.7Symbols
  8. 6.8Coding Rate
  9. 6.9Frame Format
  10. 6.10Channel Activity Detection
  11. 6.11Multi SF Reception using CAD
  12. 6.12Regulatory restrictions
  13. 6.13Frequency Plan

7Hardware Components

  1. 7.1Single channel SX127X
  2. 7.2Single Channel SX126X
  3. 7.3Single Channel SX128X
  4. 7.4Multi channel SX130X
  5. 7.5Modules
  6. 7.6Development Boards
  7. 7.7Shields and Hats
  8. 7.8Antenna
  9. 7.9Nano-tag

8Software libraries for LoRa and LoRaWAN

  1. 8.1Arduino arduino-LoRa
  2. 8.2Arduino LoRaLib
  3. 8.3IBM LMIC
  4. 8.4Arduino LMIC
  5. 8.5Python
  6. 8.6Semtech Reference implementation LoRaMAC
  7. 8.7ARM mbed
  8. 8.8ST Microelectronics

9LoRa Examples for Arduino

  1. 9.1Test Setup
  2. 9.2Simple LoRa Sender
  3. 9.3Simple LoRa Receiver
  4. 9.4LoRa Receiver with Callback
  5. 9.5SF independent reception

10LoRa Examples for ARM mbed OS

11LoRa Examples for Semtech LoRaMAC

12LoRa Examples for LMIC Library

13Low Power Optimization

14Improving the operating range

15Adding WAN to LoRa

  1. 15.1LoRaWAN
  2. 15.2SymphonyLink
  3. 15.3Other Networks

16LoRaWAN

  1. 16.1Open Questions
  2. 16.2The Network
  3. 16.3Node
  4. 16.4Gateway
  5. 16.5Single Channel Gateway
  6. 16.6Packet Forwarder
  7. 16.7Security
  8. 16.8Application Server

17Keeping in Touch with LoRaWAN

  1. 17.1Optimal use of resources
  2. 17.2Placing a Node

18Existing LoRaWAN networks

  1. 18.1Semtech IoT
  2. 18.2The Things Network
  3. 18.3Telenor LoRA
  4. 18.4LORIOT

19TheThingsNetwork

20Operating Systems

  1. 20.1Linux
  2. 20.2mbed
  3. 20.3Zephyr
  4. 20.4FreeRTOS

21Setting up a Single Channel Gateway

  1. 21.1Installation
  2. 21.2Configuration

22LoRaWAN Gateway

  1. 22.1Single Channel Gateway
  2. 22.2Multi Channel Gateway

23LoRaWAN Node

  1. 23.1Establish Connection with Network

24LoRaWAN Application Server

25Geolocating a Node

26Firmware Update of LoEaWAN Nodes over the Air

  1. 26.1Why bother with updates
  2. 26.2How to do updates over a very slow network link
  3. 26.3Support from Networks
  4. 26.4Alternatives

27Interoperability

28Security

  1. 28.1Data Integrity
  2. 28.2Encryption
  3. 28.3Replay Attack

29Operating your own gateway

30Setting up a private network

31Symphony Link

32Radiohead

33RadioShuttle

34Dash7

35Software Installation

  1. 35.1ESP32 core for Arduino
  2. 35.2Heltec support for Arduino
  3. 35.3STM32 core for Arduino

36Conclusion

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub