11/28


11/28

11/28 Diagram

11/28



Too complex. Need to be arranged!

11/28



Piezo-electronic with Processing Testing
Along pressures from the sensors, the virtual sphere is bigger or smaller.

11/28

Arduino + MLX90614 Infrared Thermometer Module (Read 3431 times)

The MLX90614 is a non-contact infrared thermometer with a measurement range from -70 to +380 degree Celsius. Just connect the four leads to your Arduino and you will have a accurate thermometer with a resolution of 0.01 and a accuracy of 0.5 degrees. The code below reads the object temperature which is emitted from the objects surface and the ambient temperature from the sensor itself.

Thought about Theme

Entire energy contains environmental energy and a person's energy (same as F(Qi)).
Both elements are balanced and interacting each others.


Formally, Entire Energy of the Sphere= Environmental Energy in the Sphere + F(Qi)


F(Qi) = a one's (blow + heat + movement)


I will set up the environment with light form.


A person will interact with environmental energy that are represented by Light energy in order to keep balancing or being harmonious.
In addition, the light energy implies visible energy, so becoming invisible energy is the same amount of the invisible energy that the person absorbs.

Jim Campbell - Scattered Light



Jim Campbell: Scattered Light in Madison Square Park, New York City, October 21 through February 28, 2011.

The LED bulbs, programed to flicker scattered light, create the illusion of figurative images that explore and reflect the human experience amidst the urban landscape, creating the appearance of giant human shadows crossing a floating 3-D matrix of light. As one travels around the piece, the vantage point alters and the light figures begin to abstract, blurring the boundaries between image and object.

key words: abstract,representational, physical,image-based sculpture,pixilated image-making

Considering Theme

Entire energy contains environmental energy and a person's energy (same as F(Qi)).
Both elements are balanced and interacting each others.

Formally, Entire Energy of the Sphere=  Environmental Energy in the Sphere + F(Qi)

F(Qi) = a one's (blow + heat + movement)

I will set up the environment with light form

Visualizing One's Blow

Piezo buzzer -> Arduino -> Processing


Graph shows the strength of one's blow
Print Serial Values

bookmarks


Reiteration version of Installation


How Does It Work?

1.Holding a small ball
2.Blowing on a small boll while walking around in the booth
3.the mood color of the inner booth changes depending on the user’s heat 
4.Silhouette follows a user: The shadow implies Lights on the wall loose their energy
5.The small ball lights up as much as the strength of the blow

11/9

Processing



Motion Tracking

The second failure: Errors

avrdude: stk500_getsync(): can't communicate with device: resp=0x14
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude: stk500_recv(): programmer is not responding

Arduino Sketch 2

Knock Detector
Blow Detector

const int ledPin = 13;    
const int knockSensor = 0; 
const int threshold = 10;  // threshold value to decide when the detected sound is a knock or not

int sensorReading = 0;      // variable to store the value read from the sensor pin
int ledState = LOW;         // variable used to store the last LED status, to toggle the light

void setup() {
 pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT
 Serial.begin(9600);       // use the serial port
}

void loop() {
   sensorReading = analogRead(knockSensor);   

   if (sensorReading >= threshold) {
      ledState = !ledState; 

  digitalWrite(13, HIGH);   // set the LED on
  delay(100);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(10);              // wait for a second

  }

}

Arduino Sketch 1

PIR Sensor Input Testing:
LED On/Off depends on PIR sensor's analog input

int ultraSoundSignal = 2; int val = 0;
int ultrasoundValue = 0;
int timecount = 0; int ledPin = 13;
void setup() {
  Serial.begin(9600); // Sets the baud rate to 9600
  pinMode(ledPin, OUTPUT); // Sets the digital pin as output
}

void loop() {
  timecount = 0;
  val = 0;
  pinMode(ultraSoundSignal, OUTPUT); 

  digitalWrite(ultraSoundSignal, LOW); // Send low pulse
  delayMicroseconds(2); // Wait for 2 microseconds
  digitalWrite(ultraSoundSignal, HIGH); // Send high pulse
  delayMicroseconds(5); // Wait for 5 microseconds
  digitalWrite(ultraSoundSignal, LOW); // Holdoff

   pinMode(ultraSoundSignal, INPUT); // Switch signalpin to input
  val = digitalRead(ultraSoundSignal); // Append signal value to val
  while(val == LOW) { // Loop until pin reads a high value
    val = digitalRead(ultraSoundSignal);
  }

  while(val == HIGH) { // Loop until pin reads a low value
    val = digitalRead(ultraSoundSignal);
    timecount = timecount +1; // Count echo pulse time
  }


  ultrasoundValue = timecount; // Append echo pulse time to ultrasoundValue


  if(timecount > 0){
    digitalWrite(ledPin, HIGH);
  }

   delay(100);
}

The first failure

Aurduino Software and Hardware didn't communicate at all.


I didn't install FTDIUSBSerial Driver.

11/4 in class

Processing
Visualize an analog sources from sensor's input
* Using the brightness of video capture input instead of variable from sensors



import processing.video.*;
Capture myCapture;
int cellsize = 3;
int cols, rows;   
PFont font;



void setup () {
  size(400, 300);        
  cols = width/cellsize;            
  rows = height/cellsize;      
  frameRate(30);
 myCapture = new Capture(this, width, height, 30);


}


void captureEvent (Capture myCapture) {
  myCapture.read();
  }
  
void draw () {


  background(0);
  loadPixels();
  for ( int i = 0; i < cols;i++) {
    for ( int j = 0; j < rows;j++) {
      int x = i*cellsize + cellsize/2; 
      int y = j*cellsize + cellsize/2; 
      int loc = x + y*width;           // Pixel array location
      color c = myCapture.pixels[loc];       // Grab the color
      float z = (mouseX/(float)width) * brightness(myCapture.pixels[loc]) - 20 ;
      
      
     println(loc);   
     stroke(123,128,158);
     line(cellsize, height, cellsize, height - loc);
      if (cellsize >= width) {
      cellsize = 0;
   
    background(48,31,65); 
  } 
  else {
    // increment the horizontal position for the next reading:
    cellsize++;
  }
   
     }
    
  }
    
}

Timeline

11/4
Re-make the out line and time line
Get electronic components: Arduino-HW, sensors
Working on coding( Processing and Arduino): Schematic and Circuital Practice

11/9 11/11
Define the specific interface of the installation
Organize interactive story - How the installation is going to work
Working on coding(Processing and Arduino): Test the availabilities and limits of sensors

11/16 11/18
Prototyping: Build up a miniature booth
Working on coding(Processing and Arduino): Set up and install in the miniature booth
Testing that follows the interface scenarios
Report results
                         
11/2311/25
Working on coding(Processing and Arduino): modify weakness and develop
Virtual prototyping

11/30 12/2
Consider a real space and an installation

electric grocery

What I will use are
  • 75 db Piezo Electric Buzzer
  • PIR Sensor Module
  • P3 outdoor sensor for Temperature and Humidity

PIR Sensor Module

PIR sensor detects motion from up to twenty feet away, and PIR stands for Pyroelectric Infrared Ray or Passive InfraRed
This module contains Fresnel lens in order to extend a detectable distance and expand sensitivity.