2
edits
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
=== Concept === | === Concept === | ||
It would be interesting to explore the | It would be interesting to explore the wedding culture in west and china in a common space. People will find the difference in the attitude of wedding, the way of wedding and the traditional things. The time schedule is very important in chinese wedding. Since now the chinese wedding has changed a lot with the traditional, but people still observe the time rule from past. People have a strong sense of the ‘Lucky Time’ and ‘Unlucky Time’, as well as for moving, funeral, and other important moments in life. The ‘Lucky Time ’ is calculated from couple’s birthday and chinese calendar.I’d like to document the weddings not only for memory, but also find the different family attitude and the living style. | ||
To compare the different time sense in west and chinese wedding via two videos and a interactive installation. Making the video be interated with the audiences, I will make a simply installation for audiences controlling the video like to make the time back. Although they are the looker on wedding, the installation makes them were in the wedding. | |||
I have made two analyses of chinese and west wedding, about the time and flow: | I have made two analyses of chinese and west wedding, about the time and flow: | ||
Line 34: | Line 35: | ||
'''Arduino''' | '''Arduino''' | ||
<source lang="java"> | |||
//*Arduino, rotary encoder code | |||
// this sketch use the five feet rotary encoder. | |||
// it includes an "endless" potentiometer and a button. | |||
// Encoder hooked up with common to GROUND, | |||
// encoder0PinA to pin 3, encoder0PinB to pin 4(could be exchange depends on the value) | |||
int val; | |||
int encoder0PinA = 3; | |||
int encoder0PinB = 4; | |||
//define encoder0PinA | |||
//define encoder0PinB | |||
int encoder0Pos = 0; | |||
int encoder0PinALast = LOW; | |||
int n = LOW; | |||
int myButtonPin=10; //define button on the encoder | |||
int myLedPin=13; | |||
int myButtonState = 0; | |||
void setup() { | |||
pinMode(myButtonPin, INPUT); | |||
pinMode(myLedPin, OUTPUT); | |||
//setup button | |||
pinMode (encoder0PinA,INPUT); | |||
digitalWrite(encoder0PinA,HIGH); | |||
pinMode (encoder0PinB,INPUT); | |||
digitalWrite(encoder0PinB,HIGH); | |||
Serial.begin (9600); | |||
} | |||
void loop() { | |||
int myButtonState = digitalRead(myButtonPin); | |||
if(myButtonState == HIGH){ | |||
digitalWrite(myLedPin, HIGH); | |||
}else{ | |||
digitalWrite(myLedPin, LOW); | |||
} //button control the Led to test | |||
n = digitalRead(encoder0PinA); | |||
if ((encoder0PinALast == LOW) && (n == HIGH)) { | |||
if (digitalRead(encoder0PinB) == LOW) { | |||
encoder0Pos--; | |||
} else { | |||
encoder0Pos++; | |||
} | |||
Serial.print (encoder0Pos); | |||
Serial.println ("/"); | |||
} | |||
encoder0PinALast = n; | |||
} | |||
</source> | |||
<br /><br /> | |||
Line 142: | Line 199: | ||
[[File:wedding7.jpg|600px|]] | [[File:wedding7.jpg|600px|]] | ||
[[File:wedding10.jpg|600px|]] | |||
[[File:wedding4.jpg|600px|]] | [[File:wedding4.jpg|600px|]] |
edits