Monday, December 14, 2009

Final Project Final Documentation

I put a lot of love into constructing this piece, so I am glad that my hard work payed off in such a nice way. The final piece was built from a large wooden box that had been sitting in my studio space since the beginning of the year, and a construction of inner walls about an inch away from the wooden ones.








I knew I wanted there to be a soft feel, so I chose pale pinks and blue felt to dress up this otherwise hard looking structure. I was hoping for there to be a sort of juxtaposition between the harsh pulling of the motors and the soft structure it was in.
The strange protrusions at the sides of the box were my way of hiding the buttons/switches. At first I was desperately trying to figure out a way to make them invisible, so that the action of pressing them was unintentional, but since that was unavoidable (and the idea of intentionally pressing something was intriguing to me) I decided to play it up as much as possible. What would get someone's attention/what would make someone want to press these strange blue protrusions? I decided to draw from my audience and make them look like buttons that we normally press - circular buttons with a flashy colored interior. Like the "big red button" that we're never supposed to press in popular fiction, the pink dot in the center references that while keeping with my theme.

On the inside, it appears to be something like a child's playpen, or a strange child's asylum. There are sewn dolls scattered carefully along the walls, but hanging by four threads in the center is this strangely small voodoo-like baby doll. As the buttons are pressed, the strings tug on the doll in the direction of the button, like a puppet. All buttons can be pressed at the same time, precariously pulling the baby in all directions. Will it rip? Will it fall apart? I found it interesting that during critique, people would try to see what would happen, sad that it did not fall apart.


Sadly I do not have video at this time, but the sounds of the motors would have been something great to hear! Also, this piece is hopefully going to be reworked, with cleaner craft so that it is more seamless.
Here is the code to the motors - nothing complicated:
#include



SoftwareServo myservo1; // create servo object to control a servo
SoftwareServo myservo2;
SoftwareServo myservo3; // create servo object to control a servo
SoftwareServo myservo4;

int potpin1 = 0; // analog pin used to connect the potentiometer
int val1; // variable to read the value from the analog pin
int potpin2 = 1;
int val2;
int potpin3 = 2;
int val3;
int potpin4 = 3;
int val4;

void setup()
{
myservo1.attach(9); // attaches the servo on pin 2 to the servo object
myservo2.attach(10);
myservo3.attach(12);
myservo4.attach(13);
}

void loop()
{
val1 = analogRead(potpin1); // reads the value of the potentiometer (value between 0 and 1023)
val1 = map(val1, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180)
myservo1.write(val1); // sets the servo position according to the scaled value
delay(15); // waits for the servo to get there

val2 = analogRead(potpin2);
val2 = map(val2, 0, 1023, 0, 179);
myservo2.write(val2);
delay(15);

val3 = analogRead(potpin3);
val3 = map(val3, 0, 1023, 0, 179);
myservo3.write(val3);
delay(15);

val4 = analogRead(potpin4);
val4 = map(val4, 0, 1023, 0, 179);
myservo4.write(val4);
delay(15);


SoftwareServo::refresh();

}

No comments:

Post a Comment