As computing becomes more ubiquitous in our objects, designers need to be more aware of how to design meaningful interactions into electronically enhanced objects. At the University of Washington, a class of junior Interaction Design majors is exploring this question. These pages chronicle their efforts.

Tuesday, April 24, 2012

Reema + Jill: Pushbutton and Fade Demos


Reema Bhagat and Jill Moses
Arduino Demonstration 2

Using a Pushbutton to Control the LED
We first plugged in all of the necessary components for the push button demonstration. This included connecting the button and resistor into the breadboard and then adding the wires to the Arduino, as well as the breadboard. Next, we plugged in the USB to the Arduino and our computer, after adding the code. We then verified and uploaded our code and pushed the button to make sure it worked. The red LED that we plugged in turned on when the button was pushed and turned off when it was released. The code worked and the demonstration was a success.

We then tried example three in the book: Turning on the LED when the button is pressed, and keeping it on after it’s released. After uploading the code and verifying, we tested it. The LED stayed on after the button was pressed and stayed on until the button was pressed for a second time. Our button was somewhat loose on the breadboard, so the demonstration only worked correctly some of the time.





Fading an LED in and out, like on a sleeping apple computer
First, we built the circuit by re-configuring the wires, resistor and LED on the breadboard. Next, we created a new sketch on the computer, putting in the new code for the demonstration. We verified and uploaded the sketch, and the demonstration worked well. We then wanted to play with the code and modify the fade time, so we experimented with several iterations of that. We experimented with making the “fade in” time to be longer, and the “fade out” time to be shorter. The rhythm of the fade was altered as a result of our experimentation as well. 


No comments:

Post a Comment