' {$STAMP BS2}
' {$PBASIC 2.5}
state VAR WORD
counter VAR WORD
led_counter VAR WORD
INPUT 4 'switch wipe open
INPUT 5 'switch wipe close
INPUT 9 'sensor inside
INPUT 10 'sensor outside
INPUT 11 'sensor outside
INPUT 12 'sensor outside
OUTPUT 13
OUTPUT 0
OUTPUT 1
check:
IF IN4 = 1 THEN s_0 'already opened
IF IN5 = 1 THEN s_1 'already closed
GOTO check
s_0:
state = 0 'already opened
GOSUB s
GOTO main
s_1:
state = 1 'already closed
GOSUB s
GOTO main
main:
led_counter = 0
IF IN10 = 0 AND IN11 = 0 AND IN12 = 0 AND state = 1 THEN open
IF IN9 = 1 AND IN10 = 1 AND IN11 = 1 AND IN12 = 1 AND state = 0 THEN w
GOTO main
w:
FOR counter = 1 TO 10
IF IN9 = 0 OR IN10 = 0 OR IN11 = 0 OR IN12 = 0 THEN main
OUT1 = 1 'testing light
PAUSE 500
OUT1 = 0
PAUSE 500
NEXT
GOTO close
open:
led_counter = led_counter + 1
IF IN4 = 1 THEN s_0
PULSOUT 13, 1000
PAUSE 20
IF led_counter=10 THEN o_led_on
IF led_counter=20 THEN o_led_off
GOTO open
o_led_on:
OUT0 = 1
GOTO open
o_led_off:
OUT0 = 0
led_counter = 0
GOTO open
close:
led_counter = led_counter + 1
IF IN5 = 1 THEN s_1
PULSOUT 13, 500
PAUSE 20
IF led_counter=10 THEN c_led_on
IF led_counter=20 THEN c_led_off
GOTO close
c_led_on:
OUT0 = 1
GOTO close
c_led_off:
OUT0 = 0
led_counter = 0
GOTO close
s:
OUT0 = 0
PULSOUT 13, 696
PAUSE 20
RETURN
Monday, February 18, 2008
Sunday, February 17, 2008
Interactive Pavilion Final Prototype Description
Interactive Pavilion is an interactive kinetic architecture which designed for public resting area. Our design is based on the public area in Central, Hong Kong, where is crowded by many Philippians maid in weekend. We found that the public place is not good enough for people gathering, they have to sit in one straight line and hardly face and talk to each other. They were forced to sit on the ground and gather in a circle to chat and eat. We want to make a changeable structure could serve well for individual resting area and also for friends gathering.
From this concept, we considered to make it interacts with people by the amount of the users. We assumed that we could use some sensor to detect that how many people were in that place. If there are 2-3 people, the structure would keep in one state which is good for stranger to enjoy there own resting area; if there are more than that, maybe 5-6 people, they might be knew each other and would like to enjoy there holiday there for a long time, the structure could be opened or extended to a bigger scale. For further consideration, just because the structure would be moving and changing, to avoid disturbing other people’s rest, the condition to trigger it on should be get all the users permission. So we designed it as a specific motion or something to make the structure work. Maybe it’s not convenience enough, but we thought it would be a good chance for the people to talk and interact with strangers to enhance better social interaction.
From this concept, we considered to make it interacts with people by the amount of the users. We assumed that we could use some sensor to detect that how many people were in that place. If there are 2-3 people, the structure would keep in one state which is good for stranger to enjoy there own resting area; if there are more than that, maybe 5-6 people, they might be knew each other and would like to enjoy there holiday there for a long time, the structure could be opened or extended to a bigger scale. For further consideration, just because the structure would be moving and changing, to avoid disturbing other people’s rest, the condition to trigger it on should be get all the users permission. So we designed it as a specific motion or something to make the structure work. Maybe it’s not convenience enough, but we thought it would be a good chance for the people to talk and interact with strangers to enhance better social interaction.
using flow

to make sure the interaction between the user and this structure nice and safe, we set several sensors around the structure.
the sensors could detect are there any peoples are inside or outside the structure, make sure that the structure will not suddenly move to frighten or hurt someone around it.
we use an easy flow chart above to tell how it works
the sensors could detect are there any peoples are inside or outside the structure, make sure that the structure will not suddenly move to frighten or hurt someone around it.
we use an easy flow chart above to tell how it works
gears view
Testing model


actually, in this kinetic structure we used only one motor to be the power source.
we used one big gear in the center with spiral track, one small gear in the motor to transfer power and four gears to make the big gear run stably.
above all the gears, there is a cover with 6 tracks to restrict the motion for the top structure.
we used one big gear in the center with spiral track, one small gear in the motor to transfer power and four gears to make the big gear run stably.
above all the gears, there is a cover with 6 tracks to restrict the motion for the top structure.
Friday, February 15, 2008
Tuesday, February 5, 2008
Monday, February 4, 2008
Sunday, February 3, 2008
Subscribe to:
Posts (Atom)










