SlideShare a Scribd company logo
1 of 33
Designers, please mind the gap!
Let’s get interactive with Arduino
By Fahed Al Riachi
Bill Verplank
Is the design of a beautiful, useful, and/or controversial
interactive experience, between us (humans) and objects.
It is a focus shift for designers, from form to behavior
A specific field of Interaction Design is
Physical Interaction Design
It uses electronics to prototype new materials for
designers and artists.
Getting started with Arduino, Massimo Banzi
…but there is a gap
The one that can prevent
artists and designers
from realizing their
interactivity-inclined
ideas into the physical
world
Where to start?
Know how?
Seriously..electronics & code!
Start from scratch!
What is Arduino?
“Arduino is an open-source electronics prototyping platform
based on flexible, easy-to-use hardware and software.
It's intended for artists, designers, hobbyists, and anyone
interested in creating interactive objects or environments”
It is a tiny computer that you can program
http://arduino.cc
What is Arduino?
Board IDE
Integrated Development environment
Community+ +
All is OPEN source
How it works?
Arduino can sense the environment by
receiving input from a variety of sensors and can affect its
surroundings by controlling lights, motors, and other actuators
Is the world
Hot, cold, moving, tilted,
dark, loud…?
SensorsInputs
ActuatorsOutputs
Change the
world!
Code (sketch) goes
here to tell it to
do this do that …
Some examples!
Board anatomy
The brain
(microcontroller)
14 Digital input/output
6 Analog output (~PWM)
6 Analog inputs
Send/receive
data over USB
+ Power
External power
6v to 9v
5v supply
Ground
Getting started with Arduino, Massimo Banzi
Some stuff to know!
Inputs & Outputs
Digital Vs. Analog
Can be either digital or analog
Dan Talson, iStockphoto
What is a circuit
(water analogy)
Getting started with Arduino, Massimo Banzi
A basic circuit
Ohms law
V = I * R
I = Current
in Amps
Resistor
It limits the
current
LED
It emits light
when have
current
Hey! don’t:
• Never connect +ve
directly to –ev
• Never connect a
LED directly to
power… always add a
resistor
…with Arduino
How to connect stuff together easily?
by using a breadboard, it is much easier to prototype
Power rails are
Row-connected
..the rest are
Column-connected
Let’s start tinkering!
Blink with Arduino
By using a Digital output from the Arduino, you can
programmatically turn on/off the led
Let’s do that!
… but first, some preparations
Download the Arduino IDE
Go to: Arduino.cc > Download > choose by OS
Get the Arduino driver
Connect the Arduino to your PC using USB cable
Windows: control panel > System & security > device manager > right click
Arduino > update Driver, then choose arduino.inf
Mac: your are done!
We will do this only once
Let’s Open the Arduino IDE and explore it
Select your board: Tools > Board > Arduino Uno
Select the Arduino port: Tools > Port > choose the Arduino port
Connect Arduino to your PC
Blink example (Hello world!)
1 . Build this circuit
2. Write the sketch (code)
Open Arduino IDE
Go to: File> Examples > Basic > Blink (you can later modify this code the way you want)
Click on “Upload” to move the sketch on to the board
Keyword:
Digital Output
Understanding the code
Any Arduino sketch
should always have
setup() and loop()
functions
Create a variable, call it
anything, then store a value
in it
What’s inside {} it
Executes only once
when the Arduino is reset
What’s inside {} it
Executes forever in loops…
until power is cut
This is a comment
//, or /* */
All individual instructions
should end with semicolon ;
Modifying the code
Can you modify the
sketch so the LED blinks
the SOS Morse code?
or maybe blinks the code
of your name initials?
Push button to control LEDs
LED’s party
Keyword:
Digital Input
Control the color of a pixel by waving your hand
The pixel
Keywords:
Analog Input
Hey! Don’t look directly in the LED
R
G
B
Control a servo motor to show your ‘status’
Status: What’s on your mind?
Keywords:
Analog Output
PWM
Library
Make music with light
Light Theremin
Keywords:
Tone()
Hey! Don’t forget to tune your instrument by waving your hand when LED is ON!
Create your own musical keyboard
Retro keyboard
Keywords:
Resistor ladder
Hey! Don’t forget to tune your instrument, open Serial Monitor!
Make a touch sensor of anything conductive
Touch anything
Keywords:
External
Library
For one day, let somebody else answers the tough questions…
Ask Im 3ali
Keywords:
LCD and
Random()
Control a motor to spin a color wheel
Motorized color wheel
Keywords:
Transistor
High Load
Hey! If you attach something to the motor head, be very carful so the thing
doesn’t fly away when you turn the motor on.
Create a moving image
Zoetrope
Keywords:
Bridge and
Motor control
Hey! Don’t connect +5V of Arduino to the +9v of the battery
Control your PC from Arduino
Tweak the logo
Keywords:
Serial
Processing
Build an interactive thing that mixes
at least 3 from what we’ve done
Brainstorm
Design
Build
Write sketch
Test and iterate until happy
Document
Open and Share
Shields and Accessories
What’s next?
Tell me about your next interactive
project!
Get interactive with Arduino - design experiences between humans and objects

