<?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; arduino</title>
	<atom:link href="http://davidphillips.us/tag/arduino/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>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>

