Networking.ThinkLARGE

LoRaWAN Is Made for IoT

July 10, 2017
LoRa is a low-power wide area network (LPWAN) specification intended for wireless batteries operated for IoT applications. We take a look at the technology, challenges, and its adoption.

Download the PDF version of this article.

The LoRa Alliance’s LoRaWAN (Long Range Wide Area Network) is a Low Power Wide Area Network (LPWAN) made for the Internet of Things (IoT). It is designed for long-range, low-power operation with sensors and controls that work off of batteries or energy-harvesting devices. It has applications in transportation and logistics, smart buildings, smart cities, and agriculture. For example, Vinduino is an open-source, LoRaWAN-based solution for wineries that want to track the soil moisture in their vineyards. It also incorporates an Arduino board and is programmed using Python. LoRa was originally developed by Semtech.

The recent LoRa conference in Philadelphia was host to gateway and hardware vendors as well as service providers like Comcast that announced its machineQ LoRa service. It was able to cover most of the city with only three gateways.

LoRa’s two-key encryption security system works well for multi-tenant services like machineQ. One key is used to encrypt and authenticate exchanges with the network infrastructure. The other is for communication with the data service. This allows Comcast to have access to the infrastructure communication, but not the application data that is encrypted using the other key.

LoRa is not a speed demon. Even at short range it tops out at 50 kbits/s. It scales down to 292 bits/s but with a range that is measured in kilometers as well as being able to penetrate barriers like walls that would stop or significantly attenuate other wireless protocols like Wi-Fi or cellular. This makes LoRa a good choice in buildings or for in-ground sensors like PNI Sensors’ PlacePod magnetic sensor for parking space management that is embedded in the floor.

LoRa gateways like Multi-Tech Systems’ Linux-based, MultiConnect Conduit work with any LoRa device. The gateway actually has a pair of mCard slots and there is an mCard that supports LoRa. Multi-Tech’s mDot modules come in a number of plug-in and solderable form factors.

Multi-Tech Systems’ MultiConnect Conduit supports a pair of plug-in modules such as a LoRa wireless module.

The Sodaq ExpLoRer is an example of a typical LoRa device development platform. It is based on Microchip’s RN2903 LoRa transceiver module and the board also hosts the SAMD21 ARM Cortex-M0 microcontroller. The board has a PCB antenna, Bluetooth 4.2 support and a temperature sensor.

The Sodaq ExpLoRer combines Microchip’s RN2903 LoRa transceiver module with its SAMD21 Arm Cortex-M0 microcontroller.

LoRa uses unlicensed spectrum. The bands differ by country but in North America it uses the 915 Mhz band providing 64 upstream and eight downstream channels. Chirped-FM modulation and high receiver sensitivity help with reception over long distances or through materials. LoRa has broadcast-based firmware over-the-air (FOTA) update support that is slow, because of the network’s speed, but reliable because multiple, RAID-like packets are sent with sufficient redundancy that dropping some will still result in a successful update.

Software overhead on the device and gateway is minimal because of how the protocol works. There is no mesh networking and devices simply transmit and receive packets. Multiple gateways can provide overlapping coverage and they simply forward packets, along with meta information, to a LoRa server. A server is responsible for handling any redundancy. For example, it may receive the same packet from a device through two gateways. The server will discard one and send any response through the best gateway based on the meta data that includes details like the strength of the connection.

LoRa Server is an open-source implementation that handles deduplication. It supports ABP (activation by personalization) and OTAA (over-the-air activation).

Anyone can set up one or more LoRa gateways. Service providers like Comcast allow companies to deploy devices without having to build a WAN infrastructure. Typically end users will have their own gateway for applications like agriculture where service provider coverage is not available.

LoRa has garnered quite a bit of support that is reflected in the number of gateways available as well as the number of modules and chips supporting developers. Users and vendors have a number of options like self-hosting and services like Comcast’s machineQ to choose from. The Things Network is an organization that ties LoRa gateways together that devices can share for free.

LoRa fills a gap between LANs like Bluetooth, Zigbee, and Wi-Fi and wide area networks like cellular. The latter requires the use of a service provider and the coverage is not adjustable by the user eliminating it as an option for some applications.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!