Dipartimento di Informatica
Using Arduino for Tangible Human
Computer Interaction
Fabio Varesano
Advisor: Prof. Luca Console
Co-Advisor: Prof. Marco Grangetto
Laurea Magistrale in Metodologie e Sistemi informatici
April 2011
Abstract
This thesis presents the results of a nine months internal stage at the De- partment of Computer Science, Universita degli Studi di Torino.
During my stage, supervised by Prof. Luca Console, I experienced with electronics, Arduino, micro-electromechanical sensors (accelerometers, gy- roscopes and magnetometers), orientation sensing algorithms and 3D com- puter graphics to develop prototypes of Human Computer Interaction de- vices, with a a particular interest on Tangible User Interfaces.
Copyright
c 2011 Fabio Varesano - http://www.varesano.net/
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Un- ported License. To view a copy of this license, visit http://creativecommons.org/licenses/by- sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San
Francisco, California, 94105, USA.
Document generated on Friday 8th April, 2011.
To my family which always supported me through the University years.
I probably wouldn 't be writing this thesis without their help. ii Contents
List of Figures ix
1 Introduction 1
1.0.1 How everything got started . . . . . . . . . . . . . . . . . . . . . 2
2 Electronic Circuits in DC 5
2.1 Basic concepts of electricity . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Schematic Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Ohm 's law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.5 Kirchho 's circuit laws . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.6 Series And Parallel Circuits . . . . . . . . . . . . . . . . . . . . . . . . . 9
References: [2] Massimo Banzi. Getting Started with Arduino. O 'Reilly, 2009 ropean Conference on Smart Sensing and Context. IEEE Computer Society, 2008 low cost compass systems. In Position Location and Navigation Symposium, IEEE, 2000 ACM International Symposium on, 0:180{181, 2005. 121 [15] Christopher J computing systems, CHI '00, pages 526{531, New York, NY, USA, 2000