physical computing interacting with the physical world
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
introductions class website: http://www.datumdezign.com/teaching/ category/introduction-to-physical-computing/ email me at: michell.teaches@gmail.com
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
introductions this class is about making physical things interactive. we will discuss what interaction is and what it isn’t. we will learn the basics of programming your board and learn about the electronics that go into creating interactive things and environments
week 01: introductions, what is pcomp?, what is in our kit? creating our first sketches week 02: what is electricity? volts? current? why is this important? digital & analog AND serial communication week 03: prototyping tools, review of soldering 101, motors, tbd week 04: workshop
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
introductions name? where are you from? what do you do? why take this class? what do you want to make in this class? do you know processing? arduino? have you dabbled in it?
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing what is physical computing? is a learning by doing approach that explores the way we physically communicate with and through computers as means of expression the human body is a given, and to this end we design with this as a premise to make this happen we need to learn how computers convert changes in energy into changing electronic signals that it can read and interpret when we design with the body in mind we can think of the ways in which we express ourselves physically and relate our designs to these physical expressions
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing how do we see computers?
how does a computer see us?
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the concepts physical computing is about creating a conversation between the physical world and the virtual world of the computer transduction is what enables this conversation break down conversion of energy into inputs and outputs these can be digital or analog
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing what is the interaction? do events happen serially or in parallel? But what does interaction mean? when designing physical interactions we can break down our projects into 3 stages: we listen, we think, and we speak in other words there is an input, processing, and an output
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing input: you sense the world, tends to require less energy. forms of inputs: you press a key on your keyboard, you click with your mouse, you press a button, turn a switch, etc. output: you change the world, tends to require electrical and mechanical skills. forms of outputs: sound, light, mechanical movement, etc. processing: read inputs, makes decisions based on inputs, and actuate an action as an output
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing transducers are like the eyes, ears, hands, legs, and mouth of physical computing what are the possible outcomes ? digital and analog if you have two possible states, you are designing for something that is digital. if your asking “whether or not”, “either” then you are describing a digital input or output if you have variable states, you are designing for something that is analog. if your asking questions like “how much” then you are describing an analog input or output
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the practice how do we communicate? serial events are events that happen one at a time parallel events are events that happen simultaneously
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing what is the interaction? describe the whole environment of the project from the point of view of a person experiencing it describe what happens, not how it happens
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing second describe whether the input is digital of analog and begin searching for the right transducers you should also determine whether the events or experience is serial or parallel
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the tools circuits: are what connects transducers you use to sense the world and the transducers you use to change the world and the computers you use to interpret what is going on. circuits are often described in a diagram called a schematic. a schematic shows the electrical components and how they are connected to each other computers microcontrollers: are small simple computers. they receive information from sensors(transducers), they control devices that change the environment, and they send information to computers and other devices. they act a gateway between the physical world and the computing world. programming the set of instructions we write to listen, think and speak
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the tools
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing what is arduino?
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing arduino the are 14 digital IO pins(pins 0-13) 6 analogue in pins(pins 0-5) 6 analogue out pins(pins 3, 5, 6, 9, 10, 11) you can power arduino board with usb or through an ac adaptor
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing arduino development environment environment consist of a text editor for writing code, a message area, text console, a toolbar with buttons for common functions, and a series of menus the development environment connects to the arduino hardware to upload programs and communicate with them software written using arduino are called sketches the message area gives you feedback while saving and exporting and displaying errors the console displays text output toolbar buttons allow you to verify, create, open, save, upload and open the serial monitor @ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing arduino development environment sketch: a series of instructions that are uploaded to and run on an arduino board comments: anything between /* and */ is ignored by arduino, its a comment that you can include in your code to help you remember what you did, or for someone else so that they can understand your code; you can also write a single line comment with two forward slashes //
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing arduino development environment variable: a place for storing a piece of data is referred to as a variable, it has a name, type, and a value functions: aka procedure or subroutines is a piece of code that can be used from elsewhere in a sketch function name
void setup(){ body of the function/what the function does; } @ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing arduino development environment void setup: is called when a sketch starts. it only runs once. you can initialize variables here, pin modes, start using libraries, etc. void loop: loops consecutive list of instructions you need both void setup and void loop in every sketch even if you don’t need them for anything
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing unpacking the kit
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing breadboard: a tool that holds your components and connects these together. it has holes where you can connect hook up/jumper wires to other components
http://itp.nyu.edu/~bms415/blog/tag/breadboard/
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the resistor: resist the flow of electrical current. the colored bands indicate the resistors value. resistors are not polarized.
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the potentiometer: is a variable resistor where a moveable contact called the wiper moves across the resistor, producing a variable resistance between the center terminal and either of the two sides
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the photocell: is a variable resistor whose resistance varies with changes in light hitting them the pushbutton: is one of the simplest sensors. it is composed of two metals kept apart by a spring. when you press down on it you connect both pieces of metal. a switch is either on or off
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the led light emitting diode are semiconducting light sources. as their name suggest they emit light when given the right voltage. all diodes are polarized. this means that they only operate when oriented in the circuit correctly. typically there are two pin leads, the one labeled with a k stands for cathode and is the shorter lead. it is also the negative lead. the one labeled with an a is the positive lead/ anode lead and is longer in length. connect the anode lead to voltage in your circuit and your cathode lead to ground
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.
physical computing the led
@ 2013 Michell J. Cardona, All rights reserved. For educational purposes only. No authorized reproduction without written permission.