More Related Content

What's hot

Advanced view arduino projects list use arduino for projects (3)
Advanced view arduino projects list  use arduino for projects (3)Advanced view arduino projects list  use arduino for projects (3)
Advanced view arduino projects list use arduino for projects (3)WiseNaeem
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full TutorialAkshay Sharma
 
Advanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsAdvanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsWiseNaeem
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar reportZaka Jutt
 
Arduino workshop - hello real world
Arduino workshop - hello real worldArduino workshop - hello real world
Arduino workshop - hello real worldTom Luyten
 
Advanced view arduino projects list use arduino for projects (2)
Advanced view arduino projects list   use arduino for projects (2)Advanced view arduino projects list   use arduino for projects (2)
Advanced view arduino projects list use arduino for projects (2)WiseNaeem
 
Arduino 2 Final Report (final)
Arduino 2 Final Report (final)Arduino 2 Final Report (final)
Arduino 2 Final Report (final)Mohammad Molani
 
Advanced view of projects raspberry pi list raspberry pi projects
Advanced view of projects raspberry pi list   raspberry pi projectsAdvanced view of projects raspberry pi list   raspberry pi projects
Advanced view of projects raspberry pi list raspberry pi projectsWiseNaeem
 
Advanced view of atmega microcontroller projects list 1649 at mega32 avr
Advanced view of atmega microcontroller projects list 1649  at mega32 avrAdvanced view of atmega microcontroller projects list 1649  at mega32 avr
Advanced view of atmega microcontroller projects list 1649 at mega32 avrWiseNaeem
 
Advanced view arduino projects list use arduino for projects (4)
Advanced view arduino projects list  use arduino for projects (4)Advanced view arduino projects list  use arduino for projects (4)
Advanced view arduino projects list use arduino for projects (4)WiseNaeem
 
Introduction to microbit
Introduction to microbitIntroduction to microbit
Introduction to microbitjonathan Dietz
 
Advanced view arduino projects list use arduino for projects (4)
Advanced view arduino projects list   use arduino for projects (4)Advanced view arduino projects list   use arduino for projects (4)
Advanced view arduino projects list use arduino for projects (4)WiseNaeem
 
Arduino projects list about 2342 arduino list of projects use arduino for p...
Arduino projects list   about 2342 arduino list of projects use arduino for p...Arduino projects list   about 2342 arduino list of projects use arduino for p...
Arduino projects list about 2342 arduino list of projects use arduino for p...Ashraf11111
 
Input Devices
Input DevicesInput Devices
Input Devicespraew1235
 
Advanced view arduino projects list use arduino for projects (5)
Advanced view arduino projects list   use arduino for projects (5)Advanced view arduino projects list   use arduino for projects (5)
Advanced view arduino projects list use arduino for projects (5)WiseNaeem
 
Advanced view arduino projects list use arduino for projects
Advanced view arduino projects list  use arduino for projectsAdvanced view arduino projects list  use arduino for projects
Advanced view arduino projects list use arduino for projectsWiseNaeem
 

What's hot (20)

Arduino tutorial A to Z
Arduino tutorial A to ZArduino tutorial A to Z
Arduino tutorial A to Z
 
Advanced view arduino projects list use arduino for projects (3)
Advanced view arduino projects list  use arduino for projects (3)Advanced view arduino projects list  use arduino for projects (3)
Advanced view arduino projects list use arduino for projects (3)
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full Tutorial
 
Advanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsAdvanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projects
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 
Arduino workshop - hello real world
Arduino workshop - hello real worldArduino workshop - hello real world
Arduino workshop - hello real world
 
Advanced view arduino projects list use arduino for projects (2)
Advanced view arduino projects list   use arduino for projects (2)Advanced view arduino projects list   use arduino for projects (2)
Advanced view arduino projects list use arduino for projects (2)
 
Arduino 2 Final Report (final)
Arduino 2 Final Report (final)Arduino 2 Final Report (final)
Arduino 2 Final Report (final)
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
 
Introduction Arduino
Introduction Arduino Introduction Arduino
Introduction Arduino
 
Advanced view of projects raspberry pi list raspberry pi projects
Advanced view of projects raspberry pi list   raspberry pi projectsAdvanced view of projects raspberry pi list   raspberry pi projects
Advanced view of projects raspberry pi list raspberry pi projects
 
