Main

December 13, 2009

Collaboration: crow nod

(post edited)

Carl posted two pics and a description of the action in his blog, November 29. The following is the code.

Crow_sWorld_120_Sweep_Nod.pde

December 3, 2009

Mike's Slit Scan Proposal

My project will involve using a processing sequence called the slit scan. Images captured by the camera are transfered and elongated through the passage of time stretching an image and its movements. When looking at the effect this sketch has on an image, I found myself thinking of a constantly changing pattern that is being replicated based on the will of movement that object has. This to me is representative of free will which is still restricted and unequivocally connected by the passage of time.

In my project I hope to construct three slit scan stations for people to interact with simultaneously. The results that the slit scan stations will yield will be projected onto a surface for all three participants to see. The participants will create their own slit scan "identities" and change them at their will. The images will be created not from the image of the person, but by predestined patterns fitted to stamps. There will be numerous amounts of stamps to choose from, and every pattern will be unique. The subject will take the stamp and place it on the surface of a pedestal of their choosing and move the pattern to shape the slit scan image before them. All three changing patterns will be projected at the same time, comparing the identities of their slit scan to each other.

Thats pretty much it, in a very confusing nut shell.

-Mike Ballard

December 1, 2009

Mystery Well

Mike Ballard, Justin Berken, Elisa Berry, Maj Furani, Matt Wenger

P1013659.JPG


P1013668.JPG


P1013669.JPG


P1013670.JPG

November 24, 2009

Stripping and Exterior Decoration - Bryce Davidson

Initially, I worked on visual aspects of the dance club. I helped spice up the walls of the club with decorative checkered paper, and shared ideas about what could visually be happening in the club. Through this process, I started thinking about the different movement aspects that would be fun to add. Mostly, I was thinking about the different dances that I could simulate with the assistance of the Arduino. I had the idea of using a Servo motor to make one of the action figures do "the sprinkler" on the dance floor. In the end, the motion of the motor that I programmed made more sense for the shirtless action hero on the stripper pole.

I was really happy with how it turned out. It was quite a process building the motor shield, and then learning how to make it move how I wanted it to move. The programming was definitely the biggest challenge, but learning how to interact with it was quite satisfying.

Here is the code for the Servo motor:

// Sweep
// by BARRAGAN

#include

Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created

int pos = 0; // variable to store the servo position

void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}


