|
Intro to Physical Computing Syllabus Research & Learning Other Class pages
ITP Help Pages |
Introduction to Physical Computing - Fall 2009Fall09.Rory HistoryHide minor edits - Show changes to markup January 05, 2011, at 05:13 PM
by -
Changed lines 8-9 from:
Weekly Slides to:
Weekly Slides December 19, 2009, at 02:38 PM
by -
Changed line 31 from:
Joshua Kleiner\\ to:
Joshua Kleiner\\ December 05, 2009, at 12:59 AM
by -
Added line 453:
December 04, 2009, at 08:00 PM
by -
Changed lines 102-135 from:
to:
November 30, 2009, at 10:56 PM
by -
Changed lines 45-46 from:
Sooyun Yun to:
Sooyun Yun November 28, 2009, at 10:50 PM
by -
Changed lines 417-421 from:
to:
November 28, 2009, at 10:49 PM
by -
Changed lines 413-417 from:
@] to:
@] Week Twelve
November 28, 2009, at 10:45 PM
by -
Deleted line 70:
Changed lines 74-100 from:
to:
November 28, 2009, at 10:43 PM
by -
Added lines 72-75:
November 25, 2009, at 04:03 PM
by -
Changed lines 71-75 from:
to:
November 25, 2009, at 04:02 PM
by -
Changed lines 388-390 from:
@] Week Eleven to:
@] November 17, 2009, at 07:10 PM
by -
Changed lines 388-390 from:
@] to:
@] Week Eleven November 12, 2009, at 09:19 PM
by -
Changed lines 375-376 from:
to:
November 12, 2009, at 09:19 PM
by -
Changed lines 375-376 from:
to:
November 10, 2009, at 10:40 PM
by -
Deleted line 378:
Deleted line 386:
November 10, 2009, at 10:40 PM
by -
Changed lines 374-389 from:
to:
Configuring an Xbee: The Arduino Method
void setup()
{
}
void loop()
{
delay(1);
}
November 10, 2009, at 10:32 PM
by -
Changed lines 370-374 from:
to:
November 10, 2009, at 10:29 PM
by -
Changed line 365 from:
to:
Added line 369:
November 10, 2009, at 10:28 PM
by -
Changed lines 359-369 from:
to:
Week Ten
November 06, 2009, at 10:32 AM
by -
Changed line 359 from:
to:
November 06, 2009, at 10:31 AM
by -
Changed line 359 from:
to:
November 06, 2009, at 10:30 AM
by -
Added lines 356-359:
Week Nine
November 05, 2009, at 05:44 PM
by -
Changed line 71 from:
to:
November 05, 2009, at 05:43 PM
by -
Changed line 71 from:
to:
November 04, 2009, at 09:15 PM
by -
Added lines 76-77:
November 04, 2009, at 09:15 PM
by -
Added lines 68-75:
Final Project
Deleted lines 353-363:
Week Eight Week Nine Final Project
November 04, 2009, at 09:14 PM
by -
Changed lines 348-356 from:
Week Nine to:
Week Nine Final Project
November 04, 2009, at 06:04 PM
by -
Changed line 240 from:
Tone Generator
to:
Tone Generator
Changed lines 346-348 from:
Week Eight to:
Week Eight Week Nine October 29, 2009, at 06:13 PM
by -
Changed lines 344-346 from:
to:
Week Eight October 24, 2009, at 11:09 PM
by -
Changed lines 342-344 from:
Week Seven to:
Week Seven
October 22, 2009, at 11:05 AM
by -
Changed lines 340-342 from:
to:
Week Seven October 17, 2009, at 02:59 PM
by -
Changed lines 339-340 from:
to:
October 17, 2009, at 02:59 PM
by -
Changed lines 338-339 from:
to:
October 14, 2009, at 11:15 PM
by -
Added lines 335-338:
Week Six
October 09, 2009, at 10:40 PM
by -
Changed line 323 from:
to:
Changed line 327 from:
to:
Changed line 331 from:
to:
Deleted lines 334-337:
October 09, 2009, at 10:32 PM
by -
Changed lines 334-338 from:
to:
October 09, 2009, at 02:00 PM
by -
Changed line 314 from:
to:
October 09, 2009, at 01:59 PM
by -
Changed lines 308-334 from:
to:
October 08, 2009, at 05:54 PM
by -
Changed line 61 from:
Sarah Jenny Bleviss\\ to:
Sarah Jenny\\ Changed line 65 from:
Sofy Yuditskaya\\ to:
Sofy Yuditskaya\\ October 08, 2009, at 10:30 AM
by -
Changed lines 274-275 from:
to:
October 08, 2009, at 10:29 AM
by -
Added lines 273-274:
October 08, 2009, at 10:16 AM
by -
Changed lines 280-305 from:
to:
October 06, 2009, at 09:16 PM
by -
Changed lines 277-280 from:
to:
October 06, 2009, at 09:05 PM
by -
Added lines 273-277:
October 06, 2009, at 08:40 PM
by -
Changed lines 271-272 from:
Week Four to:
Week Five October 06, 2009, at 08:40 PM
by -
Added line 222:
Changed lines 269-272 from:
@] to:
@] Week Four October 02, 2009, at 02:37 AM
by -
Added lines 8-9:
Weekly Slides October 02, 2009, at 02:34 AM
by -
Changed line 260 from:
digitalWrite(speakerPin,LOW); // turn the speaker pin ff to:
digitalWrite(speakerPin,LOW); // turn the speaker pin off October 02, 2009, at 02:33 AM
by -
Changed lines 235-266 from:
to:
Tone Generator
// The following example code will read in an analog reading from a potentiometer
// and use the reading to control the timing in which a small 8-ohm speaker is pulsed
int potPin = 0; // the potentiometer is connected to analog pin 0
int speakerPin = 2; // the speaker is connected to digital pin 2
int analogValue = 0;
void setup()
{
pinMode(speakerPin,OUTPUT); // define the speaker pin as an output, obviously
}
void loop()
{
analogValue = analogRead(potPin); // read an analog value fro the potentiometer
analogValue = map(analogValue, 0, 1023, 1912, 3830); // map the analog input range 0 - 1023 to the range that defines the frequency timing for an octave of notes
digitalWrite(speakerPin,HIGH); // turn the speaker pin on
delayMicroseconds(analogValue); // delay for a certain amount of microseconds
digitalWrite(speakerPin,LOW); // turn the speaker pin ff
delayMicroseconds(analogValue); // delay for the same amount of microseconds
// funny enough, turning the speaker pin on and off very quickly at a certain rate will cause the speaker to generate a tone
}
October 02, 2009, at 02:27 AM
by -
Added line 224:
October 02, 2009, at 02:26 AM
by -
Added line 223:
October 02, 2009, at 02:25 AM
by -
Added lines 224-225:
September 30, 2009, at 08:06 PM
by -
Changed line 39 from:
Scott Wayne Indiana\\ to:
Scott Wayne Indiana\\ September 30, 2009, at 08:04 PM
by -
Changed line 41 from:
Yimeng Bai\\ to:
Yimeng Bai\\ September 29, 2009, at 01:25 PM
by -
Added line 220:
September 29, 2009, at 01:24 PM
by -
Changed lines 228-230 from:
to:
September 29, 2009, at 01:23 PM
by -
Changed lines 217-228 from:
to:
Week Four
September 26, 2009, at 10:31 AM
by -
Changed lines 216-217 from:
to:
September 26, 2009, at 10:28 AM
by -
Changed lines 43-45 from:
Sooyun Yun to:
Sooyun Yun Changed lines 64-65 from:
to:
Chris Anthony September 24, 2009, at 04:17 PM
by -
Changed lines 64-66 from:
Sofy Yuditskaya to:
Sofy Yuditskaya September 23, 2009, at 10:45 PM
by -
Added line 215:
September 23, 2009, at 10:44 PM
by -
Changed lines 214-216 from:
to:
September 23, 2009, at 06:03 PM
by -
Deleted line 31:
Laewoo Kang\\ Added line 55:
Laewoo Kang\\ September 23, 2009, at 05:58 PM
by -
Changed lines 210-214 from:
@] to:
@] Week Three
September 23, 2009, at 02:47 PM
by -
Added line 57:
MinWoo Bae\\ September 18, 2009, at 04:19 PM
by -
Changed line 62 from:
Marie Genevieve Cyr (*) to:
Marie Genevieve Cyr (*)\\ September 18, 2009, at 04:19 PM
by -
Deleted line 40:
Sofy Yuditskaya\\ Changed lines 63-65 from:
to:
Sofy Yuditskaya September 18, 2009, at 11:54 AM
by -
Changed line 167 from:
Serial.begin(9600); // configues serial communication at 9600 bps (bits per second) to:
Serial.begin(9600); // configures serial communication at 9600 bps (bits per second) Changed lines 172-173 from:
analogValue = analogRead(potPin); // reads in the analog reads and saves it to a variable Serial.println(analogValue); // sends the analog value from the Arduino to your computer's serial monitor to:
analogValue = analogRead(potPin); // reads in the analog voltage and saves it to a variable Serial.println(analogValue); // prints the analog value from the Arduino to your computer's serial monitor Added lines 176-207:
@] LED Light Dimmer
[@
// The following example code will read in the analog voltage from // a potentiometer and send it out to an LED on an analog out pin. // The effect is that the LED will change brightness as your turn // the knob of the potentiometer. int potPin = 0; // the potentiometer is connected on analog pin 0 int ledPin = 3; // the LED is connected on digital PWM pin 3 int potValue = 0; // a variable to store the analog value of the pot void setup() { Serial.begin(9600); // configures serial communication at 9600 bps (bits per second) pinMode(ledPin, OUTPUT); // set the LED pin as an output } void loop() { potValue = analogRead(potPin); // reads in the analog voltage and saves it to a variable
Serial.println(potValue); // prints the analog value from the Arduino to your computer's serial monitor
analogWrite(ledPin, potValue / 4); // sends out an analog voltage related to the analog input voltage from the pot
// The analog input range is 0 - 1023 and the analog output range is 0 - 255 so you must divide by 4 for scaling
delay(10); // pause 10 milliseconds, this will keep your Arduino from slamming your computer with messages
} September 18, 2009, at 11:42 AM
by -
Deleted line 57:
Monica Krishnan\\ September 18, 2009, at 11:41 AM
by -
Deleted lines 57-58:
Michael Knuepfel September 17, 2009, at 08:56 PM
by -
Changed line 62 from:
Sandeep Ravindranath\\ to:
Sandeep Ravindranath\\ September 17, 2009, at 08:55 PM
by -
Changed line 62 from:
Sandeep Ravindranath\\ to:
Sandeep Ravindranath\\ September 17, 2009, at 05:52 PM
by -
Changed line 55 from:
\\ to:
Jasmine Youssef\\ September 17, 2009, at 05:52 PM
by -
Changed line 55 from:
Jasmine Youssef\\ to:
\\ September 17, 2009, at 05:09 PM
by -
Changed line 57 from:
[[http://itp.nyu.edu/~mt1597/arbitract/pcomp|Mark Triant\\ to:
Mark Triant\\ September 17, 2009, at 05:08 PM
by -
Changed line 57 from:
Mark Triant\\ to:
[[http://itp.nyu.edu/~mt1597/arbitract/pcomp|Mark Triant\\ September 17, 2009, at 02:27 PM
by -
Changed line 51 from:
Aiwen Wang-Huddleston\\ to:
Aiwen Wang-Huddleston\\ September 17, 2009, at 11:47 AM
by -
Changed lines 157-158 from:
to:
September 17, 2009, at 10:53 AM
by -
Changed lines 152-153 from:
to:
September 17, 2009, at 10:43 AM
by -
Changed lines 150-151 from:
to:
September 17, 2009, at 10:37 AM
by -
Changed lines 149-151 from:
to:
September 17, 2009, at 10:12 AM
by -
Changed lines 150-151 from:
Print the analog readings from a potentiometer
to:
Print the analog readings from a potentiometer
September 17, 2009, at 10:12 AM
by -
Changed lines 148-170 from:
to:
Print the analog readings from a potentiometer
// The following example code will read in the analog voltage from
// a potentiometer and print the values (0 - 1023) to your serial monitor
int potPin = 0; // the potentiometer is connected on analog pin 0
int analogValue = 0; // a variable to store the analog values
void setup()
{
Serial.begin(9600); // configues serial communication at 9600 bps (bits per second)
}
void loop()
{
analogValue = analogRead(potPin); // reads in the analog reads and saves it to a variable
Serial.println(analogValue); // sends the analog value from the Arduino to your computer's serial monitor
delay(10); // pause 10 milliseconds, this will keep your Arduino from slamming your computer with messages
}
September 17, 2009, at 10:00 AM
by -
Changed lines 147-148 from:
to:
September 17, 2009, at 09:58 AM
by -
Changed lines 146-147 from:
to:
September 17, 2009, at 09:58 AM
by -
Changed lines 144-146 from:
to:
September 17, 2009, at 09:57 AM
by -
Changed lines 142-144 from:
Week Two to:
Week Two
September 17, 2009, at 09:44 AM
by -
Changed line 65 from:
Yang Liu\\ to:
Yang Liu\\ September 16, 2009, at 06:08 PM
by -
Changed lines 25-26 from:
Wednesday Class\\ to:
Wednesday Class September 16, 2009, at 06:08 PM
by -
Changed line 49 from:
Adebunmi Adeleke\\ to:
Adebunmi Adeleke\\ September 16, 2009, at 04:11 PM
by -
Changed line 38 from:
http://www.itp.nyu.edu/~ql279/Qian Liu\\ to:
Qian Liu\\ September 16, 2009, at 04:10 PM
by -
Changed line 38 from:
[http://www.itp.nyu.edu/~ql279/Qian Liu]]\\ to:
http://www.itp.nyu.edu/~ql279/Qian Liu\\ September 16, 2009, at 04:10 PM
by -
Changed line 38 from:
Qian Liu\\ to:
[http://www.itp.nyu.edu/~ql279/Qian Liu]]\\ September 16, 2009, at 03:32 PM
by -
Changed line 25 from:
Wednesday Class to:
Wednesday Class\\ September 16, 2009, at 03:32 PM
by -
Changed lines 26-27 from:
Garrad Bradley\\ to:
Garrad Bradley\\ September 16, 2009, at 02:26 PM
by -
Changed line 44 from:
Yoon Ju Cho\\ to:
Yoon Ju Cho\\ September 16, 2009, at 10:47 AM
by -
Changed line 45 from:
Sooyun Yun\\ to:
Sooyun Yun\\ September 16, 2009, at 10:10 AM
by -
Deleted line 42:
Yimeng Bai\\ September 16, 2009, at 10:10 AM
by -
Changed line 40 from:
scott wayne indiana\\ to:
Scott Wayne Indiana\\ Changed line 44 from:
http://web.me.com/caincharror/YBs_Category/HOME.html\\ to:
Yimeng Bai\\ Added line 46:
Sooyun Yun\\ September 16, 2009, at 01:18 AM
by - add blog September 16, 2009, at 01:17 AM
by -
Added line 44:
http://web.me.com/caincharror/YBs_Category/HOME.html\\ September 15, 2009, at 11:02 PM
by -
Changed line 55 from:
Kody Trauger\\ to:
Kody Trauger\\ September 15, 2009, at 09:50 PM
by -
Changed line 34 from:
Marko Manriquez\\ to:
Marko Manriquez\\ September 15, 2009, at 09:40 PM
by -
Changed line 51 from:
Chika Iijima\\ to:
Chika Iijima\\ September 15, 2009, at 09:40 PM
by -
Changed lines 42-43 from:
Sooyun Yun to:
Nico Hsieh\\ September 15, 2009, at 11:19 AM
by -
Changed line 40 from:
Scott Wayne Indiana\\ to:
scott wayne indiana\\ September 15, 2009, at 09:53 AM
by -
Changed line 35 from:
\\ to:
David Miller\\ September 15, 2009, at 09:52 AM
by -
Changed lines 45-46 from:
Yoon Ju Cho to:
Yoon Ju Cho September 15, 2009, at 09:47 AM
by -
Changed line 53 from:
Dawn Hayes\\ to:
Dawn Hayes\\ September 15, 2009, at 09:47 AM
by -
Changed line 35 from:
David Miller\\ to:
\\ September 15, 2009, at 12:09 AM
by -
Changed line 33 from:
Lucas Werthein\\ to:
Lucas Werthein\\ September 14, 2009, at 11:25 PM
by -
Changed line 52 from:
Christopher Langer\\ to:
Christopher Langer\\ September 14, 2009, at 10:22 PM
by -
Changed line 32 from:
Laewoo Kang\\ to:
Laewoo Kang\\ September 14, 2009, at 09:22 PM
by -
Changed line 29 from:
Joshua Kleiner\\ to:
Joshua Kleiner\\ September 14, 2009, at 02:45 PM
by -
Changed line 38 from:
Poram Lee\\ to:
Poram Lee\\ September 14, 2009, at 02:23 PM
by -
Changed line 62 from:
Sarah Jenny Bleviss\\ to:
Sarah Jenny Bleviss\\ September 14, 2009, at 02:22 PM
by -
Changed line 62 from:
Sarah Bleviss\\ to:
Sarah Jenny Bleviss\\ September 14, 2009, at 12:25 PM
by - September 14, 2009, at 12:06 AM
by -
Changed line 40 from:
Scott Indiana\\ to:
Scott Wayne Indiana\\ September 14, 2009, at 12:02 AM
by -
Changed line 40 from:
Scott Buchanan\\ to:
Scott Indiana\\ September 13, 2009, at 11:25 PM
by -
Changed line 41 from:
Sofy Yuditskaya\\ to:
Sofy Yuditskaya\\ September 13, 2009, at 05:17 PM
by -
Changed line 30 from:
Keng-Fu Chu\\ to:
Keng-Fu Chu\\ September 13, 2009, at 05:17 PM
by -
Changed line 30 from:
Keng-Fu Chu\\ to:
Keng-Fu Chu\\ September 13, 2009, at 05:03 PM
by -
Changed lines 64-65 from:
Yang Liu to:
Yang Liu September 12, 2009, at 02:54 PM
by -
Changed line 30 from:
Keng-Fu Chu\\ to:
Keng-Fu Chu\\ September 12, 2009, at 12:51 PM
by -
Changed line 28 from:
Jason Aston\\ to:
Jason W. Aston\\ September 11, 2009, at 08:55 PM
by -
Deleted line 69:
Changed lines 138-140 from:
}@] to:
}@] Week Two September 11, 2009, at 08:54 PM
by -
Changed lines 45-46 from:
Yoon Ju Cho to:
Yoon Ju Cho Changed lines 64-66 from:
Yang Liu to:
Yang Liu September 11, 2009, at 08:53 PM
by -
Changed lines 27-46 from:
Garrad Bradley to:
Garrad Bradley Changed lines 49-59 from:
Adebunmi Adeleke to:
Adebunmi Adeleke Changed lines 61-62 from:
Sandeep Ravindranath to:
Sandeep Ravindranath Changed lines 64-66 from:
Yang Liu to:
Yang Liu September 11, 2009, at 08:49 PM
by -
Changed line 31 from:
Khairani Barokka\\ to:
Khairani Barokka (http://itp.nyu.edu/~kb1270/oblog/)\\ Changed lines 36-37 from:
Michael Lewis to:
Michael Lewis (http://mdlewis-itp.info) September 11, 2009, at 08:44 PM
by -
Changed line 63 from:
Seth Garrison\\ to:
Seth Garrison\\ September 11, 2009, at 09:31 AM
by -
Added line 35:
David Miller\\ Deleted line 52:
David Miller\\ September 11, 2009, at 09:30 AM
by -
Changed line 60 from:
Neil Hickey\\ to:
Neil Hickey\\ September 11, 2009, at 12:32 AM
by -
Changed line 31 from:
Khairani Barokka\\ to:
Khairani Barokka\\ September 10, 2009, at 12:08 AM
by -
Changed lines 81-84 from:
to:
September 10, 2009, at 12:05 AM
by -
Added lines 82-83:
Blinking LED
Changed lines 104-137 from:
@] to:
@] LED switch control
// The following example code will turn an LED on and off based on
// the activity of a button switch
int ledPin = 2; // an LED will be attached on pin 2
int switchPin = 3; // a switch will be attached on pin 3
int switchState = 0; // a temporary variable for storing the switch state
void setup()
{
pinMode(ledPin,OUTPUT); // set up the LED pin as an output
pinMode(switchPin,INPUT); // set up the switch pin as an input
}
void loop()
{
// read in the current state of the switch
switchState = digitalRead(switchPin);
if(switchState == HIGH) // if the switch is pressed...
{
digitalWrite(ledPin,HIGH); // turn the LED on
}
else // if the switch is NOT pressed...
{
digitalWrite(ledPin,LOW); // turn the LED off
}
// rinse and repeat
}
September 10, 2009, at 12:00 AM
by -
Changed lines 80-102 from:
to:
// The following example code will blink an LED attached on pin 2
int ledPin = 2; // the led is connected on pin 2
void setup()
{
// set up the ledPin as an output
pinMode(ledPin,OUTPUT);
}
void loop()
{
digitalWrite(ledPin,HIGH); // turn the LED on
delay(1000); // pause for 1 second (1000 ms)
digitalWrite(ledPin,LOW); // turn the LED off
delay(1000); // pause for 1 second (1000 ms)
// rinse and repeat
}
September 09, 2009, at 11:55 PM
by - September 09, 2009, at 11:51 PM
by -
Changed line 36 from:
Michael Doherty\\ to:
Michael Doherty\\ September 09, 2009, at 11:50 PM
by -
Changed line 35 from:
Michael Lewis\\ to:
Michael Lewis\\ September 09, 2009, at 03:12 PM
by -
Changed line 75 from:
to:
September 09, 2009, at 03:12 PM
by -
Added line 75:
Changed lines 80-81 from:
to:
September 09, 2009, at 03:12 PM
by -
Changed lines 79-80 from:
to:
September 08, 2009, at 05:45 PM
by -
Changed lines 48-49 from:
... to:
Adebunmi Adeleke September 08, 2009, at 05:41 PM
by -
Added lines 27-47:
Garrad Bradley Thursday Class Deleted lines 49-52:
Thursday Class ... September 08, 2009, at 05:19 PM
by -
Added lines 37-40:
Changed lines 45-49 from:
to:
September 08, 2009, at 05:17 PM
by -
Changed lines 41-45 from:
to:
September 03, 2009, at 05:10 PM
by -
Changed lines 37-41 from:
... to:
September 03, 2009, at 05:07 PM
by -
Deleted lines 7-8:
Physical Computing Resident: Christian Cerrito September 03, 2009, at 01:56 PM
by -
Added lines 18-24:
Helpful Books
September 03, 2009, at 01:53 PM
by -
Changed lines 18-21 from:
Class Journals Wednesday to:
Student Blogs Wednesday Class Changed lines 24-25 from:
Thursday to:
Thursday Class September 01, 2009, at 12:38 PM
by -
Changed lines 13-14 from:
Lab Assignments to:
Lab Assignments September 01, 2009, at 12:33 PM
by -
Changed lines 27-29 from:
Week One to:
Week One ... September 01, 2009, at 12:32 PM
by -
Added lines 19-20:
... Changed lines 23-27 from:
Weekly Notes to:
... Weekly Notes Week One September 01, 2009, at 12:31 PM
by -
Added line 3:
Instructor: Rory Nugent (rory.nugent at nyu.edu)\\ Deleted line 4:
Instructor: Rory Nugent (rory.nugent at nyu.edu)\\ Changed lines 8-21 from:
Physical Computing Resident: Christian Cerrito to:
Physical Computing Resident: Christian Cerrito Links Syllabus Class Journals Wednesday Thursday Weekly Notes September 01, 2009, at 12:29 PM
by -
Changed lines 5-10 from:
Class Hours: to:
Class Hours: Wednesday, 6:30 - 9:00p and Thursday, 6:30 - 9:00p September 01, 2009, at 12:05 PM
by -
Changed lines 5-7 from:
Class Hours: Wednesday, 6:30 - 9:00p\\ to:
Class Hours: August 25, 2009, at 05:42 PM
by -
Added lines 1-9:
(:title Introduction to Physical Computing - Fall 2009 :) September 9th - December 9th 2009 Physical Computing Resident: Christian Cerrito |