Gallery

Storyboards

Advertisements

Transistor

I decided to use muscle wire to heat up a piece of thermochromic fabric. Unfortunately i had to press down on the fabric to get anything to show because the muscle wire wasn’t getting as warm as I would have liked. I also could not get the while loop to serial print to the console and I’m not sure why.

screenshot-15

int analogPin=A0;
int ledPin=9;
void setup() {
pinMode(analogPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
int value=analogRead(analogPin);
Serial.println(value);
int ledValue=map(value,0,1023,0,255);
analogWrite(ledPin, ledValue);
delay(1000);
}

Potato Circuit

For my switch I took the button example patch in Arduino and added one more LED on pin 12. I took a potato and pushed two copper pennies into it on opposite sides, taping the wires to the pennies and running them into the breadboard like normal.