(edit sidebar)
Intro to Physical Computing Syllabus

Research & Learning

Other Class pages

Shop Admin

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


Scott Fitzgerald Fall 12

Intro.ScottFitzgeraldFall12 History

Hide minor edits - Show changes to output

Added lines 1-132:
!!Contact:

*[[mailto:scott.fitzgerald@nyu.edu?subject=Wed%20Evening%20Pcomp | scott.fitzgerald@nyu.edu]]
*Office Hours Mondays 2:30-4:30\\
[[https://www.google.com/calendar/selfsched?sstoken=UUQxU2lzN0xkSklxfGRlZmF1bHR8YzNlMjY4NTFjNjg0MjZjYzBjOTY3ZjY3MTY1M2I5YzE | Sign up here]].

!!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)
*[[http://ennuigo.com | Scott Fitzgerald ]]
*[[http://creativespirited.com/ | Bona Kim ]]
*[[http://itp.nyu.edu/~cm2897/blog/ | Claire Mitchell ]]
*[[http://itp.nyu.edu/~hy643/myblog/ |Hyeyoung Yoon ]]
*[[http://itp.nyu.edu/~hhc285/blog/ | Ann Chen ]]
*[[http://itp.nyu.edu/~ep1243/blog/ | Elena Parker ]]
*[[http://itp.nyu.edu/~hav224/blog/ | Heather Velez ]]
*[[http://itp.nyu.edu/~mj1075/mehan/ | Mehan Jayasuriya ]]
*[[http://itp.nyu.edu/~cte209/myblog | chris egervary ]]
*[[http://www.michelleboisson.com/nyuitp/category/phys-comp/ | Michelle Boisson ]]
*[[http://itp.nyu.edu/~vm571/blog/?cat=6 | Olya Mikhaliova ]]
*[[http://itp.nyu.edu/~rmh374/myblog/ |  Mick Hondlik ]]
*[[http://itp.nyu.edu/~mll331/themattlondonblog/?cat=10 | Matt London]]
*[[http://itp.nyu.edu/~hed225/blog | Hannah Davis]]
*[[http://guilhermecosta.posterous.com | Guilherme Costa ]]
*[[http://t0nnelab.blogspot.com/| Melissa]]


!!Additional links of interest
*[[http://arduino.cc | main Arduino site]]
*[[http://www.tigoe.net/pcomp/code/ | Tom Igoe's pcomp blog]]
*[[http://tigoe.net/pcomp/ | Tom's old pcomp site]]
*[[http://www.jodyculkin.com/comics-2/introduction-to-arduino | Jody Culkin's Intro to Arduino Comic]]

!!Supplies

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

!!Notes from Class

*Week1
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
  }
}


*Week2
*Week3

->Purveyors of fine electronic goods :
->*[[http://jameco.com]]
->*[[http://mouser.com]]
->*[[http://digikey.com]]
->*[[http://adafruit.com]]
->*[[http://sparkfun.com]]

*Week4
[[http://www.tigoe.net/blog/category/physicalcomputing/176/ | Tom's taxonomy of Pcomp projects]]
*Week5
mentioned in class\\
[[http://www.thistothat.com/ | this to that]]\\
[[http://www.robives.com/mechs | the old flying pig mechanisms page]]\\
[[http://www.makingthingsmove.com/ | Dustyn Robert's Making Things Move site]]
*Week6
[@
// 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);   
    }
  }
}
@]
*Week7
*Week8
*Week9\\
**[[http://droolcup.com/pcomp/TeamAssessment.pdf | Team Assessment]]\\
**[[http://droolcup.com/pcomp/Self-testPC.pdf | Pop Quiz-Self test]]\\

*Week10
*Week11
*Week12
*Week13
*Week14
  Edit | View | History | Print | Recent Changes | Search Page last modified on August 21, 2012, at 04:39 PM