<?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>Nerdy By Nature &#187; Arduino</title>
	<atom:link href="http://www.nerdybynature.com/index.php/category/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdybynature.com</link>
	<description>Pull up your high-water pants, strap on your suspenders and push your glasses up the bridge of your nose...</description>
	<lastBuildDate>Fri, 26 Mar 2010 02:51:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hangmanduino</title>
		<link>http://www.nerdybynature.com/index.php/2009/08/hangmanduino/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/08/hangmanduino/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:00:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hangman]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=254</guid>
		<description><![CDATA[Hangmanduino is complete! A word is selected at random from a list of 10 words. This could be set higher, but for demonstration purposes, it&#8217;s 10. The user scrolls through the alphabet to select a letter using the potentiometer on the front of the case. To select a letter, the user pushes down on the [...]]]></description>
			<content:encoded><![CDATA[<p>Hangmanduino is complete! A word is selected at random from a list of 10 words. This could be set higher, but for demonstration purposes, it&#8217;s 10. The user scrolls through the alphabet to select a letter using the potentiometer on the front of the case. To select a letter, the user pushes down on the potentiometer. Schematics, pictures of the build and demo video can be found below&#8230;<a href="http://www.nerdybynature.com/wp-content/uploads/2009/08/hangmanduino.zip" target="_blank">click here</a> to download the source code, but keep in mind you will need to <a href="http://arduino.cc/en/uploads/Tutorial/String.zip" target="_blank">download the string library</a> as well to compile this code.</p>

<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6119-large/' title='hangmanduino_1'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6119-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_1" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6124-large/' title='hangmanduino_2'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6124-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_2" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6128-large/' title='hangmanduino_3'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6128-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_3" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6129-large/' title='hangmanduino_4'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6129-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_4" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6132-large/' title='hangmanduino_5'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6132-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_5" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/img_6133-large/' title='hangmanduino_6'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/img_6133-large-150x150.jpg" class="attachment-thumbnail" alt="" title="hangmanduino_6" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/08/hangmanduino/hangman_schematic/' title='hangman_schematic'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/hangman_schematic-150x150.png" class="attachment-thumbnail" alt="" title="hangman_schematic" /></a>

<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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/hCa8F8fbHLQ&amp;hl=en&amp;fs=1&amp;" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/hCa8F8fbHLQ&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/08/hangmanduino/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Hangman prototype&#8230;</title>
		<link>http://www.nerdybynature.com/index.php/2009/08/hangman-proto/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/08/hangman-proto/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:51:54 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[hangman]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=245</guid>
		<description><![CDATA[A few months ago I was wrestling with getting my 16&#215;2 parallel LCD  to work with an Arduino for a few hours, until I decided it had to be broken. All I was getting was garbled characters and solid blocks. A few months later, I picked it back up and did some more playing, [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I was wrestling with getting my 16&#215;2 parallel LCD  to work with an Arduino for a few hours, until I decided it had to be broken. All I was getting was garbled characters and solid blocks. A few months later, I picked it back up and did some more playing, and eventually got it working. Now to learn how to print custom characters to it&#8230;I learn by doing, so I decided to make a hangman program. Below are pictures of the perf-board rendition of a shield for connecting the LCD, a few potentiometers, a tactile switch and a speaker for noise-making fun. At this point the code works well, but I&#8217;ve got some ideas for improvement and a box is in the making. Perhaps I&#8217;ll even submit it to <a href="http://www.bricogeek.com/contest/let-arduino-play/" target="_blank">Brico Geek &#8220;Let Arduino Play&#8221; </a>contest : )</p>
<p><a href="http://www.nerdybynature.com/wp-content/uploads/2009/08/hangman_proto.jpg"><img class="size-medium wp-image-246" title="hangman_proto" src="http://www.nerdybynature.com/wp-content/uploads/2009/08/hangman_proto-300x225.jpg" alt="Hangmane Prototype" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/08/hangman-proto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Arduino Web-based Live Gauges</title>
		<link>http://www.nerdybynature.com/index.php/2009/07/arduino-web-based-live-gauges/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/07/arduino-web-based-live-gauges/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 01:24:03 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[live gauges]]></category>
		<category><![CDATA[open flash gauges]]></category>
		<category><![CDATA[web-based]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=230</guid>
		<description><![CDATA[I needed some web-based gauges for my ArduinOil project frontend and I wanted them to be driven from PHP if possible. I came across Flash Open Gauges (FOG) written by Charles Nichols, which looked really slick and gave plenty of options as to the style of gauge and the methods that you feed it data. [...]]]></description>
			<content:encoded><![CDATA[<p>I needed some web-based gauges for my ArduinOil project frontend and I wanted them to be driven from PHP if possible. I came across <a href="http://www.digitaldarknet.net/flash/" target="_blank">Flash Open Gauges</a> (FOG) written by Charles Nichols, which looked really slick and gave plenty of options as to the style of gauge and the methods that you feed it data. I started playing around with the scripts to customize them for my purposes. As I was learning about the feature of dynamically feeding the gauges data via PHP, I started thinking about how easy it would be to make the gauges live. A little tinkering, and voila! This won&#8217;t be particularly helpful in any of the projects I have going on at the moment, but I thought it might help someone else, so here&#8217;s how you&#8217;d make it work:</p>
<ol>
<li>You will need and Arduino (duh!), Ethernet Sheild, and some type of analog input device (potentiometer, photoresistor, etc).</li>
<li>Go get the FOG files <a href="http://www.darkartistry.com/Public/open_gauges-v1.0.1.tar.gz" target="_blank">here.</a></li>
<li>Download the demo scripts and sketch files I&#8217;ve created <a href="http://www.nerdybynature.com/wp-content/uploads/2009/07/arduino_live_gauge.zip" target="_blank">here.</a></li>
<li>Extract the FOG into a folder on your server (can be either Windows or Linux, but must have PHP installed).</li>
<li>Extract the demo scripts into the same folder as the FOG code on your web server and change the configurable variables in arduino_fetch_data.php to reflect the IP of your Arduino.</li>
<li>Change the sketch code to reflect the IP you&#8217;d like your Arduino to have, upload the sketch and connect something to analog pin 5.</li>
<li>Open the index.html in a browser by navigating to your server&#8217;s address.</li>
<li>Read the FOG documentation and hack the scripts to do what you want!</li>
</ol>
<p>I recorded a quick demo this morning of the script in action which you can find below. Also, keep in mind that I just threw this together on a side trail to a larger project that I&#8217;m currently working on, so there may be some refining that should be done to the code. I just don&#8217;t want to spend the time on it now, but if you need this functionality, it might be worth your while to poke at the code and try to improve it. Have fun!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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/laicF_LyYNg&amp;hl=en&amp;fs=1&amp;" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/laicF_LyYNg&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/07/arduino-web-based-live-gauges/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>ArduinOil update&#8230;</title>
		<link>http://www.nerdybynature.com/index.php/2009/07/arduinoil-update/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/07/arduinoil-update/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 20:19:03 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[arduinoil]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[PING]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=221</guid>
		<description><![CDATA[It has been a few months, and I&#8217;ve had a few other projects come and go in the meantime. However, I&#8217;ve always had this project in the back of my mind. Not too long ago, I had a much better design idea for detecting the amount of oil in the tank. At first, I was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nerdybynature.com/wp-content/uploads/2009/07/arduinoil_logo1_bw.jpg"><img class="size-medium wp-image-228 alignright" title="arduinoil_logo1_bw" src="http://www.nerdybynature.com/wp-content/uploads/2009/07/arduinoil_logo1_bw-300x116.jpg" alt="" width="225" height="87" /></a>It has been a few months, and I&#8217;ve had a few other projects come and go in the meantime. However, I&#8217;ve always had this project in the back of my mind. Not too long ago, I had a much better design idea for detecting the amount of oil in the tank. At first, I was trying to read the meter that is already on the tank, but the results were less than perfect and the hardware was going to be a major PIA to mount and maintain. One day I caught a video of a guy that made an automatic water dispenser for his cat or something crazy like that. But the thing I noticed was he was using a Parallax PING sensor to detect the amount of water in the bowl&#8230;enter proverbial light bulb. So I ordered one (a PING sensor) and started playing around with it. The results were amazing&#8230;not only is it amazingly simple on the hardware end, but the responses were more accurate and the code implementation was simple too.</p>
<p>Now that we have the data, we have to find some place to store it. I signed up for a BETA account at <a href="http://www.pachube.com/" target="_blank">www.pachube.com</a> and had a lot of fun programming the Arduino to speak pachube. I even got fancy with some <a href="http://www.nerdybynature.com/index.php/2009/05/pachube-asterisk/" target="_blank">Asterisk code to report pachube information via the telephone</a>. But at the end of the day, there was still something missing&#8230;history. I really wanted to be able to look back on my fuel usage and get some trending information for curiosity&#8217;s sake&#8230;and I could not get such functionality from Pachube. So I did what any self-respecting nerd would do&#8230;I wrote my own. Here is the way it works:</p>
<p>The Arduino is listening on port 23 (telnet) for traffic. A cron job runs a script on the hour from a server that connects to the Arduino and sends a &#8220;p&#8221; (for percentage&#8230;&#8221;i&#8221; would return inches), which prompts the Arduino to pulse the PING sensor 5 times, average and convert the value to a percent based on the total tank size. The Arduino returns this information to the script which records the value and a time/date stamp to a database. From here I have a script that checks the database once a day and alerts via email if the level gets too low&#8230;however, I can do any number of things with that information. I have yet to write a &#8220;front end&#8221; to the database to make the information viewable over HTTP, but that is definitely in the works as well.</p>
<p>My next order of business will be mounting the ArduinOil components in the tank / furnace room, and doing the final hardware prep. I&#8217;d post some pictures, but honestly, at this point it&#8217;s just a bunch of code and tanggled wires. Hang in there&#8230;more to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/07/arduinoil-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pachube + Asterisk</title>
		<link>http://www.nerdybynature.com/index.php/2009/05/pachube-asterisk/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/05/pachube-asterisk/#comments</comments>
		<pubDate>Thu, 14 May 2009 15:46:29 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[pachube]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=199</guid>
		<description><![CDATA[I&#8217;m currently working on a project that works with pachube to post information to the web. It&#8217;s really handy to be able to get the sensor information from my Arduino to the web with an ethernet shield and a few lines of code. However, I want to take this functionality a step further and make [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nerdybynature.com/wp-content/uploads/2009/05/logo.png"><img class="size-medium wp-image-210 alignright" title="pachube logo" src="http://www.nerdybynature.com/wp-content/uploads/2009/05/logo.png" alt="" width="168" height="60" /></a>I&#8217;m currently working on a project that works with pachube to post information to the web. It&#8217;s really handy to be able to get the sensor information from my Arduino to the web with an ethernet shield and a few lines of code. However, I want to take this functionality a step further and make the pachube feed available from my Asterisk phone system in the rare event that I&#8217;m away from civilization and don&#8217;t have access to an internet connection. The script I came up with is geared towards my ArduinOil project, but could easily be converted and used in any way with any information. The way it works is this: user calls extension (or could be made available from an AVR), the AGI script requests pachube feed information, flight or cepstral is used to read information to user. Here&#8217;s what you&#8217;ll need to do to get it up and running:</p>
<ol>
<li>Download the <a href="http://community.pachube.com/files/Pachube_PHP_library.zip" target="_blank">pachube PHP library</a>, and <a href="http://www.nerdybynature.com/wp-content/uploads/2009/05/pachube.zip" target="_blank">pachube AGI script</a>.</li>
<li>Unzip the pachube_functions.php file from the PHP library zip and copy it and the AGI script into /var/lib/asterisk/agi-bin/</li>
<li>Unzip pachube.php from the AGI script zip and copy it into /var/lib/asterisk/agi-bin/</li>
<li>chmod +x and chown asterisk:asterisk both files</li>
<li>Make changes to configurable options in pachube.php (ie. api key, feed id, etc.)</li>
<li>Add the following dial plan code to your extensions.conf or extensions_custom.conf (FreePBX)</li>
<blockquote><p>exten =&gt; 750,1,Answer<br />
exten =&gt; 750,n,Wait(2)<br />
exten =&gt; 750,n,AGI(pachube.php)<br />
exten =&gt; 750,n,Hangup</p></blockquote>
<li>Reload your asterisk dial plan: asterisk -rx dialplan reload</li>
</ol>
<p>There is more feed information available from the pachube PHP library such as latitude and longitude of the project, multiple datastreams, etc. But this should be enough to get you on your way. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/05/pachube-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Asterisk to Control your Arduino</title>
		<link>http://www.nerdybynature.com/index.php/2009/03/using-asterisk-to-controll-your-arduino/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/03/using-asterisk-to-controll-your-arduino/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 14:06:31 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[control]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=180</guid>
		<description><![CDATA[Being an avid Asterisk admin and a novice AGI coder, I decided that it would be cool to try my hand at using Asterisk to control my Arduino over ethernet. Upon googling similar projects I came across Kate Hartman&#8217;s page on doing just that with an Arduino connected via an XPort module. Well, I have [...]]]></description>
			<content:encoded><![CDATA[<p>Being an avid Asterisk admin and a novice AGI coder, I decided that it would be cool to try my hand at using Asterisk to control my Arduino over ethernet. Upon googling similar projects I came across <a href="http://itp.nyu.edu/~kh928/phonesandobjects.html" target="_blank">Kate Hartman&#8217;s page</a> on doing just that with an Arduino connected via an XPort module. Well, I have the Adafruit ethernet shield with a WIZnet module, but I decided to give it a try anyway. The first thing I noticed was the Arduino code appeared to be communicating with the XPort module via serial communication. This is a bit of a problem as the WIZnet module needs to make use of the ethernet library in Arduino IDE. So I threw together a little test environment with an LED connected to pin 4 and plugged in my ethernet shield to give the code a shot. Needless to say, it didn&#8217;t work straight out of the box&#8230;so I&#8217;ve made a few minor modifications which you can find attached to this post. I also found that Kate&#8217;s Asterisk AGI code was a bit dusty, being written perhaps for an older version of Asterisk than what I have (1.4.21.2), so I made a few modifications and was able to get it up and running. This should come in REALLY handy for some of the projects I&#8217;ve got waiting in the wings (ArduinOIL). Here&#8217;s how to get it up and running.</p>
<ol>
<li><a href="http://www.nerdybynature.com/wp-content/uploads/2009/03/arduino_control.zip" target="_blank">Download source code</a></li>
<li>Upload the attached sketch to your Arduino</li>
<li>Copy the arduino_control.php file into your agi-bin (usually /var/lib/asterisk/agi-bin) and edit the configurable options to match your setup. Make sure you change the permissions on the file with &#8220;chown asterisk:asterisk arduino_control.php&#8221; and also make it executable with &#8220;chmod +x arduino_control.php&#8221;</li>
<li>Edit your dial plan (I use freePBX so the file is /etc/asterisk/extensions_custom.conf, otherwise it would be /etc/asterisk/extensions.conf) to include the following lines (you can change the 999 to whatever extension you prefer to dial to get control of your arduino):</li>
<blockquote><p>; Arduino Control<br />
exten =&gt; 999,1,Answer<br />
exten =&gt; 999,2,AGI(arduino_control.php)<br />
exten =&gt; 999,3,Hangup</p></blockquote>
<p></p>
<li>
Restart asterisk services with &#8220;amportal restart&#8221;
</li>
<li>
Hack the code apart and make it do something awesome!
</li>
</ol>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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/zOnF97u8OwQ&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/zOnF97u8OwQ&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/03/using-asterisk-to-controll-your-arduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;It looks like a bomb&#8221;</title>
		<link>http://www.nerdybynature.com/index.php/2009/03/it-looks-like-a-bomb/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/03/it-looks-like-a-bomb/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 16:28:44 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[seismoduino]]></category>
		<category><![CDATA[seismometer]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=173</guid>
		<description><![CDATA[A month ago, my younger brother-in-law asked me to help him with a science project that would get him some serious extra credit (over achievers!). The assignment was to create a working seismometer. Sounds like a job for the almighty Arduino, doesn&#8217;t it?! We asked the teacher and she answered with an enthusiastic &#8220;YES!&#8221; I [...]]]></description>
			<content:encoded><![CDATA[<p>A month ago, my younger brother-in-law asked me to help him with a science project that would get him some serious extra credit (over achievers!). The assignment was to create a working seismometer. Sounds like a job for the almighty Arduino, doesn&#8217;t it?! We asked the teacher and she answered with an enthusiastic &#8220;YES!&#8221; I thought it would be a good opportunity to introduce him into the world of electronics and maybe even peak his interest&#8230;so I ordered the parts and last night, we started to build.</p>
<p>We finally had the breadboard / sketch code worked out, and started the physical mount/build process last night. Below is what we came up with&#8230;we call it &#8220;Seismoduino&#8221;. At present, there are 2 &#8220;modes&#8221;, meter mode and graph mode. In meter mode it takes the readings from the ADXL322 accelorometer and feeds them to our little array of LEDs which display the readings as a meter. In graph mode, the information is sent to the COM port and graphed by some Processing 1.0 code. We&#8217;re still working out the kinks and features, but should be finished soon. Once we&#8217;re ready there will be some more (better) pictures and even some video&#8230;</p>

<a href='http://www.nerdybynature.com/index.php/2009/03/it-looks-like-a-bomb/3332458809_95e971669e/' title='seismoduino_01'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/03/3332458809_95e971669e-150x150.jpg" class="attachment-thumbnail" alt="" title="seismoduino_01" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/03/it-looks-like-a-bomb/3333295294_111b016313/' title='seismoduino_02'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/03/3333295294_111b016313-150x150.jpg" class="attachment-thumbnail" alt="" title="seismoduino_02" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/03/it-looks-like-a-bomb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduinoil</title>
		<link>http://www.nerdybynature.com/index.php/2009/03/arduinoil/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/03/arduinoil/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 17:21:13 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[arduinoil]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=164</guid>
		<description><![CDATA[As with most projects, my most recent project was born out of an inconvenience, an an empty wallet, and an idea.
The inconvenience: walking outside in sub-zero temperatures to check my fuel oil gauge. I know it&#8217;s lame and I&#8217;m lazy, but there&#8217;s something annoying about not having the information at my finger tips (ie. the [...]]]></description>
			<content:encoded><![CDATA[<p>As with most projects, my most recent project was born out of an inconvenience, an an empty wallet, and an idea.</p>
<p>The inconvenience: walking outside in sub-zero temperatures to check my fuel oil gauge. I know it&#8217;s lame and I&#8217;m lazy, but there&#8217;s something annoying about not having the information at my finger tips (ie. the internet) no matter where I am.</p>
<p>The empty wallet: checking&#8230;.yep&#8230;still empty.</p>
<p>The idea: to be able to read the information from my current oil gauge and feed it to a web-enabled service so I can not only check the current level, but have stats and trends available from anywhere in the world.</p>
<p>So far I have the general process all figured out. A series of infrared emittors and sensors will span the oil gauge &#8220;tube&#8221; and scan for the indicator. A server will periodically query my ethernet-enabled arduino to get the reading of all the sensors and return a percentage value. These value will then be stored in a MySQL database and processed accordingly with some PHP code.</p>
<p>At this point I&#8217;ve been able to get the sensors all wired up and tested. Everything seems to be working quite well. I received my ethernet shield last week and started playing with that. I&#8217;ve got a bit more tinkering to do with that before starting the build of the actual sensor enclosure. I&#8217;ll post updates as I progress.</p>
<div id="attachment_166" class="wp-caption alignnone" style="width: 310px"><a href="http://www.nerdybynature.com/wp-content/uploads/2009/03/arduinoil_01.jpg"><img class="size-medium wp-image-166" title="Arduin-oil" src="http://www.nerdybynature.com/wp-content/uploads/2009/03/arduinoil_01-300x225.jpg" alt="Testing iR sensor configuration on proto board" width="300" height="225" /></a><p class="wp-caption-text">Testing iR sensor configuration on proto board</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/03/arduinoil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poor man&#8217;s BoArduino</title>
		<link>http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 14:50:19 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[bread board shield]]></category>
		<category><![CDATA[poor man's boarduino]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=150</guid>
		<description><![CDATA[I was thinking about buying a BoArduino for easier prototyping&#8230;it&#8217;s easy and cheap, but not as cheap as I am apparently. I decided to build my own instead using an old proto board, some pin headers and CAT5 cable I had laying around. It&#8217;s not nearly as pretty, but just as functional, and I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I was thinking about buying a <a title="BoArduino" href="http://www.adafruit.com/index.php?main_page=index&amp;cPath=19" target="_blank">BoArduino</a> for easier prototyping&#8230;it&#8217;s easy and cheap, but not as cheap as I am apparently. I decided to build my own instead using an old proto board, some pin headers and CAT5 cable I had laying around. It&#8217;s not nearly as pretty, but just as functional, and I don&#8217;t need to reload my code to the arduino I plan on using in &#8220;production&#8221; because I actually built it in shield format. I&#8217;m working on a prettier version, using that as a pet project for learning Eagle PCB layout. But for now, this works just fine.</p>

<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5576-medium/' title='poor_mans_boarduino_01'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5576-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_01" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5578-medium/' title='poor_mans_boarduino_02'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5578-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_02" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5579-medium/' title='poor_mans_boarduino_03'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5579-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_03" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5582-medium/' title='poor_mans_boarduino_04'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5582-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_04" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5583-medium/' title='poor_mans_boarduino_05'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5583-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_05" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5584-medium/' title='poor_mans_boarduino_06'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5584-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_06" /></a>
<a href='http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/img_5586-medium/' title='poor_mans_boarduino_07'><img width="150" height="150" src="http://www.nerdybynature.com/wp-content/uploads/2009/02/img_5586-medium-150x150.jpg" class="attachment-thumbnail" alt="" title="poor_mans_boarduino_07" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/02/poor-mans-boarduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino night light</title>
		<link>http://www.nerdybynature.com/index.php/2009/01/arduino-night-light/</link>
		<comments>http://www.nerdybynature.com/index.php/2009/01/arduino-night-light/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 13:48:13 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[night light]]></category>

		<guid isPermaLink="false">http://www.nerdybynature.com/?p=97</guid>
		<description><![CDATA[I received my first Arduino in the mail the other day. Of course I went through all the tutorials and started tinkering right away. But I won&#8217;t bore you with those details&#8230;God knows there are too many &#8220;I plugged in an LED and got the Blink program running&#8221; out there already. But I did design [...]]]></description>
			<content:encoded><![CDATA[<p>I received my first Arduino in the mail the other day. Of course I went through all the tutorials and started tinkering right away. But I won&#8217;t bore you with those details&#8230;God knows there are too many &#8220;I plugged in an LED and got the Blink program running&#8221; out there already. But I did design a quick little circuit that I thought might be handy as a tutorial for beginners (like myself).</p>
<p>For the physical setup, all you need is an LED with a 220Ω resistor connected to pin 11, and a photocell connected to pin 2 with a 5V pulldown configuration (see pictures). I&#8217;ve attached the sketch code to the post&#8230;upload the sketch to your Arduino and say goodbye to the boogie monster. <a href="http://www.nerdybynature.com/wp-content/uploads/2009/01/night_light_sketch.txt">Click here to download sketch code.</a><br />
<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/sfkqWnu5YN8&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sfkqWnu5YN8&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdybynature.com/index.php/2009/01/arduino-night-light/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
