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

VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRCALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRdollysharma2066
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsDeira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsEscorts Call Girls
 
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gapedkojalkojal131
 
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...Call Girls in Nagpur High Profile
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...MOHANI PANDEY
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Call Girls in Nagpur High Profile
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointGetawu
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRCALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsDeira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
 
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
 
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
 
CHEAP Call Girls in Hauz Quazi (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Hauz Quazi  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Hauz Quazi  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Hauz Quazi (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
@Delhi ! CAll GIRLS IN Defence Colony 🦋 9999965857 🤩 Dwarka Call Girls
@Delhi ! CAll GIRLS IN Defence Colony 🦋 9999965857 🤩 Dwarka Call Girls@Delhi ! CAll GIRLS IN Defence Colony 🦋 9999965857 🤩 Dwarka Call Girls
@Delhi ! CAll GIRLS IN Defence Colony 🦋 9999965857 🤩 Dwarka Call Girls
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
 
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Karve Nagar (7001035870) Pune Escorts Nearby with Comple...
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
 

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