<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Phillips &#187; Physical Computing</title>
	<atom:link href="http://davidphillips.us/category/pcomp/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidphillips.us</link>
	<description>Hiya!  I&#039;m a recent ITP graduate student living in New York.  I am hybrid of both designer and front end developer.  I make a mean Keynote too.</description>
	<lastBuildDate>Thu, 19 Jan 2012 18:44:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PComp Final: UnPlug</title>
		<link>http://davidphillips.us/2009/12/pcomp-final-unplug/</link>
		<comments>http://davidphillips.us/2009/12/pcomp-final-unplug/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 05:08:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=218</guid>
		<description><![CDATA[UnPlug Official Website Ever worry about saving the environment? No? Did you know that even when your lights and other appliances are turned off they still sap energy just by being plugged in? Now there is a no brainer solution. &#8230; <a href="http://davidphillips.us/2009/12/pcomp-final-unplug/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_219" class="wp-caption alignleft" style="width: 219px"><img class="size-medium wp-image-219  " title="unpluglayut-1-web" src="http://davidphillips.us/wp-content/uploads/2009/12/unpluglayut-1-web-209x300.jpg" alt="unpluglayut-1-web" width="209" height="300" /><p class="wp-caption-text">Click to Enlarge User Instructions</p></div>
<h3><strong>UnPlug</strong><br />
<a href="http://un-plug.com" target="_blank">Official Website</a></h3>
<p>Ever worry about saving the environment? No? Did you know that even when your lights and other appliances are turned off they still sap energy just by being plugged in? Now there is a no brainer solution. UnPlug is a light sensitive device that unplugs your utilities when you leave the house.</p>
<p><strong>Background</strong><br />
My initial idea was to utilize biomimicry and have the surge protector push out of the wall with legs. After running into issues with finding proper springs or a linear actuator, I opted for a basic HiTec HS-311 servo motor. There were also issues with with using one Arduino for both the servo and the wave shield, even when the servo was receiving a separate power source, so I opted for a 2nd Arduino.</p>
<p><strong>Audience</strong><br />
As an energy saving device this product is marketable to a large range of users, though the target audience would lean towards a younger, more environmentally conscious user. The addition of music, lending a humorous edge, skews UnPlug towards a trendy green demographic.<br />
<span id="more-218"></span><br />
<strong>User Scenario</strong><br />
The user is ready to leave the house and turns off the main light. But what about the surge protector with 6 things still sucking power? Not to worry. UnPlug recognizes the owner has left from the change in light and proceeds to unplug itself to the triumphal sounds of Sprach Zarathustra (2001, A Space Odyssey). The user will have saved money and the planet.</p>
<p><strong>Implementation</strong><br />
The current iteration is made of 2 Arduinos, a wave shield, a servo motor, a foamcore chassis and 2 recyclable battery supplies.</p>
<p>Short term goals of the project would switch out the input reaction from a photocell to a bluetooth connection, tied in with your cellphone.</p>
<p>Future implementations of the physical device possibly offer a DIY kit, allow the battery supply to be rechargable from the outlet, switch out the foamcore body with thin recycled cardboard, moving from 2 Arduino boards to one, and in the long term, containing the entire body to the size of the outlet.</p>
<p><strong>Conclusion</strong><br />
While going through servo motors, I learned if you use two voltage regulators to provide power, it will double the current to the servo motor. The initial concept included hobgoblins, an escape path and&#8230;well, it was a long and involved narrative. Through talking with the residents, I discovered the need for inherent narrative, not something tacked on afterward. The original project would have come across glib. The current iteration has the same possibility, but to a much lesser extent.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/12/pcomp-final-unplug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PComp &#8211; Final Project Update 1: Troubled Waters</title>
		<link>http://davidphillips.us/2009/11/pcomp-final-project-update-1-troubled-waters/</link>
		<comments>http://davidphillips.us/2009/11/pcomp-final-project-update-1-troubled-waters/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 04:12:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=186</guid>
		<description><![CDATA[It is Monday night.  I have tried several ways of building the legs, and I have found resistance on an engineering front for all. Design Changes &#8211; I changed the concept a bit, now using the legs horizontally, as the &#8230; <a href="http://davidphillips.us/2009/11/pcomp-final-project-update-1-troubled-waters/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is Monday night.  I have tried several ways of building the legs, and I have found resistance on an engineering front for all.</p>
<p><strong><a href="http://davidphillips.us/wp-content/uploads/2009/11/pcomp-final-mousetrap.jpg"><img class="alignleft size-medium wp-image-195" title="pcomp-final-mousetrap" src="http://davidphillips.us/wp-content/uploads/2009/11/pcomp-final-mousetrap-300x168.jpg" alt="pcomp-final-mousetrap" width="300" height="168" /></a>Design Changes</strong> &#8211; I changed the concept a bit, now using the legs horizontally, as the vertical push of the cricket could possibly shove the surge protector in the air and not away from the wall.  The legs now looked similar to a frog.  The mechanisms are the same.   In addition, I decided to add a ramp for the surge protector, so the frog design would have more of a lateral push.</p>
<p><strong>1.  Springs on the Leg</strong> &#8211; bought a jar opener to provide me with some metal legs and a mousetrap.  It turned out the mousetrap didn&#8217;t provide me with enough strength to have the legs pop open.  I went out and bought a rat trap to provide me with a stronger snap.  It was very strong(and fairly dangerous.)  I then tried to add my legs into the spring mechanism, but then had no way of getting the metal center back onto the wooden board.<br />
<span id="more-186"></span></p>
<p><strong><a href="http://davidphillips.us/wp-content/uploads/2009/11/pcomp-final-servo.jpg"><img class="alignleft size-medium wp-image-194" title="pcomp-final-servo" src="http://davidphillips.us/wp-content/uploads/2009/11/pcomp-final-servo-300x168.jpg" alt="pcomp-final-servo" width="300" height="168" /></a></p>
<p>2. Servo on the Leg</strong> &#8211; I decided brute force would be nice and borrowed a Mega servo hitec HS-805BB+.  The plan is to attach it to a $16 desk lamp(after removing the heavy lamp head.) and use the hinged body as the legs.  The servo needs it&#8217;s own power supply, so after several drafts of supply apparati, I finally used a 12V plug with a voltage regulator.  However, the servo doesn&#8217;t seem to be receiving power.  I&#8217;m afraid I shorted the servo, but there was no indication to prove as such.</p>
<p><strong>Current Status</strong> &#8211; At this stage, I am testing the Servo to see if I blew it up.  if so, I&#8217;ll need to buy 2 more at $40 a pop: one for the person who lent it to me and one to me to continue to work on the project.  I will buy another rat trap tomorrow.  I will use each side of the trap arms and attach legs to them and then joint those legs to longer legs which will connect directly to the wall.  V1 &#8211; If I can create a mechanism to set off the spring and A) not kill anyone and B) snap the legs, then I&#8217;ll continue on the course.  Likewise for V2, I should be able to get assistance on the legs tomorrow in regards to the servo, and if I can get the servo to work, I believe I can either attach it to the leg or simply connect it directly to the surge protector and have the hobgoblins kick off directly from the wall or come up with a new Trojan animal.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/11/pcomp-final-project-update-1-troubled-waters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PComp &#8211; H Bridge Lab</title>
		<link>http://davidphillips.us/2009/11/pcomp-h-bridge-lab/</link>
		<comments>http://davidphillips.us/2009/11/pcomp-h-bridge-lab/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 04:50:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=166</guid>
		<description><![CDATA[www.youtube.com/watch?v=upwm-78jOaw This is the video for the Physical Computing Lab. The switch changes where the DC motor gets it&#8217;s power, letting it run clockwise to counterclockwise. The video shot in slow-mo, so instead of wasting time reshooting it, I wasted &#8230; <a href="http://davidphillips.us/2009/11/pcomp-h-bridge-lab/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=upwm-78jOaw&#038;fmt=18">www.youtube.com/watch?v=upwm-78jOaw</a></p>
<p>This is the video for the Physical Computing Lab. The switch changes where the DC motor gets it&#8217;s power, letting it run clockwise to counterclockwise. The video shot in slow-mo, so instead of wasting time reshooting it, I wasted time editing it together and adding music.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/11/pcomp-h-bridge-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Physical Computing &#8211; Week 7 Lab</title>
		<link>http://davidphillips.us/2009/10/physical-computing-week-7-lab/</link>
		<comments>http://davidphillips.us/2009/10/physical-computing-week-7-lab/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 03:13:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=135</guid>
		<description><![CDATA[www.youtube.com/watch?v=LcAEgbM5iaw]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=LcAEgbM5iaw&#038;fmt=18">www.youtube.com/watch?v=LcAEgbM5iaw</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/10/physical-computing-week-7-lab/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stupid Pet Trick: The Zombie Alarm Clock</title>
		<link>http://davidphillips.us/2009/10/stupid-pet-trick-the-zombie-alarm-clock/</link>
		<comments>http://davidphillips.us/2009/10/stupid-pet-trick-the-zombie-alarm-clock/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 02:42:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[alarm]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[pet]]></category>
		<category><![CDATA[physical computing]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[zombie]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=94</guid>
		<description><![CDATA[www.youtube.com/watch?v=NsZ_cIv32Mg The events took many, many days to get it to work.  However, the end result was exactly what I wanted. Part Zero &#8211; Starting and then Starting Over The entire goal was for this to be an alarm clock, &#8230; <a href="http://davidphillips.us/2009/10/stupid-pet-trick-the-zombie-alarm-clock/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=NsZ_cIv32Mg&#038;fmt=18">www.youtube.com/watch?v=NsZ_cIv32Mg</a></p>
<p>The events took many, many days to get it to work.  However, the end result was exactly what I wanted.</p>
<p><strong>Part Zero &#8211; Starting and then Starting Over</strong></p>
<p>The entire goal was for this to be an alarm clock, so my assumption was that I needed to find Alarm Clock code for the Arduino.  I found code online and then tried to descipher it.  I understood the basic infrastructure, but the code was so far beyond me as far as transforming it, I decided to scrap it and start with a shorter milestones.</p>
<p><strong>Part One &#8211; Getting the Servo Motor &amp; LED to work with a switch.</strong></p>
<p><strong> </strong></p>
<div id="attachment_108" class="wp-caption alignnone" style="width: 560px"><img class="size-full wp-image-108" title="stupid-pet-trick-1" src="http://davidphillips.us/wp-content/uploads/2009/10/stupid-pet-trick-1.jpg" alt="Putting It Together" width="550" height="413" /><p class="wp-caption-text">Putting It Together</p></div>
<p>My initial work was going through the labs from our homework and trying to fit them to my needs.  The first lab had an LED that reacted to a switch.  I needed the Servo to react to the same switch, but reacted with an analog sensor.  First, I tried them both with the flex sensor, then after some finnagling, I got them to react to the same switch.</p>
<p><strong>Part Two &#8211; Using a clock</strong></p>
<p><strong><img class="alignnone size-full wp-image-109" title="stupid-pet-trick-2" src="http://davidphillips.us/wp-content/uploads/2009/10/stupid-pet-trick-2.jpg" alt="stupid-pet-trick-2" width="550" height="413" /></strong></p>
<p>The next hurdle was to get the Servo to move on a timer.  After several failed attempts of using online code, John The Badass Resident showed me how to use the a <em>startTime=millis();</em> in my void loop, the built-in timer on the Arduino, when you start your code up.  It worked like a charm.  I knew there would be a hurdle when creating the snooze button, but I figured there was a way to work around that.</p>
<p><strong>Part Three &#8211; Abandoning The Clock</strong></p>
<p>Well, after trying to get the timer to work with my Servo and LED, I couldn&#8217;t get it to restart and John was long gone, so I worked with a friend&#8217;s code, Zeven and used a time variable.  That gave me the ability to restart.  For whatever reason, the LED wasn&#8217;t lighting up as well, which made no sense at all.</p>
<p><strong>Part Four &#8211; The Final Arduino Code</strong></p>
<p><strong><img class="alignnone size-full wp-image-110" title="stupid-pet-trick-3" src="http://davidphillips.us/wp-content/uploads/2009/10/stupid-pet-trick-3.jpg" alt="stupid-pet-trick-3" width="550" height="401" /></strong></p>
<p>It&#8217;s the night before and I&#8217;m trying not to stress out.  I again ask for help, apparently getting people into trouble and all sorts of various fun.  I know it&#8217;s a coding issue, and I just don&#8217;t know enough about coding.  John The Awesome Resident puts me in contact with a certain 2nd Year, who will go by the codename &#8220;The Bicyclist.&#8221;  The Bicyclist sits down and wipes out all my void loop code.  We go through and add <strong>two more variables</strong> (timer and stepDelay) and clean up my void setup and, step by step, we go through and piece by piece, make sure the code is speaking to each piece of hardware and then place it on the timer, and then go through and clean it up again.  The trick was really to reset the <em>millis</em> to the current time by nesting it in the <em>long timer</em>.  He showed me firsthand what it was like to code correctly.  It was genius.  Honestly, it&#8217;s to a point where I don&#8217;t want to go code again, cuz I finally did it correctly, and I wanna just have that be my lasting memory.  This is a terrible idea, obviously, so I&#8217;ll be working on the tone library tomorrow.</p>
<p><strong>Part Five &#8211; Aesthetics, Aesthetics, Aesthetics</strong></p>
<p>Until this point in the operation, I didn&#8217;t have any of my visuals put together.  That was the easy part.  I quickly constructed a house front, a fence and put a construction truck on a nice pice of varnished rich wood that I found laying around.  I printed out several zombie pictures, including one from an artist depicting a scene from Pride, Prejudice &amp; Zombies.  I hid the switch behind the piece.</p>
<p><strong>Part 6 &#8211; The Future</strong></p>
<p>The real question is do I continue to pursue this or do I abandon this project?  Is there a market for this?  When the heck would I have time to work on it?  I&#8217;ve given it a bit of thought, and I know what the next phases are:</p>
<ul>
<li><em>Phase 2</em> &#8211; Brighten the LED, add Wave shield to play zombie themed music</li>
<li><em>Phase 3</em> &#8211; Set to clock.</li>
<li><em>Phase 4</em> &#8211; The zombies walking toward the farmhouse would dance to the music when it turns on via servo motors &amp; some clever gearing/pulleys.</li>
<li><em>Phase 5</em> &#8211; Add nightlight funciton. Press button and the Servo goes behind the farmhouse, setting off a transluscent moon graphic with blue LED.  Human in farmhouse turns switches out with one that is werewolf, possibly have zombies turn and look like they&#8217;re running.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/10/stupid-pet-trick-the-zombie-alarm-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 3 Lab</title>
		<link>http://davidphillips.us/2009/09/week-3-lab/</link>
		<comments>http://davidphillips.us/2009/09/week-3-lab/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:32:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=79</guid>
		<description><![CDATA[Alright, well, I got all hte way through Part 3 of the Lab, but that&#8217;s as far as I got. Red&#8217;s class. I almost burned out my voltage regulator. Good lord. Honestly, I&#8217;m aiming to get my stupid pet trick &#8230; <a href="http://davidphillips.us/2009/09/week-3-lab/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Alright, well, I got all hte way through Part 3 of the Lab, but that&#8217;s as far as I got.  Red&#8217;s class.  I almost burned out my voltage regulator.  Good lord. Honestly, I&#8217;m aiming to get my stupid pet trick done today.  TBD.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/09/week-3-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PComp &#8211; Potentiometer</title>
		<link>http://davidphillips.us/2009/09/pcomp-potentiometer/</link>
		<comments>http://davidphillips.us/2009/09/pcomp-potentiometer/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 16:28:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[physical]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=71</guid>
		<description><![CDATA[Alright, well, I didn&#8217;t have many problems, it all worked like it should, which is phenomenal.  I spent too much time (conceptualizing) on my Fantasy Device, otherwise I would have worked on other analog resistors.  Next time I need to &#8230; <a href="http://davidphillips.us/2009/09/pcomp-potentiometer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-73 alignleft" title="potentiometer" src="http://davidphillips.us/wp-content/uploads/2009/09/potentiometer-300x225.jpg" alt="potentiometer" width="300" height="225" />Alright, well, I didn&#8217;t have many problems, it all worked like it should, which is phenomenal.  I spent too much time (conceptualizing) on my Fantasy Device, otherwise I would have worked on other analog resistors.  Next time I need to spend more time on the physical, and not on the conceptual, would be my guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/09/pcomp-potentiometer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantasy Device &#8211; The Proof</title>
		<link>http://davidphillips.us/2009/09/fantasy-device-the-proof/</link>
		<comments>http://davidphillips.us/2009/09/fantasy-device-the-proof/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 16:19:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=66</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_63" class="wp-caption alignnone" style="width: 610px"><img class="size-full wp-image-63" title="Proof-web" src="http://davidphillips.us/wp-content/uploads/2009/09/Proof-web.jpg" alt="Introducing the Proof" width="600" height="450" /><p class="wp-caption-text">Introducing the Proof</p></div>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/09/fantasy-device-the-proof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sensor Walk</title>
		<link>http://davidphillips.us/2009/09/sensor-walk/</link>
		<comments>http://davidphillips.us/2009/09/sensor-walk/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 05:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[physical]]></category>
		<category><![CDATA[physical computing]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[walk]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=25</guid>
		<description><![CDATA[Alright, so I went through my neighborhood to try and find some interesting items.  Here are the top three: The callbox: The Landlord]]></description>
			<content:encoded><![CDATA[<p>Alright, so I went through my neighborhood to try and find some interesting items.  Here are the top three:</p>
<div id="attachment_45" class="wp-caption alignnone" style="width: 235px"><img class="size-medium wp-image-45" title="card reader" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3071-225x300.jpg" alt="card reader" width="225" height="300" /> <p class="wp-caption-text">I think of it as low level, but one could argue that it&#39;s high level.  It listens/reads the information I give it, comprehends it to know I have paid my money, and then in turn lets me through the turnstile.  However, the conversation was rather boorish.</p></div>
<p>The callbox:</p>
<div id="attachment_50" class="wp-caption alignnone" style="width: 235px"><img class="size-medium wp-image-50" title="callbox &amp; separate buzzer" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3078-225x300.jpg" alt="callbox &amp; separate buzzer" width="225" height="300" /><p class="wp-caption-text">I love this thing. It&#39;s another low level interactive piece.  You press a button and it supposedly dials out to the respective room.  However, if you notice above the callbox is a regular doorbell, presumably cuz the callbox has what I call FAIL.</p></div>
<p>The Landlord</p>
<div id="attachment_53" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-53" title="Bricks holding up my cabinetry" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3081-300x225.jpg" alt="This is the result of my interactive experience with my super.  He is incredibly nice, but when I mentioned to him that a brick was holding up my cabinets, he promtply came in, leaned on it, rushed out and got ANOTHER brick with pieces of tile. After shoving the second set of textiles in, he said, &quot;There, shouldn't budge.&quot;" width="300" height="225" /><p class="wp-caption-text">This is the result of my interactive experience with my super.  He is incredibly nice, but when I mentioned to him that a brick was holding up my cabinets, he promtply came in, leaned on it, rushed out and got ANOTHER brick with pieces of tile. After shoving the second set of textiles in, he said, &quot;There, shouldn&#39;t budge.&quot;  The information was listened to, thought about, but the response was not at all in cooperation with my meaning.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/09/sensor-walk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week One &#8211; Arduino and the Switch</title>
		<link>http://davidphillips.us/2009/09/week-one-arduino-and-the-switch/</link>
		<comments>http://davidphillips.us/2009/09/week-one-arduino-and-the-switch/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 00:43:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[physical]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://davidphillips.us/?p=5</guid>
		<description><![CDATA[This assignment was for Week One of my Intro to Physical Computing course. I went in three passes in the hopes of understanding my arduino better. I ran into several issues, but since this is the first time I&#8217;m fully &#8230; <a href="http://davidphillips.us/2009/09/week-one-arduino-and-the-switch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-17" title="Arduino" src="http://davidphillips.us/wp-content/uploads/2009/09/arduino_duemilanove_redo-300x216.jpg" alt="Arduino" width="300" height="216" />This assignment was for Week One of my Intro to Physical Computing course. I went in three passes in the hopes of understanding my arduino better. I ran into several issues, but since this is the first time I&#8217;m fully using electronics, I am not going to beat myself up.</p>
<p><strong>PASS ONE:</strong><br />
Components:<br />
Four Cables<br />
Arduino<br />
NO code.</p>
<p>I ran a simple through line from Arduino to red cable to green cable to LED to orange cable to yellow cable to ground.  I was just excited about getting the LED to light up!<br />
<img class="alignnone size-medium wp-image-12" title="IMG_3042-right-side" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3042-right-side-300x225.jpg" alt="IMG_3042-right-side" width="300" height="225" /></p>
<p><em>Mistakes: forgot resistor</em></p>
<p><strong>PASS 2 &#8211; Using the Blinkie code.</strong></p>
<p>Added Components:<br />
220Ω Resistor<br />
Arduino code</p>
<p>I added the resistor, after feeling foolish.  I will be going back and writing in the code myself (as was suggested by the Resident Help).  I gave the Arduino power, gave it code and&#8230;nothing.</p>
<div id="attachment_14" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-14" title="Blinkie-arduino" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3045-web-300x225.jpg" alt="Yay resistors!" width="300" height="225" /><p class="wp-caption-text">Yay resistors! Boo not working!</p></div>
<p>It refused to light up.  I showed it to a classmate, who had previous Arduino experience. &#8220;Why do you have so many cables?&#8221; he asked.  We pulled all of the wires out and started over with as little as possible.  This time, it worked.</p>
<p><img class="size-full wp-image-19 alignnone" title="IMG_3049" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3049.gif" alt="IMG_3049" width="400" height="300" /></p>
<p><em>Mistakes: Not reading instructions, only use what you need.</em></p>
<p><strong>PASS 3</strong></p>
<p>Added Components:<br />
New Arduino Code &#8211; Switch<br />
Two 220Ω Resistors<br />
One 10kΩ Resistor<br />
(Note: I actually used Three 220 resistors, but the issues that arise will unfold in good time.)</p>
<p>For the sake of time, I just copied and pasted the code, at the behest of a friend.  That wasn&#8217;t so bright, so I&#8217;ll need to go back and do it again, and figure out how it correlates with the hardware.  I decided to go sans switch, in order to simplify the situation and then later I&#8217;ll experiment with switch.</p>
<p>The light wasn&#8217;t switching very easily.  As it turned out, I used the wrong level resistor, cuz I didn&#8217;t read the directions.</p>
<p><img class="alignnone size-medium wp-image-21" title="IMG_3056" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3056-224x300.jpg" alt="IMG_3056" width="224" height="300" /></p>
<p>But after I continuously rubbed the switch wires together, I  got the 2nd light to turn on and take a picture.</p>
<p><img class="alignnone size-medium wp-image-22" title="IMG_3057" src="http://davidphillips.us/wp-content/uploads/2009/09/IMG_3057-224x300.jpg" alt="IMG_3057" width="224" height="300" /></p>
<p><em>Mistakes: Incorrect resistor.</em></p>
<p>If anyone would like has any suggestions for how to make this documentation less boring or more effective, please comment! Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://davidphillips.us/2009/09/week-one-arduino-and-the-switch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

