Tuesday, February 26, 2008
ardiuno.prototype_003
The following prototypes are experiments in the idea of multiple inputs and multiple outputs.
For example,
Single input for multiple outputs
Multiple inputs for corresponding multiple outputs
These prototypes are an extension of the past prototype with the flexinol wire. It is our hope to be able to switch out these LEDs
and plug in the flexinol wire instead; therefore, these circuits are built in the same schematic as it would be for the flexinol wire.
We also intent to integrate switches and photoresisters to the next series of prototype, so the movement of the flexinol wire can be calibrated.
//LED001 20080226_LivingArchitecture
int ledPin = 13;
void setup()
{pinMode(ledPin, OUTPUT);
}
void loop()
{
digitalWrite(ledPin, HIGH);
delay(3000);
digitalWrite(ledPin, LOW);
delay(3000);
}
ardiuno.prototype_003b = 3 blinking LEDs
//LED002 20080226_LivingArchitecture
int ledPin13 = 13;
int ledPin12 = 12;
int ledPin11 = 11;
void setup()
{pinMode(ledPin13, OUTPUT);
pinMode(ledPin12, OUTPUT);
pinMode(ledPin11, OUTPUT);
}
void loop()
{
digitalWrite(ledPin13, HIGH);
delay(1000);
digitalWrite(ledPin13, LOW);
delay(1000);
digitalWrite(ledPin12, HIGH);
delay(1000);
digitalWrite(ledPin12, LOW);
delay(1000);
digitalWrite(ledPin11, HIGH);
delay(1000);
digitalWrite(ledPin11, LOW);
delay(1000);
}
//LED003 20080226_LivingArchitecture
int ledPin13 = 13;
int ledPin12 = 12;
int ledPin11 = 11;
void setup()
{pinMode(ledPin13, OUTPUT);
pinMode(ledPin12, OUTPUT);
pinMode(ledPin11, OUTPUT);
}
void loop()
{
digitalWrite(ledPin13, HIGH);
digitalWrite(ledPin12, HIGH);
digitalWrite(ledPin11, LOW);
delay(1000);
digitalWrite(ledPin13, LOW);
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, HIGH);
delay(1000);
Labels: arduino prototype 003, charles, rob