week 02 -...
Transcript of week 02 -...
![Page 1: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/1.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
1
Physical ComputingBridging the gap between the physical and virtual
week
02
![Page 2: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/2.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
2
How the Computer Sees Us
Shall we take a better look at ourselves to see our full range of expression?
Illustration from O’Sullivan and Igoe
![Page 3: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/3.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
3
Physical Computing
A conversation between the physical world and the virtual world of the computer.
![Page 4: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/4.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
4
Physical Computing
A conversation between the physical world and the virtual world of the computer.
TransductionThe conversion of one form of energy into another
Physical energy
Electric signals
![Page 5: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/5.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
5
Input
Ways of sensing your physical energy/expressions. Input is usually easier than output because it takes less energy to sense activity than to move things.
Input and Output
![Page 6: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/6.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
6
Output
Physical computing is not just about sensing the world, but also about changing it. But moving things are hard (you need electrical and mechanical skills).
Input and Output
![Page 7: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/7.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
7
Transducers
output transducersActuators (e.g., motors, buzzers)
input transducerssensors (e.g., switches, levers, sliders, etc.)
Arduino
Illustration adapted and modified from O’Sullivan and Igoe
![Page 8: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/8.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
8
Microcontrollers
Arduino
Illustration adapted and modified from O’Sullivan and Igoe
1) Receiving information from sensors, 2) controlling basic motors and other devices that create physical change, and 3) sending information to computers and other devices.
Gateway between the physical and the virtual
![Page 9: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/9.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
9
Transduction
output transducers
input transducers
Arduino
Adapted and modified from O’Sullivan and Igoe
Your job is to find and learn to use transducers to convert between the physical energy appropriate for your project and the electrical energy used by the computer!
![Page 10: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/10.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
10
Word of Caution: Your Idea is Important
1. Don’t get trapped in technological seduction
2. Don’t spin your wheels for so long that you give up your project. There might be an alternative way that makes things easier.
Work at a high level. Talk to us. Ask other people. Take frequent breaks.
From O’Sullivan and Igoe
![Page 11: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/11.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
11
Working with ArduinoAn open-source electronics prototyping
Create interactive objects and environments
![Page 12: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/12.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
12
What is Arduino
A tiny computer you can program, for rapid prototyping
![Page 13: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/13.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
13
Arduino as an Interface Board
Illustration adapted and modified from O’Sullivan and Igoe
Arduino
![Page 14: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/14.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
14
Arduino as an Interface Board
Illustration adapted and modified from O’Sullivan and Igoe
Arduino
![Page 15: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/15.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
15
Arduino as an Embedded Computing Device
Illustration adapted and modified from O’Sullivan and Igoe
Arduino
![Page 16: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/16.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
16
What is Arduino
Relatively cheap (compare with LEGO Mindstorm)
$250 ~$31
![Page 17: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/17.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
17
What is Arduino
It used to be a bit more complicated…
image from www.tangentsoft.net/elec/breadboard.html
![Page 18: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/18.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
18
Open source, so you can build one yourself!
![Page 19: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/19.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
19
Arduino Board Overview
![Page 20: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/20.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
20
Arduino Board Overview
• 32 kBytes of Flash program memory (your program stays in Arduino when powered off)
• 2 kByte of RAM
• 16 MHz processor speed (c.f., Apple II: 1 MHz)
![Page 21: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/21.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
21
Arduino Board Overview
• 14 digital input/output pins
• 6 analog input pins
![Page 22: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/22.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
22
Arduino Board Overview
![Page 23: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/23.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
23
Arduino Board Overview
• USB to serial chip (converts simple serial signal to USB)
![Page 24: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/24.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
24
Arduino Softwarewww.arduino.cc
![Page 25: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/25.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
25
Arduino Software
![Page 26: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/26.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
26
Arduino Sketches
![Page 27: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/27.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
27
Arduino Programming Cycle
edit
upload
run verify
![Page 28: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/28.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
28
Arduino Programming Cycle
edit
upload
run verify
![Page 29: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/29.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
29
Arduino Programming Cycle
edit
upload
run verify
![Page 30: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/30.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
30
Arduino Programming Cycle
edit
upload
run verify
1
2
![Page 31: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/31.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
31
Arduino Programming Cycle
Watch your LED blink!
edit
upload
run verify
![Page 32: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/32.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
32
Arduino Program
Program consists of 3 parts:
1. Declare variables at top
2. Initialize
setup() – run once at beginning, set pins
3. Run
loop() – run repeatedly, after setup()
![Page 33: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/33.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
33
Arduino Language
Like C but easier
Example functions
• pinMode() – set a pin as input or output
• digitalWrite() – set a digital pin high/low
• digitalRead() – read a digital pin’s state
• analogRead() – read an analog pin
• analogWrite() – write an “analog” PWM value
• delay() – wait an amount of time
![Page 34: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/34.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
34
Example (and many other examples at www.arduino.cc)
![Page 35: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/35.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
35
Example (and many other examples at www.arduino.cc)
Declare variables
![Page 36: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/36.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
36
Example (and many other examples at www.arduino.cc)
Initialize
![Page 37: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/37.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
37
Example (and many other examples at www.arduino.cc)
Run
![Page 38: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/38.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
38
Arduino and Breadboard
![Page 39: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/39.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
39
Arduino and Breadboard
![Page 40: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/40.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
40
Solderless Breadboard
bus strips
bus strips
terminal strips
![Page 41: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/41.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
41
Solderless Breadboard
terminal strips
bus strips
bus strips
![Page 42: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/42.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
42
Solderless Breadboard
![Page 43: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/43.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
43
Circuits: Avoid Shortcuts
Electricity always favors the path of least resistance to ground
Illustration from O’Sullivan and Igoe
![Page 44: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/44.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
44
Circuits: Avoid Shortcuts
Electricity always favors the path of least resistance to ground
Illustration from O’Sullivan and Igoe
![Page 45: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/45.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
45
Circuits
All the electrical energy in a circuit must be used
Illustration from O’Sullivan and Igoe
![Page 46: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/46.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
46
LED
• LED = Light-Emitting Diode
• Needs a “current limiting” resistor, or burns out
Illustration from Tod Kurt’s Spooky Projects
![Page 47: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/47.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
47
Circuits Summary
Avoid deadly shortcuts
• Flows to the lowest resistance
• All the electrical energy in a circuit must be used
When in doubt, talk to us, we can help
(Your Arduino has some fail safe, but in the worst case, you could fry your board [$29])
![Page 48: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/48.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
48
Try to be Neat
Color code:
• Red: power
• Black: ground
Be consistent
Good Bad
![Page 49: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/49.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
49
Be Careful
![Page 50: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/50.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
50
Lab Assignment This Week
• Get the course lab kit
• Download & install Arduino software (www.arduino.cc)
• Make an LED blink
• Make it blink at different rate
• Create your course web account
• Post the photo of your board and an optional comment on the course website
![Page 51: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/51.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
51
Lab Assignment: Blinking LED
Resistorred, red, brown, gold
LED
![Page 52: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/52.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
52
Your assignment looks like this
LED
Shorter leg groundPolarity matters
220 ohm resistorred, red, brown, goldPolarity does not matter
![Page 53: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/53.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
53
Next Wednesday
Don’t forget to bring your lab kit in
Do use the lab hour to catch up
Create your course account
Post your assignment on the course website
![Page 54: week 02 - courses.ischool.berkeley.educourses.ischool.berkeley.edu/i262/s11/sites/default/files/Wednesday... · 1. Don’t get trapped in technological seduction 2. Don’t spin your](https://reader033.fdocuments.net/reader033/viewer/2022042103/5e806524edc5271d1b448171/html5/thumbnails/54.jpg)
Wednesday Week 2: Physical Computing Theory and Practice of Tangible User Interfaces
54
Thanks!