Site Logo




.lnb

PhD(UCSB MAT)


.content
Views 27573 Votes 0 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

+ - Up Down Comment Print Files
?

Shortcut

PrevPrev Article

NextNext Article

+ - Up Down Comment Print Files

UCSB MAT Arts & Engineering/Science Research class aims at exploring different disciplines in the science laboratory, The class visited several labs in UCSB, discussed how the scientific researches are proceeded. 


Class website

http://www.mat.ucsb.edu/~g.legrady/academic/courses/14f254/14f254.html


See entire post

http://mat.ucsb.edu/forum/viewtopic.php?f=66&t=258


In this class, I made small artwork for the assigned place, courtyard in the Kavli Institution (http://www.kitp.ucsb.edu/).  The place is a center yard surrounded by two story buildings, the roof is movable with sunlight. 

This project begun with Alexander Calder (http://www.calder.org/),  also need to include some feedbacks from the science lab visits which is class's goal.
Taking into consideration all the matters, I decided to make light and sound interaction, which is common in the interactive art. I'd like use sound source from people in the quadrangle to change the brightness of LEDs. The existence sound will dim the light. But this interactivity is not a instant action. I wish the accumulation of sound will change the art work.


https://dl.dropboxusercontent.com/u/222564885/Art%26Engineering/art.html (play with Safari or Firefox)



Fritzing drawing



Basically, the object has sixteen 10mm white LED bulbs, one microphone and stepper motor set. The brightness of LED changes based on the sound information around this object. Once the gadget collect enough sound the motor raise.


1. The LED lights are on, also the variable number for the LED is set 255.

2. The microphone collects sound source around it,then turn into a number based on how loud the sound is.

3. Numbers from the sound subtract from variable number of LED.

4. Once the LED numbers drops to 0, the cool-time starts, the object is raised and turn off all the light, then stay 25 seconds.

5. When the cool-time is over, it will drop to the original position and the LEDs smoothly glow again. Then the entire cycle is reset. 


Rhino Drawing



Solidity Check run by Sculpteo





The shape of house design was inspired a picture below.








Arduino Code


int led = 5;                // PWM Arduino LED PIN

int brightness = 255;       // Maximum brightness

int HP = 0;                 // Cooltime


void setup()

{

  Serial.begin(9600);       // Communication Rate

  pinMode(led,OUTPUT);

  pinMode(12,OUTPUT);

  pinMode(9,OUTPUT);

}


void loop()

{

   int val;

   val=analogRead(0);       // Microphone Input pin 

   brightness -= (val-10)/3;     // how fast the led bulbs are dimmed

      

      if (brightness < 1){

         brightness = 0;

              

        if(brightness == 0){

        HP = HP + 1;        // Once the LED PIN off cooltime starts to increase

        

        while(HP > 3  && HP < 5){

        digitalWrite(12,HIGH);

        digitalWrite(9,LOW);

        analogWrite(3,250);

        delay(26000);                //motor runs 26 seconds

        digitalWrite(9,HIGH);     //brake

        delay(1);

        break;

         }       

       }

       

        if (HP == 25){

          for(int i = 0; i < 2551; ++i){  //cooltime 2500ms 

           Serial.println(i);

           brightness = i/10;  // LED on again smoothly

           analogWrite(led,brightness); 

           

           while(i>2 && i <4){

           digitalWrite(12,LOW);

           digitalWrite(9,LOW);

           analogWrite(3,250);

           delay(26000);

           digitalWrite(9,HIGH);

           delay(1);

           break;

           }

              if(brightness == 255){         

              HP = 0;  

              }

          }

        }

      }

      Serial.print("Val__");

      Serial.println(val-10,DEC); 

      Serial.print("B__");

      Serial.println(brightness,DEC);  

      Serial.print("HP__");

      Serial.println(HP,DEC);      

      delay(500);

      analogWrite(led,brightness);

}



DSC00348.JPG











List of Articles
No. Subject Author Date Views
10 JeongSeon Project Demo Image file admin 2018.03.10 8703
9 QE file admin 2016.08.17 18377
8 MAT 201B - Computing with Media Data file admin 2015.07.10 24869
7 Game Project admin 2015.04.17 24459
6 Data Visualization (M259 Visualizing Information class project) part 3 file admin 2015.03.31 26397
5 Data Visualization (M259 Visualizing Information class project) part 2 admin 2015.03.31 25316
4 Data Visualization (M259 Visualizing Information class project) part 1. file admin 2015.03.31 25139
3 test file admin 2015.03.30 20872
» Arts & Engineering/Science Research class project file admin 2015.01.04 27572
1 processing code admin 2014.10.06 25420
Board Pagination ‹ Prev 1 Next ›
/ 1

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 Cancel

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5