video 1: growing
video 2: shrinking
Thursday, March 25, 2010
Sunday, March 21, 2010
Thursday, March 18, 2010
Tuesday, March 16, 2010
Coding of the 1st prototype
1st: Motor which control the movement of up and down
#include
Servo myservo;
boolean switchReading;
boolean rotateDirection = true;
void setup()
{
myservo.attach(9);
pinMode(7, INPUT);
myservo.write(90);
}
void loop()
{
switchReading = digitalRead(7);
if(switchReading == true)
{
if(rotateDirection == true)
{
myservo.write(85);
delay(3000);
} else if(rotateDirection == false)
{
myservo.write(95);
delay(3000);
}
rotateDirection = !rotateDirection;
} else if(switchReading == false)
{
myservo.write(90);
}
}
2nd: Motor which control the rotation
#include
Servo myservo;
int t;
void setup()
{
myservo.attach(9);
myservo.write(10);
delay(3000);
}
void loop()
{
for(int i = 10; i < i =" 170;"> 10; i--){
myservo.write(i);
delay(10);
}
}
#include
Servo myservo;
boolean switchReading;
boolean rotateDirection = true;
void setup()
{
myservo.attach(9);
pinMode(7, INPUT);
myservo.write(90);
}
void loop()
{
switchReading = digitalRead(7);
if(switchReading == true)
{
if(rotateDirection == true)
{
myservo.write(85);
delay(3000);
} else if(rotateDirection == false)
{
myservo.write(95);
delay(3000);
}
rotateDirection = !rotateDirection;
} else if(switchReading == false)
{
myservo.write(90);
}
}
2nd: Motor which control the rotation
#include
Servo myservo;
int t;
void setup()
{
myservo.attach(9);
myservo.write(10);
delay(3000);
}
void loop()
{
for(int i = 10; i < i =" 170;"> 10; i--){
myservo.write(i);
delay(10);
}
}
Thursday, March 11, 2010
Monday, March 8, 2010
Form refine
Based on the previous discussion on the design idea-- Living Square, we did some research focusing on the possible mechanism structure to support design. The following video inspired us a lot: http://www.johnnolanfilms.com/animatronics/showreel-flash.php
Moreover, internal discussions are conducted in order to improve the physical form of "Pickle". Generally, two rough form directions are generated as following:
1. Accordion

Subscribe to:
Posts (Atom)

































