LoRa Tools for nRF52
LoRa Tools for nRF52
Minimum price
Suggested price
LoRa Tools for nRF52

Last updated on 2019-06-11

About the Book

With the information in this book, you can construct low-cost, lightweight, portable lora radios and use them for texting between radios, debugging LoRaWann or lora mesh networks, setting up your own perimeter sensing networks, locating assets or people inside commercial or industrial buildings.

Detailed support for the hardware construction is provided at www.adafruit.com, the vendor for the processor and radio boards.

The processor boards use either the Nordic nRF52832 processor, or the nRF52840 processor. The radio board uses the Semtech sx1276 lora radio chip.

Source code written for this project is included in an appendix. Complete source code and build files, including Nordic Semiconductor library code used, is supplied with the purchase of this eBook.

The book gives instructions for building, loading, and running ping, repeat, modem, and bluetooth bridge programs on the radios you build.

The software can be built Windows, or Linux development computers, using the Visual Studio Code development environment supplied free of charge by Microsoft, and build directories available for download to purchasers of the eBook..

About the Author

David Clifton
David Clifton

I have developed embedded software for 30 years.  Along the way, I have worn out several keyboards, stared holes in multiple displays, and produced firmware for a wide variety of electronic products.

Systems developed in whole or part include: Multi-parameter biofeedback system for Apple II, C and Dsp code for a television watching robot, firmware for a laser power meter, hypertext editor and math assistant for a pocket PC, autosampler firmware for a hematology instrument, robotic control and sequencer for a genetic blood assay machine, bootloader and kernel for an oximeter, portable flight planning computer, firmware for a wireless data acquisition system for bridge diagnostics, base station firmware for corrections telemetry and alcohol monitoring, communications protocol for an implantable hearing aid, usb mass storage driver, and sensor drivers for an oilfield seismic data logger, firmware for a digital theremin and a gps locator-tracker.

For more detailed information, see www.canyoncode.com.

Table of Contents

  • Introduction
    • Cautions
    • Hardware Summary
    • Software Summary
    • Recommended Debugging Tools
  • LoRa Radio Information
    • Basic Information
    • Lora Signal Parameters
    • Signal Parameter Relationships
    • Example Use of Formulas
  • Building The Hardware
    • Modem Breadboard
    • Lora Radio Assembly
    • Lora Modem Assembly
  • Software Modules
    • Lora Radio Interface
    • Lora Ping Application
    • Lora Repeat Application
    • Lora Modem Application
    • BLE Lora Bridge Application
  • Building the Software
    • Obtaining the Source Code
    • Preparing the build environment
    • Building an application with VSCode
    • Debugging with VSCode and a JLink debug probe
  • Testing the applications
    • Testing the ping application
    • Testing the modem application
    • Testing the repeat application
    • Testing the ble_lora_bridge application
    • Range Testing
  • Using the Applications
    • Device networks
    • Tools for debugging LoRa networks
    • Compartmentalized asset or personnel tracking.
    • Secure local texting.
    • Finding your friends in a large gathering such as a sports arena.
    • Rocket science
    • Antenna/Radio Impedance Matching
  • Appendix – Listings
    • Application Specific Code Listings
    • Support Code for Applications

The Leanpub 45-day 100% Happiness Guarantee

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

See full terms

Free Updates. Free App. 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), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). 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

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! 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. It really is that easy.

Learn more about writing on Leanpub