Grace: Low-Cost Time-Synchronized GPIO Tracing for IoT Testbeds
Paper in proceeding, 2022

Testbeds have become a vital tool for evaluating and benchmarking applications and algorithms in the Internet of Things (IoT). Testbeds commonly consist of low-power IoT devices augmented with observer nodes providing control, logging, and often also power-profiling. Today, the research community operates numerous testbeds, sometimes with hundreds of IoT nodes, to allow for detailed and large-scale evaluation. Most testbeds, however, lack opportunities for tracing distributed program execution with high accuracy in time, for example, via minimally invasive, distributed GPIO tracing. And the ones that do, like Flocklab, are built from custom hardware, which is often too complex, inflexible, or expensive to use for other research groups.This paper closes this gap and introduces Grace, a low-cost, retrofittable, distributed, and time-synchronized GPIO tracing system built from off-the-shelf components, costing less than €20 per node. Grace extends observer nodes in a testbed with (1) time-synchronization via wireless sub-GHz transceivers and (2) logic analyzers for GPIO tracing and logging, enabling time-synchronized GPIO tracing at a frequency of up to 8 MHz. We deploy Grace in a testbed and show that it achieves an average time synchronization error between nodes of 1.53 µs.

GPIO Logging

Internet of Things

GPIO Tracing

Time-Synchronization

Testbed

IoT

Author

Laura Harms

Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)

University of Kiel

Christian Richter

University of Kiel

Olaf Landsiedel

University of Kiel

Network and Systems

Proceedings - 18th Annual International Conference on Distributed Computing in Sensor Systems, DCOSS 2022

9-16
9781665495127 (ISBN)

18th Annual International Conference on Distributed Computing in Sensor Systems, DCOSS 2022
Los Angeles, USA,

Subject Categories

Computer Engineering

Embedded Systems

Computer Systems

DOI

10.1109/DCOSS54816.2022.00013

More information

Latest update

5/21/2024