<?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>The Daily Duino &#187; Freeduino</title>
	<atom:link href="http://dailyduino.com/archives/category/freeduino/feed" rel="self" type="application/rss+xml" />
	<link>http://dailyduino.com</link>
	<description>mostly daily arduino projects and news</description>
	<lastBuildDate>Fri, 04 Dec 2009 19:46:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>RepRap Goodness!</title>
		<link>http://dailyduino.com/archives/508</link>
		<comments>http://dailyduino.com/archives/508#comments</comments>
		<pubDate>Sun, 15 Mar 2009 19:22:14 +0000</pubDate>
		<dc:creator>Morgellon</dc:creator>
				<category><![CDATA[Communication]]></category>
		<category><![CDATA[Freeduino]]></category>
		<category><![CDATA[Mcwire]]></category>
		<category><![CDATA[RepRap]]></category>
		<category><![CDATA[RepStrap]]></category>
		<category><![CDATA[Sanguino]]></category>
		<category><![CDATA[Sensors]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=508</guid>
		<description><![CDATA[So, I like to lurk in the #arduino IRC chatroom on freenode.net.  While in there the other day I started talking with Graxe and he mentioned that he would be near my area and inquired if I was interested in the RepRap.  Needless to say, I didn&#8217;t hesitate on arranging a meet-up! So, Graxe was [...]]]></description>
			<content:encoded><![CDATA[<p>So, I like to lurk in the #arduino IRC chatroom on freenode.net.  While in there the other day I started talking with Graxe and he mentioned that he would be near my area and inquired if I was interested in the RepRap.  Needless to say, I didn&#8217;t hesitate on arranging a meet-up!</p>
<p>So, Graxe was kind enough to drive down and share all his <em><strong>awesome</strong></em> gear with me.  I decided to take a bit of video last night, as he was unpacking.  The video is a little dark, as it was an impromptu session.  The battery was almost dead, so the video cuts out near the end.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3661111&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=3661111&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/3661111">Adventures in RepRap Land</a> from <a href="http://vimeo.com/morgellon">Morgellon</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Fear not&#8230; after a trip to the Chinese buffet, we plan to return and do more electronics work.  We also plan on taking some more video and pictures&#8230; hopefully a little better quality this time around <img src='http://dailyduino.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/508/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illuminato: The *Duino-verse Expands!</title>
		<link>http://dailyduino.com/archives/452</link>
		<comments>http://dailyduino.com/archives/452#comments</comments>
		<pubDate>Tue, 13 Jan 2009 10:14:28 +0000</pubDate>
		<dc:creator>Morgellon</dc:creator>
				<category><![CDATA[Illuminato]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=452</guid>
		<description><![CDATA[Just noticed (thanks Kevin!) Liquidware released a new *duino clone, the Illuminato! Scanning through the specs of the Illuminato, I was very impressed! 42 Digital I/O pins!! 6 of which can be Analog Layout still supports &#8220;standard&#8221; Arduino shield too! Code compatibility, works with IDE (backwards compatible with Arduino sketches) Powered by an Atmega645, double [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">Just noticed<em> (thanks Kevin!)</em> <a title="Liquidware Site" href="http://www.liquidware.com/" target="_blank">Liquidware</a> released a new *duino clone, the <strong>Illuminato! </strong></p>
<p style="text-align: left;"><strong></strong><a href="http://dailyduino.com/wp-content/uploads/2009/01/illuminato.jpg"><img class="size-medium wp-image-453 aligncenter" title="illuminato" src="http://dailyduino.com/wp-content/uploads/2009/01/illuminato-300x300.jpg" alt="" width="210" height="210" /></a></p>
<p style="text-align: left;">Scanning through the specs of the Illuminato, I was very impressed!</p>
<ul style="text-align: left;">
<li style="text-align: left;"><em><strong>42 Digital I/O pins!!</strong></em> 6 of which can be Analog</li>
<li style="text-align: left;">Layout still supports &#8220;standard&#8221; Arduino shield too!</li>
<li style="text-align: left;">Code compatibility, works with IDE (backwards compatible with Arduino sketches)</li>
<li style="text-align: left;">Powered by an Atmega645, double the code space and a faster code download speed.</li>
<li style="text-align: left;">10 white surface mount LED&#8217;s on backside of board (controlled with bling() function)</li>
</ul>
<p style="text-align: center;">There are several videos from the Liquidware guys showing off the Illuminato</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/0V4QdgYAuvU&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/0V4QdgYAuvU&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/B0f5_ohCMZk&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/B0f5_ohCMZk&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Looks like the Illuminato is already up for sale at the <a href="http://www.liquidware.com/shop/show/ILL/Illuminato" target="_blank">Liquidware Store</a> for $34.99 US.</p>
<ul style="text-align: left;">
<li><strong>You can read the release post and all good information at the Liquidware Blog!</strong></li>
</ul>
<p><strong></strong></p>
<p style="text-align: center;"><a title="Liquidware Blog" href="http://antipastohw.blogspot.com/2009/01/introducing-illuminato-100-gnu-gpld.html" target="_blank">http://antipastohw.blogspot.com/2009/01/introducing-illuminato-100-gnu-gpld.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/452/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breadboard Arduino</title>
		<link>http://dailyduino.com/archives/259</link>
		<comments>http://dailyduino.com/archives/259#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:45:57 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[breadboard]]></category>
		<category><![CDATA[barebones]]></category>
		<category><![CDATA[perfboard]]></category>
		<category><![CDATA[rbbb]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=259</guid>
		<description><![CDATA[I have seen these on the internet, so I sat down to make my own.  I really wanted the ability to put a programmed ATMega168 on a perfboard and make it do things in small projects without having to use a RBBB Freeduino ($12). I used the documentation from the RBBB Freeduino located here (pdf). [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen these on the internet, so I sat down to make my own.  I really wanted the ability to put a programmed ATMega168 on a perfboard and make it do things in small projects without having to use a RBBB Freeduino ($12).</p>
<p>I used the documentation from the RBBB Freeduino located <a href="http://moderndevice.com/Docs/RBBBv1.6.revB2.pdf">here</a> (pdf).</p>
<div id="attachment_260" class="wp-caption alignnone" style="width: 310px"><a href="http://dailyduino.com/wp-content/uploads/2008/11/arduino_pinout.png"><img class="size-medium wp-image-260" title="arduino_pinout" src="http://dailyduino.com/wp-content/uploads/2008/11/arduino_pinout-300x173.png" alt="ATMega128 Pinout for Arduino" width="300" height="173" /></a><p class="wp-caption-text">ATMega168 Pinout for Arduino</p></div>
<div id="attachment_261" class="wp-caption alignnone" style="width: 185px"><a href="http://dailyduino.com/wp-content/uploads/2008/11/arduino_schematic.png"><img class="size-medium wp-image-261" title="arduino_schematic" src="http://dailyduino.com/wp-content/uploads/2008/11/arduino_schematic-175x300.png" alt="RBBB Schematic" width="175" height="300" /></a><p class="wp-caption-text">RBBB Schematic</p></div>
<p>The first step is to build the power supply.</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_powersupply-2.jpg"><img class="alignnone size-medium wp-image-262" title="breadboard_powersupply-2" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_powersupply-2-300x139.jpg" alt="" width="300" height="139" /><br />
</a></p>
<p>You need to test it to make sure you are getting ~5v</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_probes.jpg"><img class="alignnone size-medium wp-image-263" title="breadboard_probes" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_probes-300x164.jpg" alt="" width="300" height="164" /></a></p>
<p>Then you build the basic Freeduino</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_justduino.jpg"><img class="alignnone size-medium wp-image-264" title="breadboard_justduino" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_justduino-300x183.jpg" alt="" width="300" height="183" /></a></p>
<p>And plug your power supply into the Freeduino</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_complete_noftdi.jpg"><img class="alignnone size-medium wp-image-265" title="breadboard_complete_noftdi" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_complete_noftdi-290x300.jpg" alt="" width="290" height="300" /></a></p>
<p>I used two led&#8217;s, one for power indication and one for pin 13.  if you dont use these you can loose 2 resistors and 2 led&#8217;s.</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_leds.jpg"><img class="alignnone size-medium wp-image-266" title="breadboard_leds" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_leds-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>I put one of these on a perfboard</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_bare_4.jpg"><img class="alignnone size-medium wp-image-267" title="droopsduino_bare_4" src="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_bare_4-300x282.jpg" alt="" width="300" height="282" /></a></p>
<p>There is no way to program the chip on the breadboard or on the perfboard, other than taking out the chip and using an Ardunio to send sketches to it. (yes i know about other ways, but you still have to pull the chip out)</p>
<p>So I finished the breadboard up with FTDI</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_complete.jpg"><img class="alignnone size-medium wp-image-268" title="breadboard_complete" src="http://dailyduino.com/wp-content/uploads/2008/11/breadboard_complete-300x280.jpg" alt="" width="300" height="280" /></a></p>
<p>So now I can use a FTDI cable and send data to and from my breadboard Duino.</p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/259/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>droopsDuino</title>
		<link>http://dailyduino.com/archives/271</link>
		<comments>http://dailyduino.com/archives/271#comments</comments>
		<pubDate>Mon, 10 Nov 2008 04:12:54 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[droopsduino]]></category>
		<category><![CDATA[barebones]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=271</guid>
		<description><![CDATA[Coming off my breadboard and barebones duino, I decided to just build my own.  Wow I suck at wire management. Mine has a few fancy features (other than lots of wire).  For example I have some headers for plugging up an LCD and some for a FTDI cable. I also have some headers for additional [...]]]></description>
			<content:encoded><![CDATA[<p>Coming off my breadboard and barebones duino, I decided to just build my own.  Wow I suck at wire management.</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino.jpg"><img class="alignnone size-medium wp-image-272" title="droopsduino" src="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino-300x243.jpg" alt="" width="300" height="243" /></a></p>
<p>Mine has a few fancy features (other than lots of wire).  For example I have some headers for plugging up an LCD and some for a FTDI cable.</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_headers.jpg"><img class="alignnone size-medium wp-image-273" title="droopsduino_headers" src="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_headers-300x175.jpg" alt="" width="300" height="175" /><br />
</a></p>
<p>I also have some headers for additional ground, 5v, and 9v from the battery.</p>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_close3.jpg"><img class="alignnone size-medium wp-image-274" title="droopsduino_close3" src="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino_close3-300x208.jpg" alt="" width="300" height="208" /></a></p>
<p>For some reason this thing works and is around the same footprint as a regular Arduino, just a bit taller.  I also learned a few things, the led&#8217;s for serial communication come from the FTDI chip on fancy Arduinos, as does the 3.3 volts.</p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/271/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I got my new Duemilanove</title>
		<link>http://dailyduino.com/archives/278</link>
		<comments>http://dailyduino.com/archives/278#comments</comments>
		<pubDate>Fri, 07 Nov 2008 17:42:48 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[Decemilia]]></category>
		<category><![CDATA[Duemilanove]]></category>
		<category><![CDATA[SB]]></category>
		<category><![CDATA[droopsduino]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=278</guid>
		<description><![CDATA[Its just like my Diecimilia&#8217;s except that when I have a shield on it, its so much easier to change the power supply. (from usb to 9v external) Here is a pic of my new baby along with some other boards.]]></description>
			<content:encoded><![CDATA[<p>Its just like my Diecimilia&#8217;s except that when I have a shield on it, its so much easier to change the power supply. (from usb to 9v external)</p>
<p>Here is a pic of my new baby along with some other boards.</p>

<a href='http://dailyduino.com/archives/278/duemilanove' title='duemilanove'><img width="150" height="150" src="http://dailyduino.com/wp-content/uploads/2008/11/duemilanove-150x150.jpg" class="attachment-thumbnail" alt="duemilanove" title="duemilanove" /></a>
<a href='http://dailyduino.com/archives/278/diecimilia' title='diecimilia'><img width="150" height="150" src="http://dailyduino.com/wp-content/uploads/2008/11/diecimilia-150x150.jpg" class="attachment-thumbnail" alt="diecimilia" title="diecimilia" /></a>
<a href='http://dailyduino.com/archives/278/freeduinosb' title='freeduinosb'><img width="150" height="150" src="http://dailyduino.com/wp-content/uploads/2008/11/freeduinosb-150x150.jpg" class="attachment-thumbnail" alt="freeduinosb" title="freeduinosb" /></a>
<a href='http://dailyduino.com/archives/278/droopsduino1' title='droopsduino1'><img width="150" height="150" src="http://dailyduino.com/wp-content/uploads/2008/11/droopsduino1-150x150.jpg" class="attachment-thumbnail" alt="droopsduino1" title="droopsduino1" /></a>

]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/278/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phreaknic Giveaways</title>
		<link>http://dailyduino.com/archives/164</link>
		<comments>http://dailyduino.com/archives/164#comments</comments>
		<pubDate>Tue, 30 Sep 2008 05:36:17 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[Freeduino]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[MotorShield]]></category>
		<category><![CDATA[Phreaknic]]></category>
		<category><![CDATA[WavShield]]></category>
		<category><![CDATA[rbbb]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=164</guid>
		<description><![CDATA[Several of my favorite Arduino/Freeduino stores have sent us in some giveaways for the con.  We are not sure how we are going to be giving things out, as most are kits, I think we will be giving them out during our talk and during the tutorials going on during the day.  Maybe get a [...]]]></description>
			<content:encoded><![CDATA[<p>Several of my favorite Arduino/Freeduino stores have sent us in some giveaways for the con.  We are not sure how we are going to be giving things out, as most are kits, I think we will be giving them out during our talk and during the tutorials going on during the day.  Maybe get a few teams together during the talk and give them each a board to put together and do a project off of.  Then give more coolness away for the team that makes the coolest stuff, I guess I need to bring a big box of parts.</p>
<p><a href="http://moderndevice.com/">Paul from Modern Device</a> sent in 3 rBBB&#8217;s, 2 P4 RS232 to TTL Serial Adapter Kits, 2 LCD117 Serial LCD Boards, 2 16&#215;2 blue LCD&#8217;s and a Serial Cable.</p>
<p><a href="http://www.adafruit.com/">Lady Ada from Adafruit Industries</a> gave us a Motor Shield and a Wav Shield.</p>
<p><a href="http://www.nkcelectronics.com/">NKC Electronics</a> sent in 3 x <span class="nfakPe">Freeduino</span> USB kits and 2 x <span class="nfakPe">Freeduino</span> serial kits.</p>
<p>I owe each of these folks something and I am working on it.  Please check out their stores for the coolness.</p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/164/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slotted Optical Sensors</title>
		<link>http://dailyduino.com/archives/91</link>
		<comments>http://dailyduino.com/archives/91#comments</comments>
		<pubDate>Thu, 04 Sep 2008 04:39:50 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[Freeduino]]></category>
		<category><![CDATA[Optical]]></category>
		<category><![CDATA[breadboard]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[nkc]]></category>
		<category><![CDATA[proto]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=91</guid>
		<description><![CDATA[After watching Citizen Engineer, I wanted to play with a slotted optical sensor, well that and a payphone, a sim card reader, a little vice and other cool electronics things. So I ordered a few from All Electronics. As usual, I had no idea how these things work, so I started plugging in wires and [...]]]></description>
			<content:encoded><![CDATA[<p>After watching <a href="http://www.citizenengineer.com/">Citizen Engineer</a>, I wanted to play with a slotted optical sensor, well that and a payphone, a sim card reader, a little vice and other cool electronics things.  So I ordered a few from <a href="http://www.allelectronics.com/make-a-store/item/OSU-57/SLOTTED-OPTO-SENSOR/1.html">All Electronics</a>.</p>
<p>As usual, I had no idea how these things work, so I started plugging in wires and using a standard analog input sketch.  That did not work at all, after I heard something pop I knew I was not on the right track. Then I started looking for some help. I still have not found a datasheet, but I found a graphic that made things work for me.  My exact model is the OPB3902.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://csel.cs.colorado.edu/~bauerk/legorobots/images/assembly/img46.gif" alt="Optical Sensor Schematic" /></p>
<p>There are four pins on the bottom of these things, two to work the emitter (E) (pins 1 and 3) and two for the detector (D) (pins 2 and 4).  Two resistors are needed, a 330 Ohm (orange orange red) and 2.2 K (red red orange).</p>
<p>I mounted the Optical Sensor on a proto board, having carefully cut off the plastic bump on the bottom of the sensor.  I also used a led with a 1K (brown black red) for signaling when something was activating the switch.  According to the drawing 5 volts would work, so that&#8217;s what I used, along with analog pin 2 for input and digital pin 12 for the signaling led.</p>
<p>After running my sketch and dumping the sensor reading to serial I found that it idled at ~929 and when the sensor was activated it was ~1020.  This is great, no problem to see a change of state, so I wrote a bit more code to activate the led.  I did not include a delay as I wanted the led to react quickly.</p>
<p style="text-align: center;"><a href="http://dailyduino.com/wp-content/uploads/2008/09/opt2.png"><img class="alignnone size-thumbnail wp-image-97" title="opt2" src="http://dailyduino.com/wp-content/uploads/2008/09/opt2-150x150.png" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/opt1.png"><img class="alignnone size-thumbnail wp-image-96" title="opt1" src="http://dailyduino.com/wp-content/uploads/2008/09/opt1-150x150.png" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;">Here is my code, feel free to do with it as you will!</p>
<pre style="text-align: left;">
/*
Demo for a slotted optical sensor.

I am sure that someone elses code is in here somewhere
*/

int inputPin = 2;    // select the input pin for the potentiometer
int ledPin = 12;   // select the pin for the LED
int val = 0;       // variable to store the value coming from the sensor

void setup() {
  pinMode(inputPin, OUTPUT);  // declare the ledPin as an OUTPUT
  pinMode(ledPin, OUTPUT);
  Serial.begin(9600);
}

void loop() {

  val = analogRead(inputPin);    // read the value from the sensor
  Serial.println(val);

  if(val &gt; 950){
    digitalWrite(ledPin, HIGH);  // turn the ledPin on
  } else {
    digitalWrite(ledPin, LOW);   // turn the ledPin off
  }
}
</pre>
<p>I am very excited to know how to set up this sensor.  Next time I am going to find some with the hook up wires already soldered and heatshrinked on.  For those that are curious, that is a <a href="http://www.nkcelectronics.com/freeduino-arduino-diecimila-compatible-board-complete-kit.html">Freeduino from NKC</a> under there.</p>
<p style="text-align: center;"><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0344.jpg"><img class="alignnone size-thumbnail wp-image-101" title="dsc_0344" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0344-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0345.jpg"><img class="alignnone size-thumbnail wp-image-102" title="dsc_0345" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0345-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0346.jpg"><img class="alignnone size-thumbnail wp-image-103" title="dsc_0346" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0346-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0347.jpg"><img class="alignnone size-thumbnail wp-image-104" title="dsc_0347" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0347-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0348.jpg"><img class="alignnone size-thumbnail wp-image-105" title="dsc_0348" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0348-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0349.jpg"><img class="alignnone size-thumbnail wp-image-106" title="dsc_0349" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0349-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0350.jpg"><img class="alignnone size-thumbnail wp-image-107" title="dsc_0350" src="http://dailyduino.com/wp-content/uploads/2008/09/dsc_0350-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/91/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More Sanguino Goodness</title>
		<link>http://dailyduino.com/archives/46</link>
		<comments>http://dailyduino.com/archives/46#comments</comments>
		<pubDate>Wed, 13 Aug 2008 16:17:00 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[Sanguino]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=46</guid>
		<description><![CDATA[Well not quite so good, I am still waiting for mine to come in the mail. Maybe today will be the day. Here are some flickr pictures of the Sanguino.]]></description>
			<content:encoded><![CDATA[<p>Well not quite so good, I am still waiting for mine to come in the mail.  Maybe today will be the day.</p>
<p><a href="http://www.flickr.com/photos/hoeken/sets/72157606093789711/">Here are some flickr pictures of the Sanguino.</a></p>
<p><img class="alignnone" src="http://farm4.static.flickr.com/3120/2692845866_359a9c3ecb.jpg?v=0" alt="" width="500" height="375" /></p>
<p><img class="alignnone" src="http://farm4.static.flickr.com/3279/2699551007_32464e4874.jpg?v=0" alt="" width="352" height="500" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/46/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sanguino, I have the POWER!!</title>
		<link>http://dailyduino.com/archives/17</link>
		<comments>http://dailyduino.com/archives/17#comments</comments>
		<pubDate>Tue, 12 Aug 2008 03:17:00 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[Sanguino]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[RepRap]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=17</guid>
		<description><![CDATA[Mine is in the mail, expect pics and projects as soon as it gets here. Very similar to the Arduino but with a larger processor. More power and more room for your ideas. atmega644P core 32 total general purpose I/O pins (some are multipurpose) 8 analog pins 6 PWM pins 64K flash memory 4K RAM [...]]]></description>
			<content:encoded><![CDATA[<p>Mine is in the mail, expect pics and projects as soon as it gets here. Very similar to the Arduino but with a larger processor.  More power and more room for your ideas.</p>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://farm4.static.flickr.com/3206/2692856142_bf041a07aa.jpg"><img title="Sanguino" src="http://farm4.static.flickr.com/3206/2692856142_bf041a07aa.jpg" alt="Sanguino" width="500" height="375" /></a><p class="wp-caption-text">Sanguino</p></div>
<ul>
<li><a href="http://www.atmel.com/dyn/Products/Product_card.asp?part_id=3896">atmega644P</a> core</li>
<li>32 total general purpose I/O pins (some are multipurpose)</li>
<li>8 analog pins</li>
<li>6 PWM pins</li>
<li>64K flash memory</li>
<li>4K RAM</li>
<li>2K EEPROM</li>
<li>completely through-hole construction</li>
<li>breadboard compatible</li>
<li>100% open source</li>
<li>compatible with Arduino 0012 with minimal hacking</li>
</ul>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="225" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.vimeo.com/moogaloop.swf?clip_id=1491854&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="225" src="http://www.vimeo.com/moogaloop.swf?clip_id=1491854&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://www.vimeo.com/1491854?pg=embed&amp;sec=1491854">Sanguino: Arduino&#8217;s Big Brother</a> from <a href="http://www.vimeo.com/hoeken?pg=embed&amp;sec=1491854">Zach &#8216;Iowa&#8217; Hoeken</a> on <a href="http://vimeo.com?pg=embed&amp;sec=1491854">Vimeo</a></p>
<p><a href="http://sanguino.cc/differencesfromarduino">Differences between Sanguino and Arduino</a><br />
<a href="http://sanguino.cc/">Website for Sanguino<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/17/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