void loop()
{
for(pos = 0; pos < 90; pos += 1) // goes from 0 degrees to 180 degrees
{ // in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(20); // waits 15ms for the servo to reach the position
}
for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees
{
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}

The Mystery Well










November 19, 2009

Head Spinin', Crab Walkin' & More

So I was predominately involved with general construction of the night club and less with the technical Arduino programming/wiring. I helped with the conductive strips on the foam part of the floor where we could rig up some sort of simple action involving tin foil contact points on the action figure's feet/hands/etc. The "Rufio" crab walking character had a cell phone vibrating piece attached to his back, which was connected to wires that were wrapped and soldered around his hands. When he was bent into a crab walking position and placed with his knuckles on the conductive tape on the floor, he would vibrate from the motor, giving him the illusion of crab walking. I also, along with Tyler, helped to create the "head-spinning" action figure representation of Bryce. The circuit was essentially a 3.5volt (or however many volts it was) motor (the kind that had simply a small, spinning peg), a 9 volt battery, and "alligator" wires to connect it all. We concealed the system beneath a hand-crafted cardboard box. We left the circuit incomplete with two tin foil contact points exposed outside of the box. The circuit would be completed, and subsequently cause the motor to spin, when an action figure with tin foil on their feet stood on the two strips of tin foil to complete the circuit. The action figure representation of Bryce was the blonde-haired guy with the lime green glasses attached to the "elevated-head-spinning-box". To attach him to the peg of the motor, I stuck the figure into a vice, used a Dremel tool to drill a small hole into the top of his head, filled the hole with a few drops of hot glue, and placed the figure upside-down onto the motor peg. We let him dry and tested it to make sure it worked.
In addition, I also helped with the building of the physical structure of night club.

Club Dance Floor


I was predominantly involved with the creation of the LED dance floor that was at the center of the club floor. The dance floor consisted of 12 squares, each containing a LED. The LEDs were each wired to a resistor that in turn ran into one of the arduino's digital I/Os. The negative leads of the LEDs each ran into a strip that tied them all together so that they could be plugged into the arduino's ground. This helped eliminate clutter. I used the code below to light the LEDs in sequence. The code is a combination of the "knight rider" for loop presented on the arduino website and some simple coding similar to that presented in the example sketch "blink". Reflective tape was used to shape the squares to separate the flashes of light. The light was dispersed with a sheet of thin foam which was covered with a piece of glass.

ClubDanceFloor.pde



int aOne = 1;
int aTwo = 2;
int aThree = 3;
int bOne = 4;
int bTwo = 5;
int bThree = 6;
int cOne = 7;
int cTwo = 8;
int cThree = 9;
int dOne = 10;
int dTwo = 11;
int dThree = 12;
// LED connected to digital pin 13

// The setup() method runs once, when the sketch starts

void setup() {
// initialize the digital pin as an output:
pinMode(aOne, OUTPUT);
pinMode(aTwo, OUTPUT);
pinMode(aThree, OUTPUT);
pinMode(bOne, OUTPUT);
pinMode(bTwo, OUTPUT);
pinMode(bThree, OUTPUT);
pinMode(cOne, OUTPUT);
pinMode(cTwo, OUTPUT);
pinMode(cThree, OUTPUT);
pinMode(dOne, OUTPUT);
pinMode(dTwo, OUTPUT);
pinMode(dThree, OUTPUT);
}

// the loop() method runs over and over again,
// as long as the Arduino has power

void loop()
{
digitalWrite(aOne, HIGH); // set the LED on
delay(100); // wait for a second
digitalWrite(aOne, LOW); // set the LED off
delay(100); // wait for a second

digitalWrite(aTwo, HIGH);
delay(100);
digitalWrite(aTwo, LOW);
delay(100);
digitalWrite(aThree, HIGH);
delay(100);
digitalWrite(aThree, LOW);
delay(100);
digitalWrite(bOne, HIGH);
delay(100);
digitalWrite(bOne, LOW);
delay(100);
digitalWrite(bTwo, HIGH);
delay(100);
digitalWrite(bTwo, LOW);
delay(100);
digitalWrite(bThree, HIGH);
delay(100);
digitalWrite(bThree, LOW);
delay(100);
digitalWrite(cOne, HIGH);
delay(100);
digitalWrite(cOne, LOW);
delay(100);
digitalWrite(cTwo, HIGH);
delay(100);
digitalWrite(cTwo, LOW);
delay(100);
digitalWrite(cThree, HIGH);
delay(100);
digitalWrite(cThree, LOW);
delay(100);
digitalWrite(dOne, HIGH);
delay(100);
digitalWrite(dOne, LOW);
delay(100);
digitalWrite(dTwo, HIGH);
delay(100);
digitalWrite(dTwo, LOW);
delay(100);
digitalWrite(dThree, HIGH);
delay(100);
digitalWrite(dThree, LOW);
delay(100);
}

Mystery Well - Collaborative Project (More images to come)

Mystery Well - Collaborative Project

Mystery Well - Collaborative Project

Mystery Well - Collaborative Project

Nightclub Video

November 18, 2009

Club Images and Video

club1.jpg
club2.jpg
club3.jpg
club4.jpg

November 17, 2009

Collaborative

For this project I worked with the group on the overall construction of the club, some things such as the NEON bubble tubes, were designed for implementation of the club. The level of interactivity is limited as of yet. However the way the floor was designed and the club itself is so that modifications would be achieved without great hindrance.
The code is a modification of analog control as it uses a potentiometer that senses when a considerable amount of change in light occurs.

The code:
NightClubCode.pde

int sensorPin = 0; // select the input pin for the potentiometer
int ledpin = 4; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
int ledpin1 = 5;
int ledpin2 = 6;
int ledpin3 = 7;
int ledpin5 = 8;
int ledpin6 = 9;
int ledpin7 = 10;
int ledpin4 = 11;
int Norm = 0;
int squid = 0;
int time = 0;
void setup() {
// declare the ledPin as an OUTPUT:
pinMode(ledpin, OUTPUT);
pinMode(ledpin1, OUTPUT);
pinMode(ledpin3, OUTPUT);
pinMode(ledpin4, OUTPUT);
pinMode(ledpin5, OUTPUT);
pinMode(ledpin6, OUTPUT);
pinMode(ledpin6, OUTPUT);
pinMode(ledpin7, OUTPUT);
Norm = analogRead(sensorPin);
}
void loop() {
squid = (analogRead(sensorPin) - Norm);
if (squid * squid > 30) {
digitalWrite(ledpin4,HIGH);//speaker control
delay(2000);
digitalWrite(ledpin4,LOW);//
digitalWrite(ledpin,HIGH);//caveman
digitalWrite(ledpin1,HIGH);//relay
digitalWrite(ledpin2,HIGH);//relay
digitalWrite(ledpin3,HIGH);//relay
digitalWrite(ledpin5,HIGH);//bubbles
digitalWrite(ledpin6,HIGH);//laser
while (time < 1000) {
digitalWrite(ledpin7,HIGH);//laser
delay(random(30,200));
digitalWrite(ledpin7,LOW);
delay(random(30,200));
time = (time + 1);
}
time = 0;

}

// read the value from the sensor:

}