Soft Switch – Damon Amato

For this assignment I decided to use a happy lemon to help me with my switch for this circuit. Since there is acidic juices within the lemon, it’s contents can be used as a conductor for which the current of the circuit would use to pass through when the closing end of the switch is planted within the general area of the other wire thus closing the circuit. When this happens, the white LED turns off and the yellow LED turns on.

 

Here is my circuit up close:

IMG_5168

And here is my code:

const int buttonPin = 2; // the number of the pushbutton pin
const int ledPin = 13;
const int ledPinTwo = 12;

// variables will change:
int buttonState = 0; // variable for reading the pushbutton status

void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
pinMode(ledPinTwo, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}

void loop(){
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);

// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
digitalWrite(ledPin, LOW);
digitalWrite(ledPinTwo, HIGH);

}
else {
// turn LED off:
digitalWrite(ledPin, HIGH);
digitalWrite(ledPinTwo, LOW);

}
}

Introduction – Damon Amato

Hello, my name is Damon Amato.

Prior Experience

I have had some history with computers and electronics. I started here at ASU studying Computer Science, but after my first year I switched into Digital Culture. I have some experience in C++, Java, HTML, and Max. I was in a few classes last year that dealt with programming Arduino and wiring circuits, so I feel like I am at an okay start for this class.

 

Creative Materials

Last semester I had a class called AME 330 Digital-Physical Systems where I worked a lot with laser cutting wood.

 

 

Screen Shot 2018-01-10 at 11.09.44 PM

Screen Shot 2018-01-10 at 11.12.56 PM

 

 

Favorite Project

I think my favorite project was Parallel Networks by Ali Fard and Ghazal Jafari. I like the design because it is a good way to get the public more involved in saving the ocean. It provides a platform that people can interact in a public setting, such as a park, but on the surface of the water while it produces clean energy and produces food.