Protocol Choices Abound
One of the critical enabling technologies making the Internet-of-Things possible is the set of well-established wireless standards that allow movement of data to and from low-power edge devices. These standards are being implemented in a variety of chip- and module-based solutions.
By Jeff Child, Editor-in-Chief
Connecting the various nodes of an IoT implementation can involve a number of wired and wireless network technologies. It’s rare that an IoT system can be completely hardwired end to end. That means most IoT systems of any large scale depend on a variety of wireless technologies including everything from device-level technologies to Wi-Fi to cellular networking.
IoT system developers have a rich set of wireless standards to choose from. And these can be implemented from the gateway and the device side using a variety of wireless IoT solutions in both module and chip form. Some of these are available from the leading microcontroller vendors, but a growing number are IoT-specialist chip and module vendors. Many of today’s solutions combine multiple protocols on the same device, such as Wi-Fi and Bluetooth LE (BLE) for example. We’ll look at each of the major wireless standards appropriate to IoT, along with representative interface solutions for each.
— ADVERTISMENT—
—Advertise Here—
LoRaWAN
Managed by the LoRa Alliance, the LoRaWAN specification is a Low Power, Wide Area (LPWA) networking protocol designed to wirelessly connect battery operated ‘things’ to the internet in regional, national or global networks. It meets key IoT requirements such as bi-directional communication, end-to-end security, mobility and localization services.
The networking architecture of LoRaWAN is deployed in a star-of-stars topology in which gateways relay messages between end devices and a central network server. Gateways are connected to the network server via standard IP connections and act as a transparent bridge, simply converting RF packets to IP packets and vice versa. The wireless communication takes advantage of the Long Range characteristics of the LoRa physical layer, allowing a single-hop link between the end-device and one or many gateways. All modes are capable of bi-directional communication, and support is included for multicast addressing groups to make efficient use of spectrum during tasks such as Firmware Over-The-Air (FOTA) upgrades or other mass distribution messages.
In a recent LoRaWAN product example, Cypress Semiconductor in June announced its teaming up with Semtech on a compact, two-chip LoRaWAN-based module deployed by Onethinx. The highly-integrated Onethinx module is well-suited for smart city applications that integrate multiple sensors and are in harsh radio environments (Figure 1). Using Cypress’ PSoC 6 MCU hardware-based Secure Element functionality and Semtech’s LoRa devices and wireless radio frequency technology (LoRa Technology), the solution enables a multi-layer security architecture that isolates trust anchors for highly protected device-to-cloud connectivity. In addition, the PSoC 6 MCU’s integrated Bluetooth Low Energy (BLE) connectivity provides a simple, low-power, out-of-band control channel. Cypress claims the PSoC 6 device as the industry’s lowest power, most flexible Arm Cortex-M dual-core MCU with a power slope as low as 22-μA/MHz active power for the Cortex-M4 core. The device works well with Semtech’s latest LoRa radio chip family, which offers 50% power savings in receive mode and 20% longer range over previous-generation devices.

Figure 1
Using Cypress’ PSoC 6 MCU hardware-based Secure Element functionality and Semtech’s LoRa devices and wireless radio frequency technology (LoRa Technology), the Onethinx module enables a multi-layer security architecture that isolates trust anchors for highly protected device-to-cloud connectivity.
The Onethinx module uses the integrated Secure Element functionality in the PSoC 6 MCU to give each LoRaWAN-based device a secret identity to securely boot and deliver data to the cloud application. Using its mutual authentication capabilities, the PSoC 6 MCU-based, LoRa-equipped device can also receive authenticated over-the-air firmware updates. Key provisioning and management services are provided by IoT security provider and member of the Bosch group, ESCRYPT, for a complete end-to-end, secure LoRaWAN solution. The module, offered by Cypress partner Onethinx, connects to Bosch Sensortec’s Cross Domain Development Kit (XDK) for Micro-Electromechanical Systems (MEMS) sensors and to the provisioning system from ESCRYPT to securely connect.
Wi-Fi (802.11)
In systems where power is less of a constraint, the ubiquitous standard
Wi-Fi 802.11 is also a good method of IoT connectivity—whether leveraging off of existing Wi-Fi infrastructures or just using Wi-Fi hubs and routers in a purposed-built network implementation. As mentioned earlier, Wi-Fi is often available integrated with other wireless protocols such as Bluetooth. …
Read the full article in the July 336 issue of Circuit Cellar
Don’t miss out on upcoming issues of Circuit Cellar. Subscribe today!
— ADVERTISMENT—
—Advertise Here—
Circuit Cellar's editorial team comprises professional engineers, technical editors, and digital media specialists. You can reach the Editorial Department at editorial@circuitcellar.com, @circuitcellar, and facebook.com/circuitcellar