Intro to Physical Computing Syllabus

Research & Learning

Other Class pages

Shop Admin

ITP Help Pages
Tom's pcomp site
DanO's pcomp site


Scott F2011-WED-630

Intro.ScottF2011-WED-630 History

Hide minor edits - Show changes to markup

November 26, 2011, at 07:58 PM by cte209 -
November 09, 2011, at 02:06 PM by mah482 -
Changed lines 25-27 from:
  • mel
to:
  • Melissa
November 09, 2011, at 12:58 PM by shf220 -
Deleted line 17:
  • Phil Groman
November 03, 2011, at 11:43 AM by shf220 -
Changed lines 126-128 from:
  • http://droolcup.com/pcomp/TeamAssessment.pdf
    **http://droolcup.com/pcomp/Self-testPC.pdf
to:
  • Team Assessment
    **Pop Quiz-Self test
November 02, 2011, at 06:29 PM by shf220 -
Changed line 126 from:
  • http://droolcup.com/pcomp/TeamAssessment.pdf
to:
  • http://droolcup.com/pcomp/TeamAssessment.pdf\\
November 02, 2011, at 06:28 PM by shf220 -
Changed lines 125-128 from:
  • Week9
to:
  • Week9
    **http://droolcup.com/pcomp/TeamAssessment.pdf
    • http://droolcup.com/pcomp/Self-testPC.pdf
October 12, 2011, at 06:09 PM by shf220 -
Changed lines 26-28 from:
to:
  • mel
October 12, 2011, at 06:00 PM by shf220 -
Added lines 72-75:

mentioned in class
this to that
the old flying pig mechanisms page
Dustyn Robert's Making Things Move site

Added lines 77-120:
// constants to hold the output pin numbers:
const int redPin = 9;
const int greenPin = 10;
const int yellowPin = 11;

int currentPin = 0; // current pin to be faded
int brightness = 0; // current brightness level

void setup() {
  // initiate serial communication:
  Serial.begin(9600);

  // a for loop can simplify pin assignments
 for(int x=9;x<12;x++){
  pinMode(x, OUTPUT);
 }
}
void loop() {
  // if there's any serial data in the buffer, read a byte:
  if (Serial.available() > 0) {
    int inByte = Serial.read(); 

    // respond to the values 'r', 'g', 'y', or '0' throigh '9'.
    // you don't care about any other value:
    if (inByte == 'r') {
      currentPin = redPin; 
    }
    if (inByte == 'g') {
      currentPin = greenPin; 
    }
    if (inByte == 'y') {
      currentPin = yellowPin; 
    } 

    if (inByte >= '0' && inByte <= '9') {
      // map the incoming byte value to the range of the analogRead() command:
      brightness = map(inByte, '0', '9', 0, 255);  
      // set the current pin to the current brightness:
      analogWrite(currentPin, brightness);    
    } 
  }
}
October 04, 2011, at 12:13 PM by shf220 -
Added line 70:

Tom's taxonomy of Pcomp projects

