SERIAL COMMUNICATION
CIID 2013
Exploring Biomimetic Interfaces
Gabriella Levine + Genevieve Hoffman
Wednesday, July 17, 13
ARDUINO
Wednesday, July 17, 13
Components:http://itp.nyu.edu/physcomp/Labs/Components
Wednesday, July 17, 13
Arduino
USB Cable
Breadboard
Potentiometer
Pushbutton
LED's
servo motor
DC motor
Transistor
diode
resistors
PARTS LIST
Wednesday, July 17, 13
ELECTRICITY
The flow of electrons through a conductive material
ANALOGY: Water flowing through a hose
Current (amps) = how much water
Voltage (volts) = water pressure
Resistance (ohms) = hose size
ELECTRICITY
Wednesday, July 17, 13
ELECTRICITY
The flow of electrons through a conductive material
ANALOGY: Water flowing through a hose
Current (amps) = how many electrons are flowing
Voltage (volts) = electrical energy (ie pressure)
Resistance (ohms) = a material's ability to RESIST current
ELECTRICITY
Wednesday, July 17, 13
V=I*R
voltage = current * resistance
ELECTRICITY
Wednesday, July 17, 13
Wednesday, July 17, 13
ARDUINO
Wednesday, July 17, 13
ARDUINO : sketch input
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
Wednesday, July 17, 13
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
INPUT HERE
Wednesday, July 17, 13
Conditional statements
Wednesday, July 17, 13
Conditional statements
Wednesday, July 17, 13
Conditional statementsConditional statements
Wednesday, July 17, 13
Conditional statements: for loops
Wednesday, July 17, 13
Conditional statements: while
Wednesday, July 17, 13
Functions : Map()
Wednesday, July 17, 13
Functions: smooth()
Wednesday, July 17, 13
Look at the examples.
Wednesday, July 17, 13
Instructables.com
Sparkfun.com
learn.adafruit.com
hackaday
arduino.cc/playground
http://itp.nyu.edu/physcomp/Tutorials/Tutorials
RESOURCES
Wednesday, July 17, 13
Libraries
http://arduino.cc/en/Guide/Libraries
Wednesday, July 17, 13
External Power
Wednesday, July 17, 13
External Power
http://playground.arduino.cc/Learning/ArduinoSpecs
http://arduino.cc/en/Reference/Board?from=Guide.Board
Wednesday, July 17, 13
Multimeters
http://learn.adafruit.com/multimeters/
Wednesday, July 17, 13
Sodlering
https://www.sparkfun.com/tutorials/106
Wednesday, July 17, 13
Instructables.com
Sparkfun.com
learn.adafruit.com
hackaday
arduino.cc/playground
http://itp.nyu.edu/physcomp/Tutorials/Tutorials
RESOURCES
Wednesday, July 17, 13
Wednesday, July 17, 13
Debugging
Wednesday, July 17, 13
CODE SAMPLES
https://github.com/introArduino_ciid
Wednesday, July 17, 13
SERIAL COMMUNICATION
CIID 2013
Exploring Biomimetic Interfaces
Gabriella Levine + Genevieve Hoffman
Wednesday, July 17, 13
What is Serial Communication
Wednesday, July 17, 13
Potentiometer
Wednesday, July 17, 13
Potentiometer
Wednesday, July 17, 13
Accelerometer
Wednesday, July 17, 13
Accelerometer
Wednesday, July 17, 13
Processing : processing.org/download
Wednesday, July 17, 13
You try it.
http://itp.nyu.edu/physcomp/Labs/SerialOut
Wednesday, July 17, 13

Data serial