Open Hardware: A Role to Play in Wireless Sensor Networks?

Roy Fisher, Lehlogonolo Ledwaba, Gerhard P. Hancke, Carel P. Kruger

TL;DR

This paper investigates whether open-source hardware, particularly platforms like Raspberry Pi, can effectively replace expensive, proprietary devices in building Internet of Things (IoT) wireless sensor networks (WSNs). The authors demonstrate that open-source solutions offer comparable or even superior performance in terms of cost, power consumption, and processing speed, paving the way for broader adoption of IoT technologies.

What Problem Does This Paper Address?

The Internet of Things (IoT) is rapidly expanding, but its growth is hindered by the high cost and proprietary nature of commercial sensor nodes and gateways. This creates a barrier to entry for developers and slows down innovation. The paper addresses the question of whether readily available, inexpensive open-source hardware and off-the-shelf components can provide a viable and competitive alternative to specialized, built-for-purpose devices for IoT applications, specifically within the context of wireless sensor networks.

Methods

The authors compare various wireless sensor network (WSN) nodes, categorizing them into "built-for-purpose" (proprietary) and "open-source" or "non-traditional" (like Raspberry Pi and Beaglebone). They conduct a series of benchmarks to evaluate these devices across several key metrics:

  • Power Consumption: Measured current consumption (in mAh) against duty cycle.
  • Capabilities and Cost: Compared processing speed against device cost.
  • Features: Analyzed operating systems, communication standards (primarily ZigBee), and onboard sensors.
  • Gateway Performance: Evaluated reliability, throughput, and security of potential gateway devices (Raspberry Pi and proprietary Digi Connectport devices).

A key methodological contribution is the rapid prototyping of a low-cost, open-source sensor node using COTS components, which is then benchmarked alongside commercial and other open-source options.

Datasets

The paper does not explicitly mention or use pre-existing datasets for training or evaluation. Instead, it focuses on benchmarking the performance of hardware devices themselves. The "datasets" in this context are the performance metrics collected during the experimental tests (e.g., power consumption readings, throughput speeds, packet drop rates). The authors also created a testbed to facilitate these benchmarks.

Key Insights and Ideas

  • Open Source is Competitive: Inexpensive open-source hardware, particularly Raspberry Pi, can match or exceed the performance of expensive, proprietary IoT devices in critical areas like throughput and reliability.
  • Cost-Effectiveness is Key: The paper highlights a surprising inverse relationship: more powerful devices (like Raspberry Pi and Beaglebone) are often less expensive than some of the less capable, built-for-purpose WSN nodes.
  • Flexibility and Upgradeability: Open-source platforms offer significant advantages in terms of flexibility and ease of upgradeability. For example, communication modules can be swapped out without redesigning the entire system.
  • Raspberry Pi as a Viable Gateway: Raspberry Pi demonstrates strong performance as an IoT gateway, handling secure communication tasks effectively and outperforming proprietary gateway devices in throughput.
  • Sprouts Platform for Low Power: The Sprouts node is identified as the most power-efficient device, making it ideal for applications requiring long-term deployments with minimal power.

Key Results

  • Power Consumption: The Sprouts device was the most economical, consuming less than 180 µAh in full active mode. Traditional WSN nodes generally consumed around 25 mAh for full awake operation, while non-traditional nodes like Beaglebone consumed significantly more (450 mAh).
  • Cost vs. Processing Speed: The paper found that more powerful devices like Raspberry Pi and Beaglebone were among the least expensive, while some less powerful WSN nodes were surprisingly costly (e.g., Lotus and Imote2 at $300).
  • Gateway Throughput: Raspberry Pi achieved a maximum throughput of 2.962 MB/s when applying confidentiality and integrity, outperforming proprietary Digi devices (X2 at 1.4 MB/s, X4 at 113 KB/s).
  • Reliability: Raspberry Pi demonstrated reliable data transmission up to 10 meters with minimal packet loss.
  • Cost-Effective Implementation: The authors propose an ideal implementation using the Sprouts platform for the device cloud ($20 per node) and Raspberry Pi as the gateway ($80 with ZigBee capability), offering a significantly more cost-effective solution than proprietary alternatives.

Limitations and Future Work

  • Limited Reliability Definition: The authors acknowledge that their definition of reliability testing was limited to successful packet delivery and did not account for all potential faults or network dynamics.
  • Non-Traditional Node Limitations: While Raspberry Pi and Beaglebone offer flexibility, they were not originally designed with the strict power constraints of traditional WSNs in mind, leading to higher power consumption. Achieving true "sleep mode" on these devices requires additional expansion boards and can be complex.
  • Firefly Cost Unknown: The cost of the Firefly device was not available as it was still under development.
  • Future Work: The paper suggests that future IoT implementations will likely involve direct connection of embedded devices to the Internet using IPv6, facilitated by protocols like 6LoWPAN and CoAP. This would allow embedded sensors to communicate directly with cloud platforms, potentially becoming the preferred setup.

Summary updated

Abstract

The concept of the Internet of Things is rapidly becoming a reality, with many applications being deployed within industrial and consumer sectors. At the ‘thing’ level—devices and inter-device network communication—the core technical building blocks are generally the same as those found in wireless sensor network implementations. For the Internet of Things to continue growing, we need more plentiful resources for building intelligent devices and sensor networks. Unfortunately, current commercial devices, e.g., sensor nodes and network gateways, tend to be expensive and proprietary, which presents a barrier to entry and arguably slows down further development. There are, however, an increasing number of open embedded platforms available and also a wide selection of off-the-shelf components that can quickly and easily be built into device and network gateway solutions. The question is whether these solutions measure up to built-for-purpose devices. In the paper, we provide a comparison of existing built-for-purpose devices against open source devices. For comparison, we have also designed and rapidly prototyped a sensor node based on off-the-shelf components. We show that these devices compare favorably to built-for-purpose devices in terms of performance, power and cost. Using open platforms and off-the-shelf components would allow more developers to build intelligent devices and sensor networks, which could result in a better overall development ecosystem, lower barriers to entry and rapid growth in the number of IoT applications.
BibTeX
@inproceedings{fisher2015open,
  author = {Roy Fisher and Lehlogonolo Ledwaba and Gerhard P. Hancke and Carel P. Kruger},
  title = {{Open Hardware: A Role to Play in Wireless Sensor Networks?}},
  booktitle = {Sensors},
  year = {2015},
  url = {https://openreview.net/forum?id=zqUdthPHmn},
}

Loading related content...

Figure