Pcomp & ICM Week5 (Synthesis)

Last Friday, we combined our Pcomp and ICM projects together.

I chose my ICM sketch “rainy day”, in which mouseX controls the curtain – if mouseX moves, the curtain will be closed and the window will be covered. I added a analog switch to replace mouseX, so it works like this:

After a while, my partner Lindsey and I decided to add some funny elements to my little project:

It’s a great experience to combine them!

PComp Week4

I designed a simple system using Force-Sensitive Resistor. I connected the FSR with the length of delay: if I press the FSR, the music will go quicker, or it will go as usual.

Here’s the video of my project:

Firstly, I imported the reference form (pitches.h). I tested for several times and found out the tones I wanted (do, re, me, fa, so, la, si, do), then i arranged them a singing pace.

If the value of analogRead changes, the length of delay will change as well, so the music will go faster.

Here’s my code:

#define speakerPin 9
#define forceSensor A5
#include “pitches.h”

int myNotes[] {523,587,659,698,784,880,988,1047};

void setup() {
// put your setup code here, to run once:
pinMode(A5,INPUT);
pinMode(9,OUTPUT);
tone(speakerPin, 2000, 5000);
Serial.begin(9600);

}

void loop() {
// put your main code here, to run repeatedly:

int forceSensor = analogRead(A5);
Serial.println(forceSensor);
delay(1023-forceSensor);

for (int i = 0; i<8; i=i+1){
tone(speakerPin, myNotes[i], 500);
delay(analogRead(forceSensor));

}

 

PComp Week3

The public facility I hate most recently is the elevator in Tisch.

elevator2

It’s a big trouble especially during rush time. We can hardly tell if the up and down buttons are pressed or not, and we never know whether or not the floors we need has been selected.

elevator1

Sometimes it doesn’t go up untile it arrives the lowest floor, and vice versa. But the elevator lights are not capable to transmit such information, so it may waste large amount of time for us to get to the right floor.

elevator
The limitation of its storage and speed also cause inconveniences.

PComp Week 2

The assignment for this week is to make a switch. I forgot to buy batteries so I decided to use Arduino.

w2-1

I tried placing two lights in various ways. But their illuminance are different. Then my peers told me I should use a different way to connect them together, or I should bring in a resistance.

w2-2

Finally I gave up the extra light and designed my simple switch.

w2-3

It works like this:

img_5326

When Cupid’s arrow hits someone’s heart, something will turn green. (Dark joke: In China, “wearing green hat” means your spouse cheating on you.)

PComp Week 1

Physical Computing is to build interactive physical systems by using both software and hardware.

Interactivity, which is the balanced involvement of inputting, programming and outputting, is the main point that makes for good physical interaction.

The animations on the big screens (at hotel playground or some parks), are very good digital technologies, but people cannot interact with these animations, so they would not be considered as interactive.

Nowadays, Interactivity becomes a popular concept, but most people don’t understand it in a right way. Interaction is something between two equal creatures, involving the process of alternatively inputting, processing and outputting. For human beings, it’s like listening, thinking and speaking. For human & computer interactions, it also calls for instant communications.

Traditional forms, like reading books, watching videos, listening to musics – none of these activities can be considered as interactive. Even people will be emotionally impressed, their feelings will be considered as reaction, rather than interaction, because the works they are watching/listening never replies them. If we are going to develop computer programs, interactivity is the main point that we should emphasize.

Interactivity so important that it can lead to the next technology revolution, and it is still waiting for people to explore more functions in the future.