HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation
Journal articles

Taking Arduino to the Internet of Things: the ASIP programming model

Abstract : Micro-controllers such as Arduino are widely used by all kinds of makers worldwide. Popularity has been driven by Arduino's simplicity of use and the large number of sensors and libraries available to extend the basic capabilities of these controllers. The last decade has witnessed a surge of software engineering solutions for " the Internet of Things " , but in several cases these solutions require computational resources that are more advanced than simple, resource-limited micro-controllers. Surprisingly, in spite of being the basic ingredients of complex hardware-software systems, there does not seem to be a simple and flexible way to (1) extend the basic capabilities of micro-controllers, and (2) to coordinate interconnected micro-controllers in " the Internet of Things ". Indeed, new capabilities are added on a per-application basis and interactions are mainly limited to bespoke, point-to-point protocols that target the hardware I/O rather than the services provided by this hardware. In this paper we present the Arduino Service Interface Programming (ASIP) model, a new model that addresses the issues above by (1) providing a " Service " abstraction to easily add new capabilities to micro-controllers, and (2) providing support for networked boards using a range of strategies, including socket connections, bridging devices, MQTT-based publish-subscribe messaging, discovery services, etc. We provide an open-source implementation of the code running on Arduino boards and client libraries in Java, Python, Racket and Erlang. We show how ASIP enables the rapid development of non-trivial applications (coordination of input/output on distributed boards and implementation of a line-following algorithm for a remote robot) and we assess the performance of ASIP in several ways, both quantitative and qualitative.
Document type :
Journal articles
Complete list of metadata

Cited literature [40 references]  Display  Hide  Download

Contributor : Gianluca Barbon Connect in order to contact the contributor
Submitted on : Wednesday, December 14, 2016 - 3:14:24 PM
Last modification on : Friday, February 4, 2022 - 3:22:17 AM
Long-term archiving on: : Wednesday, March 15, 2017 - 1:24:58 PM


Files produced by the author(s)



Gianluca Barbon, Michael Margolis, Filippo Palumbo, Franco Raimondi, Nick Weldin. Taking Arduino to the Internet of Things: the ASIP programming model. Computer Communications, Elsevier, 2016, 00, pp.1 - 15. ⟨10.1016/j.comcom.2016.03.016⟩. ⟨hal-01416490⟩



Record views


Files downloads