Advanced view of atmega microcontroller projects list 1649 at mega32 avr
Advanced view of atmega microcontroller projects list 1649  at mega32 avrAdvanced view of atmega microcontroller projects list 1649  at mega32 avr
Advanced view of atmega microcontroller projects list 1649 at mega32 avr
 
Advanced view arduino projects list use arduino for projects (4)
Advanced view arduino projects list  use arduino for projects (4)Advanced view arduino projects list  use arduino for projects (4)
Advanced view arduino projects list use arduino for projects (4)
 
Introduction to microbit
Introduction to microbitIntroduction to microbit
Introduction to microbit
 
Advanced view arduino projects list use arduino for projects (4)
Advanced view arduino projects list   use arduino for projects (4)Advanced view arduino projects list   use arduino for projects (4)
Advanced view arduino projects list use arduino for projects (4)
 
Arduino projects list about 2342 arduino list of projects use arduino for p...
Arduino projects list   about 2342 arduino list of projects use arduino for p...Arduino projects list   about 2342 arduino list of projects use arduino for p...
Arduino projects list about 2342 arduino list of projects use arduino for p...
 
Input Devices
Input DevicesInput Devices
Input Devices
 
Advanced view arduino projects list use arduino for projects (5)
Advanced view arduino projects list   use arduino for projects (5)Advanced view arduino projects list   use arduino for projects (5)
Advanced view arduino projects list use arduino for projects (5)
 
Advanced view arduino projects list use arduino for projects
Advanced view arduino projects list  use arduino for projectsAdvanced view arduino projects list  use arduino for projects
Advanced view arduino projects list use arduino for projects
 
7
77
7
 

Similar to Get interactive with Arduino - design experiences between humans and objects

The IoT Academy IoT training Arduino Part 1 basics
The IoT Academy IoT training Arduino Part 1 basicsThe IoT Academy IoT training Arduino Part 1 basics
The IoT Academy IoT training Arduino Part 1 basicsThe IOT Academy
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004DO!MAKERS
 
Get your hands dirty with Arduino
Get your hands dirty with ArduinoGet your hands dirty with Arduino
Get your hands dirty with ArduinoSavio Dimatteo
 
Arduino - Learning.pdf
Arduino - Learning.pdfArduino - Learning.pdf
Arduino - Learning.pdfKhalilSedki1
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slidesmkarlin14
 
Arduino slides
Arduino slidesArduino slides
Arduino slidessdcharle
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2elketeaches
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxSAMTECH ELECTRONICS CONCEPT
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfIsmailkhan77481
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduinozvikapika
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2Qtechknow
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno boardGaurav
 

Similar to Get interactive with Arduino - design experiences between humans and objects (20)

The IoT Academy IoT training Arduino Part 1 basics
The IoT Academy IoT training Arduino Part 1 basicsThe IoT Academy IoT training Arduino Part 1 basics
The IoT Academy IoT training Arduino Part 1 basics
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
 
Get your hands dirty with Arduino
Get your hands dirty with ArduinoGet your hands dirty with Arduino
Get your hands dirty with Arduino
 
Arduino - Learning.pdf
Arduino - Learning.pdfArduino - Learning.pdf
Arduino - Learning.pdf
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptx
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Arduino
Arduino Arduino
Arduino
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
 
Arduino
ArduinoArduino
Arduino
 

Recently uploaded

vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Book
vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Bookvip Model Basti Call Girls 9999965857 Call or WhatsApp Now Book
vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Bookmanojkuma9823
 
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一ss ss
 
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝soniya singh
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Servicesnajka9823
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程1k98h0e1
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberMs Riya
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls KolkataCall Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...srsj9000
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一C SSS
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRdollysharma2066
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一ss ss
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknowmakika9823
 
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一diploma 1
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightKomal Khan
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Pooja Nehwal
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Book
vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Bookvip Model Basti Call Girls 9999965857 Call or WhatsApp Now Book
vip Model Basti Call Girls 9999965857 Call or WhatsApp Now Book
 
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
 
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝
Call Girls in Dwarka Sub City 💯Call Us 🔝8264348440🔝
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls KolkataCall Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
 
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun Tonight
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
 