September 23, 2011, at 09:55 AM by shf220 -
Added lines 61-68:
Purveyors of fine electronic goods :
*http://jameco.com
*http://mouser.com
*http://digikey.com
*http://adafruit.com
*http://sparkfun.com
September 19, 2011, at 05:58 PM by gc1193 -
Changed lines 25-26 from:
  • {{http://guilhermecosta.posterous.com | Guilherme Costa ]]
to:
  • Guilherme Costa
September 19, 2011, at 05:58 PM by gc1193 -
Changed lines 25-26 from:
to:
  • {{http://guilhermecosta.posterous.com | Guilherme Costa ]]
September 19, 2011, at 05:55 PM by gc1193 -
September 16, 2011, at 10:23 AM by shf220 -
Changed line 22 from:
  • Joe Smoe
to:
  • Mick Hondlik
September 14, 2011, at 06:35 PM by hed225 -
Changed lines 24-25 from:
to:
  • Hannah Davis
September 14, 2011, at 06:10 PM by mll331 -
Changed lines 23-24 from:
to:
  • Matt London
September 14, 2011, at 04:54 PM by vm571 -
Added line 21:
  • Olya Mikhaliova
September 14, 2011, at 03:58 PM by hed225 -
September 14, 2011, at 03:23 PM by hhc285 -
Changed line 14 from:
  • Ann Chen
to:
  • Ann Chen
September 14, 2011, at 03:19 PM by shf220 -
Changed lines 27-28 from:
to:
  • Jody Culkin's Intro to Arduino Comic
September 14, 2011, at 03:18 PM by shf220 -
Changed lines 5-6 from:

Sign up here.

to:

Sign up here.

September 14, 2011, at 03:17 PM by boissm01 -
Added line 20:
  • Michelle Boisson
September 14, 2011, at 03:14 PM by shf220 -
Changed lines 4-5 from:
  • Office Hours TBD. Until that D, email me and we can set something up.
to:
  • Office Hours Mondays 2:30-4:30
    Sign up here.
September 12, 2011, at 11:06 PM by cte209 -
Changed line 18 from:
  • chris egervary
to:
  • chris egervary
September 12, 2011, at 10:22 PM by cte209 -
Added line 18:
  • chris egervary
Changed lines 20-21 from:
  • Joe Smoe
to:
September 12, 2011, at 08:07 PM by pg1035 -
Added line 17:
  • Phil Groman
September 12, 2011, at 05:36 PM by mj1075 -
Added line 16:
  • Mehan Jayasuriya
Changed lines 19-20 from:
  • Joe Smoe
to:
September 12, 2011, at 04:57 PM by hav224 -
Added line 15:
  • Heather Velez
Changed lines 19-20 from:
  • Joe Smoe
to:
September 12, 2011, at 03:21 PM by ep1243 -
Added line 14:
  • Elena Parker
Changed lines 19-20 from:
  • Joe Smoe
to:
September 11, 2011, at 09:45 AM by shf220 -
Added lines 25-28:

Supplies

See http://itp.nyu.edu/physcomp/Intro/Supplies

September 11, 2011, at 09:22 AM by shf220 -
September 08, 2011, at 06:10 PM by hhc285 -
Added line 13:
  • Ann Chen
Changed lines 19-20 from:
  • Joe Smoe
to:
September 08, 2011, at 02:24 PM by hy643 -
Added line 12:
  • Hyeyoung Yoon
Changed lines 19-21 from:
  • Joe Smoe
  • Joe Smoe
to:
September 08, 2011, at 12:35 PM by cm2897 -
Added line 11:
  • Claire Mitchell
Changed lines 20-21 from:
  • Joe Smoe
to:
September 08, 2011, at 11:03 AM by shf220 -
Changed lines 31-32 from:

(

to:
Changed lines 46-47 from:

)

to:
September 08, 2011, at 10:51 AM by shf220 -
Added line 10:
  • Bona Kim
Changed lines 20-21 from:
  • Joe Smoe
to:
Added lines 29-48:

simple switch code from class

(

void setup() {

  // initialize the pin as an output.
  pinMode(2, OUTPUT);   
  // initialize the pin as an input.
  pinMode(3,INPUT);  

}

void loop() {

  if(digitalRead(3)==HIGH){  //if the switch is pressed
      digitalWrite(2, HIGH);   // set the LED on
  }else{                      //if it is not pressed
     digitalWrite(2, LOW);   // set the LED off 
  }

} )

September 07, 2011, at 01:55 PM by shf220 -
Changed lines 3-5 from:
to:
September 07, 2011, at 01:54 PM by shf220 -
Added line 9:
  • Scott Fitzgerald
Changed lines 20-21 from:
  • Joe Smoe
to:

Additional links of interest

  • main Arduino site
  • Tom Igoe's pcomp blog
  • Tom's old pcomp site
September 05, 2011, at 03:22 PM by shf220 -
Changed lines 3-5 from:
to:
September 02, 2011, at 04:22 PM by dbo3 -
Added lines 1-37:

Contact:

Class List:

  • Please press "Edit" at the bottom of this page, login and enter the url to your blog (if you are new to wiki formatting just follow the pattern)
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe
  • Joe Smoe

Notes from Class

  • Week1
  • Week2
  • Week3
  • Week4
  • Week5
  • Week6
  • Week7
  • Week8
  • Week9
  • Week10
  • Week11
  • Week12
  • Week13
  • Week14
  Edit | View | History | Print | Recent Changes | Search Page last modified on November 26, 2011, at 07:58 PM