<?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>erratica &#187; arduino</title>
	<atom:link href="http://www.erratica.us/tag/arduino/feed" rel="self" type="application/rss+xml" />
	<link>http://www.erratica.us</link>
	<description>parsing architecture, culture and design</description>
	<lastBuildDate>Mon, 03 Oct 2011 03:58:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>P(h)ixel_02</title>
		<link>http://www.erratica.us/1186.html</link>
		<comments>http://www.erratica.us/1186.html#comments</comments>
		<pubDate>Thu, 28 May 2009 04:47:52 +0000</pubDate>
		<dc:creator>coche</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[experimental]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[nyc]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1186</guid>
		<description><![CDATA[So this is a bit more refined version of the P(h)ixel. For one, the structure is now laser-cut plexi and way less embarrasing than before. Second, it allowed for the test with the latex, which, is already giving me nightmares. I&#8217;m calling this thing my-own-private-videodrome. [flv:phyxel5.flv phixel5.jpg 500 375] A few things to resolve: Re-centering [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/05/img_2154.jpg" title="Erratica - Phixel"><img src="http://www.erratica.us/wp-content/uploads/2009/05/img_2154.thumbnail.jpg" alt="Erratica - Phixel" width="500" height="375" class="attachment wp-att-1187 centered" /></a></p>
<p>So this is a bit more refined version of the P(h)ixel. For one, the structure is now laser-cut plexi and way less embarrasing than before. Second, it allowed for the test with the latex, which, is already giving me nightmares. I&#8217;m calling this thing my-own-private-videodrome. </p>
<p>[flv:phyxel5.flv phixel5.jpg 500 375]<br />
<span id="more-1186"></span></p>
<p>A few things to resolve:<br />
Re-centering the vertical element.<br />
Lowering production cost (servos are clunky and gets expensive fast!).<br />
Create a field!</p>
<p>[flv:phyxel4.flv phixel4.jpg 500 375]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1186.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>P(h)ixel_01</title>
		<link>http://www.erratica.us/1184.html</link>
		<comments>http://www.erratica.us/1184.html#comments</comments>
		<pubDate>Wed, 27 May 2009 14:59:01 +0000</pubDate>
		<dc:creator>coche</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[experimental]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1184</guid>
		<description><![CDATA[This is the first crapotype of the p(h)ixel: a physical pixel that reacts to changes in the environment. The pixel is part of a larger matrix that can create a low-res mapping of the environment by pushing or pulling on a flexible membrane. The first test clip is after the jump below. Oh and for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/05/img_2146.jpg" title="Erratica - P(h)ixel"><img src="http://www.erratica.us/wp-content/uploads/2009/05/img_2146.thumbnail.jpg" alt="Erratica - P(h)ixel" width="500" height="375" class="attachment wp-att-1185 centered" /></a></p>
<p>This is the first <strong>crap</strong>otype of the p(h)ixel: a physical pixel that reacts to changes in the environment. The pixel is part of a larger matrix that can create a low-res mapping of the environment by pushing or pulling on a flexible membrane. The first test clip is after the jump below.<br />
Oh and for the record, I used my teeth to cut the cardboard&#8230;</p>
<p><span id="more-1184"></span></p>
<p>[flv:phyxel1.flv phyxel1.jpg 500 375]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1184.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Servo Control</title>
		<link>http://www.erratica.us/1156.html</link>
		<comments>http://www.erratica.us/1156.html#comments</comments>
		<pubDate>Fri, 17 Apr 2009 23:34:11 +0000</pubDate>
		<dc:creator>coche</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[experimental]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1156</guid>
		<description><![CDATA[[flv:servo_02.flv servo_02.jpg 500 375] A servo controlled by a photo-resistor. I know, not that interesting, but I&#8217;m working on that&#8230; Arduino / Wiring //The code uses Michal Rinott's 'Knob' code. I just swapped resistors. //connect the servo //yellow is control - connect to pin 9 pwm //red is power //black is gnd #include Servo myServo; [...]]]></description>
			<content:encoded><![CDATA[<p>[flv:servo_02.flv servo_02.jpg 500 375]</p>
<p>A servo controlled by a photo-resistor. I know, not that interesting, but I&#8217;m working on that&#8230;</p>
<p><span id="more-1156"></span><br />
Arduino / Wiring<br />
<code></p>
<p>//The code uses Michal Rinott's 'Knob' code. I just swapped resistors.</p>
<p>//connect the servo<br />
//yellow is control - connect to pin 9 pwm<br />
//red is power<br />
//black is gnd</p>
<p>#include <Servo.h></p>
<p>Servo myServo;</p>
<p>int potPin = 0;<br />
int val;</p>
<p>void setup (){<br />
pinMode (potPin, INPUT);<br />
myServo.attach (9);<br />
Serial.begin (9600);<br />
}</p>
<p>void loop (){<br />
val = analogRead (potPin);<br />
val = map (val, 0,1023,0,179); // convert to values in the 180 range<br />
myServo.write (val);<br />
delay (100);<br />
Serial.println (val);</p>
<p>}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1156.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Confetti</title>
		<link>http://www.erratica.us/1094.html</link>
		<comments>http://www.erratica.us/1094.html#comments</comments>
		<pubDate>Mon, 23 Mar 2009 05:19:47 +0000</pubDate>
		<dc:creator>coche</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1094</guid>
		<description><![CDATA[A photoresistor controlling the size, color, alpha and placement of the circles in processing. Code and clip after the jump below. [flv:arduino_confetti.flv arduino_confetti.jpg 500 375] //Processing import processing.serial.*; Serial myPort; int val; void setup() { size(200, 200); smooth (); String portName = Serial.list()[0]; myPort = new Serial(this, portName, 9600); } void draw(){ if ( myPort.available() [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/03/img_1767.jpg" title="Erratica - Confetti"><img src="http://www.erratica.us/wp-content/uploads/2009/03/img_1767.thumbnail.jpg" alt="Erratica - Confetti" width="500" height="375" class="attachment wp-att-1095 centered" /></a></p>
<p>A photoresistor controlling the size, color, alpha and placement of the circles in processing.</p>
<p>Code and clip after the jump below.<br />
<span id="more-1094"></span></p>
<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/03/img_1766.jpg" title="img_1766"><img src="http://www.erratica.us/wp-content/uploads/2009/03/img_1766.thumbnail.jpg" alt="img_1766" width="500" height="375" class="attachment wp-att-1098 centered" /></a></p>
<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/03/img_1765.jpg" title="Erratica - Confetti"><img src="http://www.erratica.us/wp-content/uploads/2009/03/img_1765.thumbnail.jpg" alt="Erratica - Confetti" width="500" height="375" class="attachment wp-att-1096 centered" /></a></p>
<p>[flv:arduino_confetti.flv arduino_confetti.jpg 500 375]</p>
<p><code><br />
//Processing</p>
<p>import processing.serial.*;</p>
<p>Serial myPort;<br />
int val;     </p>
<p>void setup()<br />
{<br />
  size(200, 200);<br />
  smooth ();<br />
  String portName = Serial.list()[0];<br />
  myPort = new Serial(this, portName, 9600);<br />
}</p>
<p>void draw(){</p>
<p>  if ( myPort.available() > 0) {<br />
    val = myPort.read();<br />
  }</p>
<p>  if (val > 20) {<br />
  fill (random (val),random (val), random (val),  val*1.25);<br />
  ellipse (random (val),random (val),val/4,  val/4);</p>
<p>}</p>
<p>  if (val >20){<br />
  println (val);<br />
  }<br />
}</p>
<p>//arduino + wiring</p>
<p>int potPin = 0;<br />
int val = 0;</p>
<p>void setup (){<br />
  Serial.begin (9600);<br />
}</p>
<p>void loop (){<br />
  val = analogRead (potPin)/4;<br />
  delay (100);<br />
  Serial.print (val, BYTE);<br />
  Serial.println();  </p>
<p>}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1094.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Two Leds, Two Resistors</title>
		<link>http://www.erratica.us/1056.html</link>
		<comments>http://www.erratica.us/1056.html#comments</comments>
		<pubDate>Thu, 12 Feb 2009 23:28:44 +0000</pubDate>
		<dc:creator>coche</dc:creator>
				<category><![CDATA[arduino]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1056</guid>
		<description><![CDATA[Currently reading the data from two photocell resistors and controlling the blink rate of two led&#8217;s with it. Right now they work one after the other, I&#8217;m still trying to figure out if it&#8217;s possible to make them work so that each resistor controls each led independently yet simultaneously. Brandt any ideas? Code after the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.erratica.us/wp-content/uploads/2009/02/arduino.jpg" title="Erratica - Arduino"><img src="http://www.erratica.us/wp-content/uploads/2009/02/arduino.thumbnail.jpg" alt="Erratica - Arduino" width="500" height="338" class="attachment wp-att-1057 centered" /></a></p>
<p>Currently reading the data from two photocell resistors and controlling the blink rate of two led&#8217;s with it. Right now they work one after the other, I&#8217;m still trying to figure out if it&#8217;s possible to make them work so that each resistor controls each led independently yet simultaneously. Brandt any ideas?</p>
<p>Code after the jump</p>
<p><span id="more-1056"></span></p>
<p><code></p>
<p>int ledPin1 = 11; //led 1<br />
int ledPin2 = 12;  //led 2<br />
int resPin1 = 0;  //resistor 1<br />
int resPin2 = 1;  //resistor 2<br />
int var1 = 0;  //value 1<br />
int var2 = 0;  //value 2</p>
<p>void setup (){<br />
  //setup pins for leds as outs<br />
  pinMode (ledPin1, OUTPUT);<br />
  pinMode (ledPin2, OUTPUT);<br />
  //startup serial to read values<br />
  Serial.begin (9600);<br />
}</p>
<p>void loop (){<br />
  //led 1 on / off based on read<br />
  var1 = analogRead (resPin1);<br />
  digitalWrite (ledPin1, HIGH);<br />
  delay (var1);<br />
  digitalWrite (ledPin1, LOW);<br />
  delay (var1);<br />
  //print values led 1<br />
  Serial.println ("var1 ");<br />
  Serial.print (var1);<br />
  Serial.println();</p>
<p>  //led 2 on/off based on read<br />
  var2 = analogRead (resPin2);<br />
  digitalWrite (ledPin2, HIGH);<br />
  delay (var2);<br />
  digitalWrite (ledPin2, LOW);<br />
  delay (var2);<br />
  //print values led2<br />
  Serial.println ("var2 ");<br />
  Serial.print (var2);<br />
  Serial.println ();<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1056.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Arduino 02</title>
		<link>http://www.erratica.us/1046.html</link>
		<comments>http://www.erratica.us/1046.html#comments</comments>
		<pubDate>Sat, 07 Feb 2009 22:16:56 +0000</pubDate>
		<dc:creator>brandt</dc:creator>
				<category><![CDATA[arduino]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1046</guid>
		<description><![CDATA[Until I find a better method for posting to multiple blogs, you can view my first and subsequent posts on my Living Architecture blog: http://las09p.blogspot.com/2009/02/arduino-02.html]]></description>
			<content:encoded><![CDATA[<p><a title="img_0541" href="http://www.erratica.us/wp-content/uploads/2009/02/img_0541.jpg"><img class="attachment wp-att-1047 " src="http://www.erratica.us/wp-content/uploads/2009/02/img_0541.thumbnail.jpg" alt="img_0541" width="500" height="375" /> </a><a title="img_0544" href="http://www.erratica.us/wp-content/uploads/2009/02/img_0544.jpg"><img class="attachment wp-att-1048 " src="http://www.erratica.us/wp-content/uploads/2009/02/img_0544.thumbnail.jpg" alt="img_0544" width="500" height="375" /></a>Until I find a better method for posting to multiple blogs, you can view my first and subsequent posts on my Living Architecture blog:</p>
<p><a href="http://las09p.blogspot.com/2009/02/arduino-02.html" target="_blank">http://las09p.blogspot.com/2009/02/arduino-02.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1046.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://www.erratica.us/1033.html</link>
		<comments>http://www.erratica.us/1033.html#comments</comments>
		<pubDate>Tue, 27 Jan 2009 23:49:39 +0000</pubDate>
		<dc:creator>brandt</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[experimental]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://www.erratica.us/?p=1033</guid>
		<description><![CDATA[I&#8217;m apprehensive as to what to post here, but super excited to be getting my hands dirty with the arduino. I&#8217;ve just researched so many fascinating projects, everything is so new and amazing to me. I&#8217;m planning on developing my arduino research through some iPhone programming, and I&#8217;ll try to share up a bit of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m apprehensive as to what to post here, but super excited to be getting my hands dirty with the arduino.  I&#8217;ve just researched so many fascinating projects, everything is so new and amazing to me.  I&#8217;m planning on developing my arduino research through some iPhone programming, and I&#8217;ll try to share up a bit of both as I go along.<br />
<span id="more-1033"></span></p>
<p>I will mention that I immediately rushed down to the NYU Computer Store today after finding out that they sold arduino boards.  It&#8217;s the only place in the city that I&#8217;ve been able to find so far.  They really have a great selection of parts and reference material at good prices.  The guy helping me even gave me a list of packages they offer from the &#8220;Basic Tool Kit&#8221; to the &#8220;Basic Parts Kit&#8221; which includes an arduino and all the bits you would need for a long time, including various resistors, LEDs, semiconductors, capacitors, and switches.</p>
<p>Finally, I did pick up two reads while there:</p>
<table border="0" cellspacing="10">
<tbody>
<tr>
<td>
<table class="bodyText" border="0" width="100%">
<tbody>
<tr>
<td width="90px"><img src="http://ecx.images-amazon.com/images/I/41LV4D3yU6L._SL500_PIsitb-sticker-arrow-big,TopRight,35,-73_OU01_SL75_.jpg" border="0" alt="Exploring the iPhone SDK&lt;/span&gt; by Dave Mark" width="57" height="75" /></td>
<td valign="top"><span class="productTitle"><a href="http://www.amazon.com/Beginning-iPhone-Development-Exploring-SDK/dp/1430216263/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1233097482&amp;sr=8-1" target="_blank">Beginning iPhone Development: Exploring the iPhone SDK</a></span><a href="http://www.amazon.com/Beginning-iPhone-Development-Exploring-SDK/dp/1430216263/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1233097482&amp;sr=8-1" target="_blank"> by Dave Mark</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>&amp;</p>
<table class="bodyText" border="0" width="100%">
<tbody>
<tr>
<td width="90px"><img src="http://ecx.images-amazon.com/images/I/51IcHzNFKBL._SL500_SL75_.jpg" border="0" alt="Practical Methods for Connecting Physical Objects&lt;/span&gt; by Tom Igoe" width="62" height="75" /></td>
<td valign="top"><span class="productTitle"><a href="http://www.amazon.com/Making-Things-Talk-Practical-Connecting/dp/0596510519/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1233097779&amp;sr=1-1" target="_blank">Making Things Talk: Practical Methods for Connecting Physical Objects</a></span><a href="http://www.amazon.com/Making-Things-Talk-Practical-Connecting/dp/0596510519/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1233097779&amp;sr=1-1" target="_blank"> by Tom Igoe</a> </td>
</tr>
</tbody>
</table>
<p>more later&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.erratica.us/1033.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

