Object 3: Connection
This week's assignment was to create an object that engaged with the concept of connection, whether by creating a new type of connector, or by representing the concept in a novel way. Despina provided us with some conductive thread to use, so I was eager to experiment with this new material, and to use this project as a physical computing refresher, since it has been a long time since I've wired a circuit. I decided to experiment with whether I could use the conductive thread on velcro as the connector. Also, in thinking about connections in terms of people, it occurred to me that connections often grow in physical spaces that are disconnected from the surrounding world, thus promoting a sense of intimacy. I decided to make a set of curtains embedded with LEDs, and wired so that the LEDs would light when the curtains were closed--thereby creating an ambient interior space.
It turns out that I had forgotten pretty much everything I knew about physical computing, and misremebered the rest... Since I never really mastered the skill of drawing a proper schematic, I did what I could to sketch out the design. As you may (or may not) be able to tell from the grapic below, I was under the mistaken impression that I could get away with using just one power and ground line on each side of the curtain for both the switch and the LEDs.

I sewed in the conductive thread using the bobbin on my sewing machine, which worked very well. I then hand sewed the velcro tabs onto each side and wired in the LEDs on each side. I programmed the Arduino (code below) and attached the curtains to the board, but of course since my setup was faulty, the circuit didn't work. I went back and sewed in another line of conductive thread on each curtain for the switch, which did the trick, and things then worked as expected with the LEDs lighting when the curtain was closed and attached with the velcro, and turning off when the switch was unhooked.





Arduino Code
// declare variables for combination lock:
int switch1Pin = 2; // digital input pin for switch
int switch1State = 0; // set the state of the switch to open
int LedPin1 = 3; // digital output pin for 1st LED
int LedPin2 = 4; // digital output pin for 2nd LED
void setup() {
pinMode(switch1Pin, INPUT); // set the first switch pin to be an input
pinMode(LedPin1, OUTPUT); // set 1st LED pin to be an output
pinMode(LedPin2, OUTPUT); // set 2nd LED pin to be an output
}
void loop() {
// read the switch input:
switch1State = digitalRead(switch1Pin);
if (switch1State == 1) {
digitalWrite(LedPin1, HIGH); // turn on this LED
digitalWrite(LedPin2, HIGH); // turn on this LED
}
else {
// if the combo isn't correct yet:
digitalWrite(LedPin1, LOW); // turn off this LED
digitalWrite(LedPin2, LOW); // turn off this LED
}
}










The site falls a bit short in several areas, mostly tangential to information visualization, but still worth noting. The first is that although the interface is exceeding simple to interact with, it does take about 8-10 clicks to get to the finest level of granularity (in this case, the details/purchase page). Most web designers would consider this too many steps to gratification (though it does not bother me in this case). Secondly, I strongly suspect that this site would be very difficult, if not impossible for people with mobility and vision disabilities to use. And thirdly, because I just moved and my DSL is not yet hooked up, I had the frustrating experience of trying to use the site on dial-up, which was unbearably slow. Keeping in mind the large number of people in the US and beyond who still use dial-up, this is a significant limitation in terms of usability.
Also, whereas the Browse Goods site's zoom function is intuitively integrated as a means of visually and metaphorically homing in on information of interest, the Pier1 site requires the user to spot an item they are interested in, then zoom in on the marginal text descriptions and read through them all to locate the one that relates to their item--there arn't any corresponding codes or labels to assist in this process, and when zoomed in on the text, you can no longer view the item that interests you to compare text to picture. Then, to cap it all off (though this doesn't relate to visualization) you can't even purchase items through the site after all your arduous searching; you have to go to a store and repeat the search process in person to get your hands on anything. This site is so poorly designed and difficult to use, it actually makes me mad.