Get interactive with Arduino - design experiences between humans and objects

  • 1. Designers, please mind the gap! Let’s get interactive with Arduino By Fahed Al Riachi
  • 2. Bill Verplank Is the design of a beautiful, useful, and/or controversial interactive experience, between us (humans) and objects. It is a focus shift for designers, from form to behavior A specific field of Interaction Design is Physical Interaction Design It uses electronics to prototype new materials for designers and artists. Getting started with Arduino, Massimo Banzi
  • 3. …but there is a gap The one that can prevent artists and designers from realizing their interactivity-inclined ideas into the physical world Where to start? Know how? Seriously..electronics & code! Start from scratch!
  • 4. What is Arduino? “Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments” It is a tiny computer that you can program http://arduino.cc
  • 5. What is Arduino? Board IDE Integrated Development environment Community+ + All is OPEN source
  • 6. How it works? Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators Is the world Hot, cold, moving, tilted, dark, loud…? SensorsInputs ActuatorsOutputs Change the world! Code (sketch) goes here to tell it to do this do that …
  • 8. Board anatomy The brain (microcontroller) 14 Digital input/output 6 Analog output (~PWM) 6 Analog inputs Send/receive data over USB + Power External power 6v to 9v 5v supply Ground Getting started with Arduino, Massimo Banzi
  • 10. Inputs & Outputs Digital Vs. Analog Can be either digital or analog Dan Talson, iStockphoto
  • 11. What is a circuit (water analogy) Getting started with Arduino, Massimo Banzi
  • 12. A basic circuit Ohms law V = I * R I = Current in Amps Resistor It limits the current LED It emits light when have current Hey! don’t: • Never connect +ve directly to –ev • Never connect a LED directly to power… always add a resistor
  • 14. How to connect stuff together easily? by using a breadboard, it is much easier to prototype Power rails are Row-connected ..the rest are Column-connected
  • 16. Blink with Arduino By using a Digital output from the Arduino, you can programmatically turn on/off the led Let’s do that!
  • 17. … but first, some preparations Download the Arduino IDE Go to: Arduino.cc > Download > choose by OS Get the Arduino driver Connect the Arduino to your PC using USB cable Windows: control panel > System & security > device manager > right click Arduino > update Driver, then choose arduino.inf Mac: your are done! We will do this only once Let’s Open the Arduino IDE and explore it Select your board: Tools > Board > Arduino Uno Select the Arduino port: Tools > Port > choose the Arduino port Connect Arduino to your PC
  • 18. Blink example (Hello world!) 1 . Build this circuit 2. Write the sketch (code) Open Arduino IDE Go to: File> Examples > Basic > Blink (you can later modify this code the way you want) Click on “Upload” to move the sketch on to the board Keyword: Digital Output
  • 19. Understanding the code Any Arduino sketch should always have setup() and loop() functions Create a variable, call it anything, then store a value in it What’s inside {} it Executes only once when the Arduino is reset What’s inside {} it Executes forever in loops… until power is cut This is a comment //, or /* */ All individual instructions should end with semicolon ; Modifying the code Can you modify the sketch so the LED blinks the SOS Morse code? or maybe blinks the code of your name initials?
  • 20. Push button to control LEDs LED’s party Keyword: Digital Input
  • 21. Control the color of a pixel by waving your hand The pixel Keywords: Analog Input Hey! Don’t look directly in the LED R G B
  • 22. Control a servo motor to show your ‘status’ Status: What’s on your mind? Keywords: Analog Output PWM Library
  • 23. Make music with light Light Theremin Keywords: Tone() Hey! Don’t forget to tune your instrument by waving your hand when LED is ON!
  • 24. Create your own musical keyboard Retro keyboard Keywords: Resistor ladder Hey! Don’t forget to tune your instrument, open Serial Monitor!
  • 25. Make a touch sensor of anything conductive Touch anything Keywords: External Library
  • 26. For one day, let somebody else answers the tough questions… Ask Im 3ali Keywords: LCD and Random()
  • 27. Control a motor to spin a color wheel Motorized color wheel Keywords: Transistor High Load Hey! If you attach something to the motor head, be very carful so the thing doesn’t fly away when you turn the motor on.
  • 28. Create a moving image Zoetrope Keywords: Bridge and Motor control Hey! Don’t connect +5V of Arduino to the +9v of the battery
  • 29. Control your PC from Arduino Tweak the logo Keywords: Serial Processing
  • 30. Build an interactive thing that mixes at least 3 from what we’ve done Brainstorm Design Build Write sketch Test and iterate until happy Document Open and Share
  • 32. What’s next? Tell me about your next interactive project!

Editor's Notes

  1. Blink morse code? /* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }
  2. /* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; int dotSeparatorPause = 100; int letterSeparatorPause = 1000; int wordseparatorPause = 3000; int shortDot = 300; int longDot = 600; // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(letterSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(longDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(longDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(longDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(letterSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(dotSeparatorPause); // wait for a second digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(shortDot); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(wordseparatorPause); // wait for a second }
  3. Groups of 3: brainstorm  Design  Build  Write sketch Test and iterate until happy  Document  Open and Share