Friday, October 9, 2009

hexagonal fabric cell: what's inside

Demo:


Under the skin:


One cool thing that is not shown here is, when we took the photo with flash light, all the three fingers are full open at that flash!

Let's hack it layer by layer:










Sunday, October 4, 2009

heliostropic organic: pic and code

This is the heliotropic organic (without fabric), all circuits are masked inside
courtesy: John Marshall

The coding is shared here and explained by previous blogs:

#include // include the servo library

Servo servoMotor0; // creates an instance of the servo object to control a servo
Servo servoMotor1;
Servo servoMotor2;
int analogPin0 = 0; // the analog pin that the sensor is on
int analogPin1 = 1;
int analogPin2 = 2;
int analogValue0 = 0; // the value returned from the analog sensor
int analogValue1 = 0;
int analogValue2 = 0;
int servoPin0 = 2; // Control pin for servo motor, may only be pin 9 or 10
int servoPin1= 3;
int servoPin2 = 4;
void setup() {
servoMotor0.attach(servoPin0); // attaches the servo on pin 2 to the servo object
servoMotor1.attach(servoPin1);
servoMotor2.attach(servoPin2);
}
void loop()
{
analogValue0 = analogRead(analogPin0); // read the analog input (value between 0 and 1023)
analogValue1 = analogRead(analogPin1);
analogValue2 = analogRead(analogPin2);
analogValue0 = map(analogValue0,50, 1023, 0, 360); // map the analog value (0 - 1023) to the angle of the servo (0 - 179)
analogValue1 = map(analogValue1, 50, 1023, 0, 360);
analogValue2 = map(analogValue2, 50, 1023, 0, 360);
servoMotor0.write(analogValue0); // write the new mapped analog value to set the position of the servo
servoMotor1.write(analogValue1);
servoMotor2.write(analogValue2);
delay(500); // waits for the servo to get there
}

Saturday, October 3, 2009

LEGO Mindstorms Sudoku Solver

Waiting for some "LEGO differential equation solver" to help me in homework :)

heliotropic organics 2

Here is BMW gina what inspires our fabric smartsurface:

Tuesday, September 29, 2009

Heliotropic organics 1

1 meeting: finger, fabric(organic solar cell), organic bio
2 hex, dimension
3 program: if -> direct

Meeting 1:
After brainstorming and analyzing the given problem description, we planned to challenge the opening-closing characteristics of heliotropic field demonstrated by Karl in Digital Project. A finger structure was adopted and controlled by servo to realize the dynamics. Covered by elastic fabrics, fingers will stretch the fabric to show the opening, showing an organic plant (like flower) to open depending on how strong the sunlight is.

Meeting 2:
We made a change from 2 fingers to 3 fingers so that a hexagon unit can form, which is easily repeatable for large fields.
One "hand" of 3 fingers, powered by 1 servo with one LDR. 3 hands are located at 3 non-neighboring sides of a hexagon cell, which is controlled by an Arduino.

Programing:
Michelle and I tried "if-else" but it turned out to be more and more complicated due to the presence of threshold. By browsing the language library, a mapping function was found to perfectly match our need: to map the intensity of light to the angle of servo rotation.