Concurrent event-driven programming in occam-π for the Arduino

Christian Lyder Jacobsen, Matthew C. Jadud, Omer Kilic, Adam T. Sampson

1 Citationer (Scopus)

Abstract

The success of the Arduino platform has made embedded programming widely accessible. The Arduino has seen many uses, for example in rapid prototyping, hobby projects, and in art installations. Arduino users are often not experienced embedded programmers however, and writing correct software for embedded devices can be challenging. This is especially true if the software needs to use interrupts in order to interface with attached devices. Insight and careful discipline are required to avoid introducing race hazards when using interrupt routines. Instead of programming the Arduino in C or C++ as is the custom, we propose using occam-π as a language as that can help the user manage the concurrency introduced when using interrupts and help in the creation of modular, well-designed programs. This paper will introduce the Arduino, the software that enables us to run occam-π on it, and a case study of an environmental sensor used in an Environmental Science course.

OriginalsprogEngelsk
TitelCommunicating Process Architectures 2011 : Proceedings of the 33rd WoTUG Technical Meeting, 19–22 June 2011, University of Limerick, Ireland
RedaktørerPeter H. Welch, Adam T. Sampson, Jan B. Pedersen, Jon Kerridge, Jan F. Broenink, Frederick R. M. Barnes
Antal sider17
ForlagIOS Press
Publikationsdato2011
Sider177-193
ISBN (Trykt)978-1-60750-773-4
ISBN (Elektronisk)978-1-60750-774-1
StatusUdgivet - 2011
Begivenhed33rd WoTUG Conference on Concurrent and Parallel Programming: communicating process architectures 2011 - University of Limerick, Limerick, Irland
Varighed: 19 jun. 201122 jun. 2011
Konferencens nummer: 33

Konference

Konference33rd WoTUG Conference on Concurrent and Parallel Programming
Nummer33
LokationUniversity of Limerick
Land/OmrådeIrland
ByLimerick
Periode19/06/201122/06/2011
NavnConcurrent Systems Engineering Series
Vol/bind68
ISSN1383-7575

Fingeraftryk

Dyk ned i forskningsemnerne om 'Concurrent event-driven programming in occam-π for the Arduino'. Sammen danner de et unikt fingeraftryk.

Citationsformater