Professional Documents
Culture Documents
Ldg`h]de
Index
• 01.0 introduction
• 02.0 the Arduino way
• 03.0 the Arduino workshop
• 04.0 workshop exercises
• 05.0 credits
about Arduino
Arduino is an open-source physical computing platform
based on a simple i/o board and a IDE integrated deve-
lopment environment that implements the Processing/
Wiring language.
introduction
the Arduino way
Tinkering
the “MacGyver” style
collaboration/community
An outstanding quality of the Arduino project is the
community that was created as was proved by the Hon-
orary Mentions in the Prix Ars Electronica-
International Competition for CyberArts 2006 in the
Digital Communities section (http://www.aec.at/en/prix/
communities/winners2006.asp)
software tools
There are different software programmes which
Arduino boar can interface with.
MAX
PURE DATA
QUARTZ COMPOSER
EYES WEB
VVVV
ISADORA
PROCESSING
FLASH
DIRECTOR
introduction
The first slides shown at the workshop introduce the
concept of interaction design giving possible definitions
of it.
Interaction Design is :
•the creation of meaningful relationships between
us (humans) and artifacts
• the creation of beautiful relationships between
us (humans) and artifacts
• the creation of controversial relationships between
us (humans) and artifacts
Arduino today
The Arduino system can be reasumed as follows:
reference projects
some student and commercial projects
Technical stuff:
LCD display: we redefined some of the preset
characters on the display to create the symbols and
animations.
Clock like input device: We used a digital potentiometer
to be able to go back and forth in the list of symbols.
By connecting everything to two arduino boards
correctly with a hell of a bunch of wires and having
written an elegant code, we finally made it work.
Tadaa. “
“hands on”
Now we are ready to start the practical part.
It’s structured with a serie of exercises in increasing
difficulty by which the logic of the software and the
board circuit is tought.
^chiVaa^c\i]Zhd[ilVgZ
I]ZÒghihiZe^hVWdji\Zii^c\i]Zhd[ilVgZYdlcadVYZY
dcZVX]hijYZciXdbejiZg#
Dci]ZlZWh^iZlll#VgYj^cd#XXVii]ZhZXi^dc
Æhd[ilVgZÇi]ZgZVgZi]Zi]gZZkZgh^dc[dgB68!
L^cYdlhVcYA^cjmjhZgh#>cZVX]YdlcadVYeVX`V\Z^h
VgZVYbZÒaZi]ViZmeaV^chi]ZY^[[ZgZcihiZeidYdid
\Zi^ildg`^c\egdeZgan#
6hi]Zegd\gVbbZ^h^chiVaaZYVÒghiZmZgX^hZcZZYid
WZdeZcZY/
ÒaZ$h`ZiX]Wdd`$deZc$ZmVbeaZh$Y^\^iVa>D$aZYTWa^c`
I]Zci]Zhd[ilVgZ^hdg\Vc^oZYVh[daadlh/
>ci]ZWZ\^cc^c\i]ZgZ^hVXdbbZcieVgil]ZgZ^iÉh
ZmeaV^cZYl]Vi^hi]ZZmVbeaZVWdji!l]Vi]VgYlVgZ
XdbedcZci^hgZfj^gZYid\Zi^ildg`^c\VcYi]ZXgZY^ih
d[l]dXgZViZY^i#
I]Zc[daadli]Zi]gZZbV^ceVgih/
Vaai]ZkVg^VWaZh^ckdakZYVgZYZXaVgZVhÆ^ciÇ
kd^YhZije
hZije^hi]ZegZeVgVi^dc/i]ZhZid[i]ZY^[[ZgZci
kVg^VWaZ[ZVijgZh#>ci]ZhZijehZXi^dc!ValVnhVii]Zide
d[ndjgegd\gVbbZ!ndjldjaYhZie^cBdYZ!^c^i^Va^oZ
hZg^VaXdbbjc^XVi^dc!ZiX#
kd^Yadde
adde^hZmZXji^dc/i]ZXdbbVcYh[dgi]Zhd[ilVgZid
ZmZXjiZ^caddea^`ZgZVY^c\^cejih!ig^\\Zg^c\djiejih!
ZiX#
KVg^VWaZ9ZXaVgVi^dc
;jcXi^dc9ZXaVgVi^dc
Arduino board
subtitle
THE CODE:
exercises
(some examples)
/* Blinking LED
* turns on and off a light emitting diode(LED)
* connected to a digital • the blinking LED
* pin, in intervals of 2 seconds.
* Ideally we use pin 13 on the Arduino
* board because it has a resistor attached to it, The first exercises is about making an LED blink. It’s a
* needing only an LED very basic exercise but necessary to understand the or-
* Created 1 June 2005
der in which to proceed and get to know different parts
* copyleft 2005 DojoDave <http://www.0j0.org>
of the board.
* http://arduino.berlios.de
* based on an orginal by H.
* Barragan for the Wiring i/o board
A first process to get confident with is the following:
*/ -compile (to check that the programme is written right)
-reset the board(with the button on the board)
int ledPin = 13; // LED connected to digital pin 13 -export the programme to the board
• What is electricity
The three most basic units in electricity are voltage (V),
current (I) and resistance (r). Voltage is measured in
volts, current is measured in amps and resistance is
measured in ohms.
A neat analogy to help understand these terms is a
system of plumbing pipes. The voltage is equivalent to
the water pressure, the current is equivalent to the flow
rate, and the resistance is like the pipe size.
There is a basic equation in electrical engineering that
states how the three terms relate. It says that the cur-
rent is equal to the voltage divided by the resistance.
I = V/r
• The Breadboard
void loop() {
val = analogRead(potPin); // read the value
from the sensor
Serial.println(val); // print the value
to the serial port
digitalWrite(ledPin, HIGH); // turn the ledPin
on
delay(val); // stop the program
for some time
digitalWrite(ledPin, LOW); // turn the ledPin
off
delay(val); // stop the program
for some time
}
*/ }
• Talking to software
final prototype
After everybody managed to get all the different exer-
cises working people divide into group of 2-3 people and
develop together an interactive prototype.
partner
David Cuartielles
id-lab | via Zambeletti, 4 - 20129 - Milano - tel. +39 02 29 53 78 84 - fax +39 02 20 24 02 20 | via Goito, 14 - 10138 - Torino - tel. +39 011 19 50 75 39
http://www.interactiondesign-lab.com | © all right reserved