Final Project
For my Final Project I created an interactive clothing
For my final project I created an interactive clothing. There were many clothing that is worked with lilypad and lights but not some outside material besides lights. So by using three servo motors I created an clothing where there are fabric flowers that bloom when there is pressure detected. I originally wanted to use lilypad for my clothing project but I somehow couldn’t figure out how to do it so I used Arduino instead(which is on the ground and not shown in the video).
What I was trying to express was the feminine shape of the flower blooming in a dress, but due to the spring and the mechanical things along with it it adds the gross look of an alien being born from the dress, which the more I look at it, the more I like about it. I think this paradox between the beauty and the alien gross look that this dress has adds more to the work compared to when it didn’t have that look.
Photos
Diagram
Fritzing Diagram
Code
#include
Servo servoMotor;
int servoPin = 3;
Servo servo_0;
Servo servo_1;
//int pos = 0;
//int sensePin = 2; // the pin the FSR is attached to
//int motorPin = 9;
void setup() {
Serial.begin(9600);
servoMotor.attach(servoPin);
servo_0.attach(0);
servo_1.attach(1);
}
void loop() {
float value = millis();
int analogValue = analogRead(A0);
int servoAngle = map(analogValue,0,1023,94,180);
Serial.println(servoAngle);
servoMotor.write(servoAngle);
//servoMotor.writeMicroseconds(1700); // Counter clockwise
//delay(2000); // Wait 2 seconds
//servoMotor.writeMicroseconds(1300); // Clockwise
//delay(2000);
//servoMotor.writeMicroseconds(1500); // Stop
//delay(2000);
if (value == 3500){
for(int i=0;i<=170;i++){
servo_0.write(i);
delay(25);
servo_1.write(170-i);
delay(25);
}
}
}