Lina Maria Giraldo's Blog

Multimedia Artist and ITP Student

Archive for the ‘Physical Computing’ Category

Analog Input week 2 (1)

without comments

 

Click on the image

Click on the image

 int potPin = 0;    // Analog input pin that the potentiometer is attached to

int potValue = 0;   // value read from the pot

int led = 9;    // PWM pin that the LED is on.  n.b. PWM 0 is on digital pin 9

 

void setup() {

  // initialize serial communications at 9600 bps:

  Serial.begin(9600); 

}

 

void loop() {

  potValue = analogRead(potPin); // read the pot value

  analogWrite(led, potValue/4);  // PWM the LED with the pot value (divided by 4 to fit in a byte)

  Serial.println(potValue);      // print the pot value back to the debugger pane

  delay(10);                     // wait 10 milliseconds before the next loop

}


Analog Input using a potentiometer from Lina Giraldo on Vimeo.

Written by admin

February 4th, 2009 at 3:20 pm

Observation Assignment

without comments

 

Click on the image

Click on the image

I worked with Gordie and Emily Ryan. We decided to go to a crowded bar and use the opportunity of the super bowl to do our observation assignment.

 

 

My first super bowl! Great ! It was at 6:30 pm and the name of the bar is Down The Hatch. I believe there were some 140 people between 21 through 40, mostly students. I actually never understood who was playing or whom I should cheer for.  

 

Anyway, we were expecting to see the bar packed but it was not the case.  We had to stand at the corner of the kitchen and lucky enough, this was the best view of the bar. This is why we stayed there. During this important event, people don’t stop communicating between each other. The food arrives at people’s tables. The customers are drinking and using their phones, some of them are talking, others are texting and some cameras here and there. The bartender smiling and working non stop receiving credit cards  and serving drinks. Always using technology to solve social interaction but off course the most important for society: joy and have fun.

Here is how we have to think about technology as a social tool that bridges humankind

 

Women mostly use cell phones, while men were focused on the game. They were texting mainly during the commercials. They used mainly smart phones, blackberries and iPhones. They also had digital cameras which they used to take pictures of each other drinking, having fun, posing, etc. 

 

In the back of the bar, they use a calculator to do the books at the end of the day. The credit card machine is next to the bartender to create easy access. This was the most used machine in the hole assignment, running almost non-stop.

 

And off course there are the  HD TVs in each corner of the bar the tables are arranged around them.

 

We are creative animals that could think. This is why we are always creating system of communication and social solutions to increase trade.

Written by admin

February 4th, 2009 at 2:34 pm

Digital Input (a switch), Digital Outputs (LEDs)-Week 1

with one comment


Final Frog Switch LEDs Physical Computing from Lina Giraldo on Vimeo

 

 

This is the video documentation of the Digital Input and Output (a switch and LED’s)


Switch with two LEDs inside of the frog from Lina Giraldo on Vimeo.

 

 

 

 

 

Video Documentation Digital Input (a switch and Digital Output LED’s red and Yellow)


Week 1 Lab 1 from Lina Giraldo on Vimeo.

Code:

// declare variables:

int switchPin = 2;      //  digital input pin for a switch

int yellowLedPin = 3;   //  digital output pin for an LED

int redLedPin = 4;      //  digital output pin for an LED

int switchState = 0;    // the state of the switch

 

void setup() {

  pinMode(switchPin, INPUT);       // set the switch pin to be an input

  pinMode(yellowLedPin, OUTPUT);   // set the yellow LED pin to be an output

  pinMode(redLedPin, OUTPUT);      // set the red LED pin to be an output

}

 

void loop() {

  // read the switch input:

  switchState = digitalRead(switchPin);

 

  if (switchState == 1) {

    // if the switch is closed:

    digitalWrite(yellowLedPin, HIGH);    // turn on the yellow LED

    digitalWrite(redLedPin, LOW);       // turn off the red LED

  } 

  else {

    // if the switch is open:

    digitalWrite(yellowLedPin, LOW);   // turn off the yellow LED

    digitalWrite(redLedPin, HIGH);     // turn on the red LED

  }

}

Written by admin

January 26th, 2009 at 12:19 pm