<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Xtian&apos;s Physical Computing</title>
      <link>http://itp.nyu.edu/~cb1591/PComp/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2006</copyright>
      <lastBuildDate>Mon, 11 Dec 2006 21:40:28 +0000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.2</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Change of Final Project......</title>
         <description><![CDATA[<p>I am not working on a new Physical Computing Final project involving my ICM final.  The idea is go have me standing in the middle of a room with ropes attached to me.  There will be a box with ropes coming out of each side and when you physically pull the ropes you will see the image of me getting pulled around the room.  <br />
<img alt="image1.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/image1.jpg" width="400" height="267" /></p>

<p>What I am looking to do is build a wooden box about 3ft high with a pulley system inside that will tilt an accelerometer when the ropes are pulled.  This will in effect send data through the Arduino to Processing and work with my program.  <br />
<img alt="box.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/box.jpg" width="450" height="338" /><br />
I spent a day or so constructing this box that will be large and durable enough to with stand people pulling and tugging at it.  <br />
<img alt="boxInside.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/boxInside.jpg" width="450" height="467" /><br />
The difficult part was figuring out a way to have the accelerometer tilt to a side when a rope is pulled then retract in it's orginal position.  I wasn't aware of any hinge that did this and wasn't exactly sure how to do it.  <br />
<img alt="box_bungee.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/box_bungee.jpg" width="450" height="482" /><br />
After a lengthy conversation with my father, he recommended this bungee system inside the box.  Which actually works rather well.  The bungee does a nice job of making the user pull and stretch the rope giving the feeling really pulling something.  Then when released it will immediately go back to the orginal position.  </p>

<p><img alt="box_4bungee.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/box_4bungee.jpg" width="450" height="338" /><br />
As you see here.</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/12/change_of_final_project_1.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/12/change_of_final_project_1.html</guid>
         <category></category>
         <pubDate>Mon, 11 Dec 2006 21:40:28 +0000</pubDate>
      </item>
            <item>
         <title>On to the Final......</title>
         <description><![CDATA[<p><strong><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">F</span>inal Project:</strong></p>

<p>The Basic Idea:<br />
A winter glove that will control your iPod through touching your fingers and shaking your wrist to control the volume, switching tracks and turning it on and off.   Here are some sketches drawn up by <a href="http://hatattack.wordpress.com/pcomp/final-rideglove/">Hatti</a> who is one of the other people I am working with on this project:<br />
<img alt="glove1sketch.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/glove1sketch.jpg" width="435" height="550" /></p>

<p><img alt="glove2.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/glove2.jpg" width="491" height="366" /></p>

<p>I also found some websites of other people who have hacked iPod remote controls along with a guy who did something very similar:</p>

<p><a href="http://www.maushammer.com/systems/ipod-remote/ipod-remote.html">iPod Remote Control Protocol</a><br />
<a href="http://www.videsignline.com/howto/170702555">Controll an iPod with gestures</a></p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/on_to_the_final_1.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/on_to_the_final_1.html</guid>
         <category></category>
         <pubDate>Mon, 30 Oct 2006 18:22:45 +0000</pubDate>
      </item>
            <item>
         <title>Soldering Power....</title>
         <description><![CDATA[<p><img alt="SolderingPower.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/SolderingPower.jpg" width="450" height="376" /></p>

<p><img alt="PowerBoard.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/PowerBoard.jpg" width="450" height="649" /></p>

<p><img alt="PowerLights.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/PowerLights.jpg" width="450" height="547" /></p>

<p><img alt="PowerSwitch.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/PowerSwitch.jpg" width="450" height="399" /></p>

<p><img alt="PowerPotentiometer.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/PowerPotentiometer.jpg" width="450" height="271" /></p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/soldering_power.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/soldering_power.html</guid>
         <category></category>
         <pubDate>Thu, 26 Oct 2006 18:59:49 +0000</pubDate>
      </item>
            <item>
         <title>Digital In</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">I</span> finally got my Arduino after the Computer Store got a large shipment in.   I downloaded the Arduino software and that I might have some problems since I have a Mac but it was actually really easy. </p>

<p></p>

<p><img alt="Arduino-Switch.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/Arduino-Switch.jpg" width="450" height="392" /></p>

<p><img alt="ArduinoSwitchOn.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/ArduinoSwitchOn.jpg" width="450" height="415" /></p>

<p>I already turned an LED on so I thought it would be fun to try something involving the programming side of the Arduino.  Luckly I was working with Yasmin, who was a Programmer in her previous life.  We decided to try a combo lock.</p>

<p>IDEA :: Combo Lock<br />
Our idea was to create a combination lock that requires 2 switches to be on, and the 3rd switch needed to be clicked 3 times consecutively to open the lock. We signified this w/ 2 yellow LEDs lighting up. Any wrong combo would result w/ a 3rd green LED emiting light. The difficulty of this combo lock was:<br />
1. Our switch was the "state" switch (for lack of the tech-term), in which you do not know the state of it - hrigh or low. So we needed a way to consider 3 clicks, or rather 3 toggled state changes in sequence.<br />
2. The Arduino's main function is the loop function wich iterates in the range of milliseconds. So in order to sample the state of our switch in time, and click it before the loop iterates, we need to force a delay.</p>

<p>So the main algorithm behind the program was having 3 state variables for the three switches, plus an additional previous state (prevState) variable which will save the last state of the 3rd switch., so we can check for the 3 toggled state changes. Also I added a delay of 500 ms.</p>

<p>This algorithm worked, but when the combo was "unlocked" the LEDs would blink very briefly, b/c of the new loop iteration. But it wasn't a good design b/c of the speed of sampling and coinciding it with the clicks.</p>

<p>Bottom line: We decided that using a regular on/off or toggle switch for a combo lock isn't the best idea. We just didn't have any other resources.</p>

<p><a href="http://itp.nyu.edu/~ye265/pComp/combo%20lock.txt">Here is the Code we used</a></p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/digital_in.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/digital_in.html</guid>
         <category></category>
         <pubDate>Thu, 26 Oct 2006 18:13:36 +0000</pubDate>
      </item>
            <item>
         <title>Servo Motor Lab</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">I</span> had problems with my Serial throughout this lab.  The motor worked with the potentiometer which was obvious considering it would move when I turned the Potientiometer but there was no Serial output??<br />
<img alt="IMG_8289.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/IMG_8289.gif" width="450" height="432" /></p>

<p><img alt="IMG_8291.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/IMG_8291.gif" width="450" height="300" /></p>

<p><img alt="IMG_8290.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/IMG_8290.gif" width="450" height="311" /></p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/servo_motor_lab_1.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/servo_motor_lab_1.html</guid>
         <category></category>
         <pubDate>Thu, 26 Oct 2006 18:01:55 +0000</pubDate>
      </item>
            <item>
         <title>16 Swtiches &amp; 1 Multiplexer</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">W</span>e have everything working with limited number of switches, meaning we have been using a total of 7 switches.  This has been going well and I thought before we jump right into wiring the mat we need to do a test with all 16 switches.  So, the morning was spent making long switches labeled with masking tape inorder to keep track of what was what.  <br />
<img alt="multiSwitches.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/multiSwitches.gif" width="450" height="338" /><br />
After the switches were made, I wired them all to the breadboard through the multiplexer.<br />
<img alt="multiSwitches2.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/multiSwitches2.gif" width="450" height="294" /><br />
Everything was working great until I got about 11 switches into the motherboard.  This suddenly cause a problem with the rest of the switches.  For some reason one switch would turn on 2 switches then cause the switched it wasn't suppose to turn on to not work.  So it was something like this:<br />
Switch 1:    Turned On                                             <br />
Switch 2:    Turned On Switches 2 & 3                    <br />
Switch 3:    Didn't Work                                           <br />
Switch 4:    Turned On Switches 4 & 5                 <br />
Switch 5:    Didn't Work                                          <br />
Switch 6:    Turned On Switches 6 & 7                <br />
Switch 7:    Didn't Work                                          <br />
Switch 8:    Turned On Switches 7 & 8                <br />
Switch 9:    Didn't Work<br />
Switch 10:  Turned On Switches 10 & 11<br />
Switch 11:  Didn't Work<br />
Switch 12:  Turned On Switches 12 & 13<br />
Switch 13:  Didn't Work<br />
Switch 14:  Turned On Switches 14 & 15<br />
Switch 15:  Didn't Work<br />
Switch 16:  Turned On Switches 16 & 1<br />
<img alt="multiswitches3.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/multiswitches3.gif" width="450" height="296" /><br />
So, inorder to troubleshoot, I took all the switches out and put them in one by one and tested them until I figured out where they went wrong.  They seemed to be fine until Switch 11, then the same problem began.  So I took it out and started at 16 then down and it seems like Switches 12 & 11 are causing the problem with all the other switches.  Why?  Good Question.  I figure it could be the breadboard, or something I can't think of right now.  <br />
<img alt="multiSwitches4.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/multiSwitches4.gif" width="450" height="414" /><br />
Hopefully, this will not cause too much of a delay and will get figured out rather quickly.......hopefully.</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/16_swtiches_1_multiplexer.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/16_swtiches_1_multiplexer.html</guid>
         <category></category>
         <pubDate>Mon, 23 Oct 2006 21:30:41 +0000</pubDate>
      </item>
            <item>
         <title>We Actually Have It Working......!!!!!</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">W</span>ell with some help from <a href="http://itp.nyu.edu/~bac255/new_blog/">Ben Chao</a> in our code we actually have the Multiplexer being recognized by the Arduino.  We hooked up 4 switches and wrote a simple If statement to if 2 switches were pushed a LED would light up.  Here is our Code for now:</p>

<p>//************VARIABLES**************** <br />
int input = 12; // DIGITAL INPUT TO THE MUX<br />
int d= 5;       // SELECT PIN D GOING INTO PIN 5<br />
int c= 4;       // SELECT PIN C GOING INTO PIN 4<br />
int b= 3;       // SELECT PIN B GOING INTO PIN 3<br />
int a= 2;       // SELECT PIN A GOING INTO PIN 2<br />
int pin9 = 9;   // OUTPUT FOR THE RED LED INTO PIN 9<br />
int pin8 = 8;   // OUTPUT FOR THE WHITE LED INTO PIN 8<br />
int pin10 = 10; // OUTPUT FOR THE GREEN LED INTO PIN 10<br />
int pin11 = 11; // OUTPUT FOR THE YELLOW LED INTO PIN 11<br />
int time;</p>

<p>//***********ARRAY TO STORE THE VALUES FROM THE MUX*********************<br />
int val[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};<br />
//************DIGITAL VALUES TO CONTROL OUR 16 INPUTS*******************<br />
int d_bin[]={LOW,LOW,LOW,LOW,LOW,LOW,LOW,LOW,HIGH,HIGH,HIGH,HIGH,HIGH,HIGH,HIGH,HIGH};<br />
int c_bin[]={LOW,LOW,LOW,LOW,HIGH,HIGH,HIGH,HIGH,LOW,LOW,LOW,LOW,HIGH,HIGH,HIGH,HIGH};<br />
int b_bin[]={LOW,LOW,HIGH,HIGH,LOW,LOW,HIGH,HIGH,LOW,LOW,HIGH,HIGH,LOW,LOW,HIGH,HIGH};<br />
int a_bin[]={LOW,HIGH,LOW,HIGH,LOW,HIGH,LOW,HIGH,LOW,HIGH,LOW,HIGH,LOW,HIGH,LOW,HIGH};</p>

<p>//aux<br />
int close=0;<br />
int open=0;<br />
int a_val=0;<br />
int b_val=0;<br />
int c_val=0;<br />
int d_val=0;</p>

<p>//**************OPENS SERIAL***************<br />
void setup()<br />
{<br />
beginSerial(9600);<br />
pinMode(input, INPUT);<br />
pinMode(c, OUTPUT);<br />
pinMode(b, OUTPUT);<br />
pinMode(a, OUTPUT);<br />
pinMode(d, OUTPUT);<br />
pinMode(pin11, OUTPUT);<br />
pinMode(pin10, OUTPUT);<br />
pinMode(pin9, OUTPUT);<br />
pinMode(pin8, OUTPUT);<br />
}<br />
void loop() {<br />
for(open=0;open<=15;open++)<br />
{  <br />
//************SELECT MUX INPUT*************<br />
a_val=a_bin[open];<br />
b_val=b_bin[open];<br />
c_val=c_bin[open];<br />
d_val=d_bin[open];</p>

<p>digitalWrite(a,a_val);<br />
digitalWrite(b,b_val);<br />
digitalWrite(c,c_val);<br />
digitalWrite(d,d_val);<br />
delay(1);</p>

<p>//***************READ VALUE*******************<br />
val[open] = digitalRead(input); // read input value</p>

<p>Serial.print("For pin ");<br />
Serial.print(open,DEC);<br />
Serial.print(" we are getting ");<br />
Serial.println(val[open]);<br />
delay(300);<br />
}<br />
//*******************IF STATEMENT****************<br />
int greencount = 0;<br />
for (int jj=0;jj<16;jj++)<br />
greencount =  greencount + val[jj];<br />
if(greencount == 0)<br />
{<br />
  digitalWrite(pin10,HIGH);  <br />
}<br />
else<br />
{<br />
if(greencount != 0)<br />
  {<br />
  digitalWrite(pin10,LOW);<br />
  }<br />
}</p>

<p>if ((val[0] == 0) && (val[1] == 0) && (val[2] == 1) && (val[3] == 0) && (val[4] == 0) &&<br />
     (val[5] == 0) && (val[6] == 1) && (val[7] == 1) && (val[8] == 0) && (val[9] == 1) && <br />
     (val[10] == 1) && (val[11] == 0) && (val[12] == 0) && (val[13] == 1) && (val[14] == 1) &&<br />
     (val[15] == 1))     <br />
{<br />
  digitalWrite(pin8, HIGH);<br />
  digitalWrite(pin9, LOW);<br />
  digitalWrite(pin10,LOW);<br />
  Serial.println("WINNER!!!!!!!!!!!!!!!!!!!!!!!!!");<br />
} <br />
else<br />
{ <br />
   int ii;<br />
   int total_count = 0;<br />
   for (ii = 0; ii < 16; ii++)<br />
   {<br />
       total_count =  total_count + val[ii];<br />
   }<br />
   if ( total_count == 4 ) <br />
   {<br />
     digitalWrite(pin8, LOW);<br />
     digitalWrite(pin9, HIGH);<br />
     digitalWrite(pin10,LOW);<br />
     Serial.println("THERE IS FOUR ON!!!!!!!!!!!!!!!!!!!!!!!!!");<br />
    }<br />
   if (total_count == 7 )<br />
   {<br />
     digitalWrite(pin11, HIGH);<br />
     digitalWrite(pin9, LOW);<br />
     digitalWrite(pin8, LOW);<br />
     digitalWrite(pin10, LOW);<br />
     Serial.println("YOUR GETTING CLOSE!!!!!!!!!!!");<br />
   }<br />
   if ((val[0] == 0) && (val[1] == 0) && (val[2] == 1) && (val[3] == 0) && (val[4] == 0) &&<br />
     (val[5] == 0) && (val[6] == 1) && (val[7] == 1) && (val[8] == 0) && (val[9] == 1) && <br />
     (val[10] == 1) && (val[11] == 0) && (val[12] == 0) && (val[13] == 1) && (val[14] == 1) &&<br />
     (val[15] == 1))     <br />
{<br />
  digitalWrite(pin8, HIGH);<br />
  digitalWrite(pin9, LOW);<br />
  digitalWrite(pin10,LOW);<br />
  Serial.println("WINNER!!!!!!!!!!!!!!!!!!!!!!!!!");<br />
} <br />
 <br />
for ( ii = 0; ii < 16; ii++ )<br />
{<br />
  serialWrite(val[ii]);<br />
}<br />
}<br />
 delay(10);<br />
 printNewline();<br />
 Serial.println("Time: ");<br />
 time = millis();<br />
   Serial.println(time);<br />
}</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/we_actually_have_it_working.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/we_actually_have_it_working.html</guid>
         <category></category>
         <pubDate>Fri, 20 Oct 2006 17:54:03 +0000</pubDate>
      </item>
            <item>
         <title>Problems with our Multiplexer / Wiring</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">S</span>o Allister has a Multiplexer that we decided to push forward with.  We wired the entire breadboard the prior night hoping to tackle the code the following day.  </p>

<p>The Following Day:<br />
We did find some <a href="http://www.arduino.cc/playground/Code/MUX151">code</a> from the Arduino website to start with, but we weren't even sure if the Multiplexer worked.   We we started working with the Serial to see what kind of outputs we were getting. This led to hours of watching different varations of 0's and 1's run through the Serial for various reasons.  Unfortunately none of the reasons made much sense to us.  We were convinced the problem was within our code so that is where we spent most of our troubleshooting.  </p>

<p>It wasn't until <a href="http://itp.nyu.edu/~bac255/new_blog/">Ben Chao</a> looked at our code, rewrote some of it and then troubleshooted our breadboard that we realized some of our mistakes.  As you see below, we forgot to run power to all our switches on the left side.  But our big problem was the face we weren't grounding our switches before running them into our Multiplexer.  This caused an incomplete circuit making it impossible for the Arduino to read anything.  <br />
<img alt="2ndPrototypeErrors.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototypeErrors.jpg" width="500" height="429" /><br />
It was really helpful to have someone with a programming background help us out because instead of thinking the code was the problem, he helped us realized it was actually the wiring.  </p>

<p>Now using the Multiplexer's datasheet we filled in the array from the orginal code and we are now able to see each switch through Serial.  Yipee!!!</p>

<p>Here is our code at this point. <a href="http://itp.nyu.edu/~cb1591/PComp/images/TwisterCode_10_16_06.rtf">[Code]</a><br />
</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/problems_with_our_multiplexer.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/problems_with_our_multiplexer.html</guid>
         <category></category>
         <pubDate>Tue, 17 Oct 2006 16:43:35 +0000</pubDate>
      </item>
            <item>
         <title>2nd Prototype - 16 Switches</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">W</span>e know we can create the twister board on a small scale, now it's time to see if we can do it on a normal scale.  We decided on 4 separate colors in 4 rows and 4 colors, which means we will have a total of 16 switches.  This is where our problems started.</p>

<p><img alt="2ndPrototypeDrawing.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototypeDrawing.jpg" width="450" height="507" /></p>

<p><img alt="2ndPrototype.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototype.jpg" width="450" height="461" /></p>

<p>Liz and Allister discovered a way of coding the 16 switches using something called Row-Column Scanning.  Allister also purchased a Multiplexer for another possible solution.  Here is what we discovered:</p>

<p>We didn't want to use the Multiplexer at first because we have never used a Multiplexer and from what we gathered there is no documentation on using a Multiplexer with an Arduino.  So Row-Column Scanning was our first choice.</p>

<p>We were able to wire the board with the 16 switches allowing each row to turn on a corresponding LED.<br />
<img alt="2ndPrototype3.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototype3.jpg" width="450" height="366" /></p>

<p>This is where we ran into our first issue with our 16 switches.  The way Row-Column Scanning works is that you have to have a pin for every row and column.  Which in our case is a total of 8 pins considering we have 4 rows and 4 columns.  That means we have 8 pins for the rows and columns in addition to our 4 LEDs coming out of our Arduino as outputs.   We realized we don't have enough pins.  So Row-Column Scanning will not work.</p>

<p>On to the Multiplexer...<br />
<img alt="2ndPrototype_DataSheet.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototype_DataSheet.jpg" width="450" height="435" /></p>

<p>Allister took a picture of the Multiplexer's datasheet at the store he bought it at.  We then spent most of the night trying to figure out what it all meant.  After getting a pretty good idea of how the Multiplexer is setup we asked a friend who has used Multiplexer's before if she could help.  This is where we discovered the problem with the Multiplexer.  Apparently the way a Multiplexer works is managing 16 inputs with only 4 switches.  This will not work for our idea since we need each of the 16 switches to work independently of each other. So now we are under the impression the Multiplexer will not work.</p>

<p>Here is some info on Multiplexers that was helpful:<br />
<a href="http://en.wikipedia.org/wiki/Multiplexer">Wiki - Multiplexer</a><br />
<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1138666403">Thread</a> on using an Analog Mux with the arduino</p>

<p>After brainstorming other solutions the same friends who said it wouldn't work said if we use the Multiplexer is a different way we could have the result we are looking for.  She explained if we used the Multiplexer to scan all 16 inputs then using the 4 selects (data inputs) in the Multiplexer we can write a loop that will constantly scan the 16 inputs to see which combination is turned on.  So we went with it.</p>

<p><img alt="2ndPrototype_Multplexer.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototype_Multplexer.jpg" width="450" height="404" /></p>

<p>Allister than cut a board so we could keep everything together:<br />
<img alt="Allister.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/Allister.jpg" width="450" height="372" /></p>

<p>Everything is wired and now ready for the coding.....we hope:<br />
<img alt="2ndPrototypeEnd-of-Day.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/2ndPrototypeEnd-of-Day.jpg" width="450" height="295" /></p>

<p>By the way we are using a 16:1 Digital Multiplexer and the datasheet Allister found is <a href="http://itp.nyu.edu/~cb1591/PComp/images/sn74150.pdf" >here</a>.</p>

<p><br />
</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/2nd_prototype_16_switches.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/2nd_prototype_16_switches.html</guid>
         <category></category>
         <pubDate>Mon, 16 Oct 2006 17:25:09 +0000</pubDate>
      </item>
            <item>
         <title>Mid-Term: 1st Prototype</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">R</span>unning with the Interactive Twister idea we decided to work it out on our motherboard in it's simplest form.  We threw 3 LEDs on the board with 3 switches and wrote a quick code similar to a combination lock.  We were able to create a combination of turning on two switches which resulted in producing a specfic light.</p>

<p><img alt="prototype1.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/prototype1.jpg" width="450" height="364" /></p>

<p><img alt="Prototype2.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/Prototype2.jpg" width="450" height="345" /></p>

<p><br />
We then wired a paper matt we made using tin foil for our switches.</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/midterm_1st_prototype.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/midterm_1st_prototype.html</guid>
         <category></category>
         <pubDate>Mon, 16 Oct 2006 17:18:19 +0000</pubDate>
      </item>
            <item>
         <title>Mid-Term Idea</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">W</span>eek 2: Making a Prototype</p>

<p>Tuesday, Oct. 10th: We had our third meeting. It seemed like we were worried about creating an idea based on our observations. However, settled on something very quickly and become working out the technical problems.</p>

<p>Our Idea:</p>

<p>Twister is a game that is familiar to all of us. It has alot to do with motion but what if it had more to do with dancing? What would that game be like? We decided to try and create a musical version of Twister. This game would be played by two people who might like to dance together. Here's what it would look like.</p>

<p><img alt="PComp-MidTerm-.jpg" src="http://itp.nyu.edu/~cb1591/PComp/images/PComp-MidTerm-.jpg" width="500" height="417" /></p>

<p>The people playing will step on the circles. If they get the wrong combination the red light and a buzz will go off. If they get the right combination then the blue light will go off and a song with play. The goal is to get the right combination.</p>

<p>Problems with the Idea</p>

<p>We thought we should use pressure sensors to communicate with the arduino. These sensors would tell the arduino when someone stepped on the circle. However, we soon discovered that these sensors are expensive and hard to find. The computer store did have touch sensors but these too were expensive.</p>

<p>Allistar and Liz talked to Dan Shiffman and he gave us some helpful advice. We realized we didn't need a sensor we just needed to create a switch that people would step on. These could be made easily out of foil. It was amazing to realize that we just needed to think about things differently to make it work! </p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/midterm_idea.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/midterm_idea.html</guid>
         <category></category>
         <pubDate>Mon, 16 Oct 2006 16:05:35 +0000</pubDate>
      </item>
            <item>
         <title>Obersvation - Social Interaction within Nightclub Dancing</title>
         <description><![CDATA[<p><img alt="napoleon22.gif" src="http://itp.nyu.edu/~cb1591/PComp/images/napoleon22.gif" width="380" height="294" /></p>

<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">T</span>he group decided on dancing for our motion but I don't see any significant way of using technology to re-invent dance moves so my approach has more to do with the social interaction while dancing. A common thread we all seem to share is the approach or denial of dancing with someone while at a club or bar.</p>

<p>Dancing is such a non-verbal action that even if one person is not interested in dancing with another person they typically won't verbally express it. It can take multiply hints of dancing away from the person or turning their back to them in order to discourage them from dancing with you. It is very rare that it will be verbally expressed.</p>

<p>So I thought if there was a way of communicating with each other while dancing without having to verball say anything that could help engage people or disengage people from dancing with each other.</p>

<p>Right now, I feel the best way would be some kind of lighting system that could be worn which could have three positions, Red, Yellow, Green. So if you had a Red light on, that means you are perfectly content in dancing alone or with the people you currently have around you. If the light is Green, you are open to people approaching you to dance. And if you have the light on Yellow, then you can send mixed signals which can be neither stay away or I'm open to anyone.</p>

<p>I would have to be obvious enough that other people could see it but suttle enough that it won't be terrible distracting. </p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/10/obersvation_social_interaction.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/10/obersvation_social_interaction.html</guid>
         <category></category>
         <pubDate>Wed, 04 Oct 2006 19:51:45 +0000</pubDate>
      </item>
            <item>
         <title>Mid-Term Assignment....I Just Wanna Dance!</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">I</span> just got done meeting with my group, Allister and Liz, for my mid-term project in P-Comp.  The assignment is to observe something and answer a series of questions about the action we are observing.  After a 20 - 30 minutes brainstorming session with ideas ranging from:<br />
turn on a TV<br />
open a door<br />
shaking hands<br />
walking<br />
using a breathalizer<br />
opening combination lock we agreed on "dancing."  </p>

<p>We all agreed in having similar situations of indirectly and directly observing people dance.  I personally wasn't sure where we would be able to go with this idea until I left the group and sat down to start my ICM homework.  Then I remembered Allister and Liz talking about the situation when a guy or girl has trouble communicating with a dance partner.  Since dancing is typically a non-verbal action, the communication between partners is usually non-verbal, so could there be a non-evasive device that could be used to communicate with dance partners????</p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/09/midterm_assignment.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/09/midterm_assignment.html</guid>
         <category></category>
         <pubDate>Thu, 28 Sep 2006 23:48:20 +0000</pubDate>
      </item>
            <item>
         <title>In Depth Observation</title>
         <description><![CDATA[<p><span style="float:left;color:silver;font-size:100px;line-height:70px;padding-top:2px;font-family: times;">M</span>y observation was the interaction between a user, a video game and the remote controller used.  The person in my observation has always been sitting with their direct attention to the screen.  The user will have to go through a few steps to get the game going.  They turn on the game system, wait for the game to load then press start and choose the kind of game.  </p>

<p>The user will always keep the controller in their hands even when the game is on pause.  The more experienced the user the more fluid their movements.  A user just learning will occasionally look down at the controller to see which buttons they are pushing, while an experienced user will know exactly which buttons they are pushing at all times.  </p>

<p>The worse the person is doing in the game the more movements using their entire body.  As though if they use more of their body they will get more response from the remote control.  The closer the game is between the users the closer each user will lean in to see the screen.  </p>

<p>The most strenuous part of playing the game would be the use of the user's thumbs.  If the user does well in the game or loses there is typically a vocal response.  </p>]]></description>
         <link>http://itp.nyu.edu/~cb1591/PComp/2006/09/in_depth_observation.html</link>
         <guid>http://itp.nyu.edu/~cb1591/PComp/2006/09/in_depth_observation.html</guid>
         <category></category>
         <pubDate>Wed, 27 Sep 2006 21:40:41 +0000</pubDate>
      </item>
      
   </channel>
</rss>

