<?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>JeremyBlum.com &#187; Assorted Hacks and Mods</title>
	<atom:link href="http://jeremyblum.com/category/assorted-hacks-and-mods/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeremyblum.com</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 20:42:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SudoGlove &#8211; Hardware Control Using Hand Gestures</title>
		<link>http://jeremyblum.com/2010/05/09/sudoglove/</link>
		<comments>http://jeremyblum.com/2010/05/09/sudoglove/#comments</comments>
		<pubDate>Sun, 09 May 2010 16:45:34 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Cornell]]></category>
		<category><![CDATA[RC Car]]></category>
		<category><![CDATA[SudoGlove]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=421</guid>
		<description><![CDATA[Update 5/19/10 &#8211; I have uploaded the final report, code, schematics, laser-cutting files, and sound effects!  Read on to download them. Introducing the SudoGlove Control System!  This is my final project for INFO4320 at Cornell Engineering.  It was developed by me and three other students: Joe Ballerini, Tiffany Ng, and Alex Garcia.  You get geek [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020098.JPG" title="Complete System" rel="lightbox[singlepic166]" >
	<img class="ngg-singlepic ngg-center" src="http://jeremyblum.com/index.php?callback=image&amp;pid=166&amp;width=500&amp;height=375&amp;mode=" alt="Complete System" title="Complete System" />
</a>
</p>
<p><em><strong>Update 5/19/10 &#8211; I have uploaded the final report, code, schematics, laser-cutting files, and sound effects!  <a title="Read On!" href="http://jeremyblum.com/2010/05/09/sudoglove/#more-421" target="_self">Read on</a> to download them</strong></em>.</p>
<p>Introducing the SudoGlove Control System!  This is my final project for <a title="INFO4320" href="http://www.infosci.cornell.edu/courses/courses.asp?cnumber=INFO%204320" target="_blank">INFO4320</a> at Cornell Engineering.  It was developed by me and three other students: <a title="Joe's Youtube Channel" href="http://www.youtube.com/user/JoeBallerini" target="_blank">Joe Ballerini</a>, <a title="Tiffany's Youtube Channel" href="http://www.youtube.com/user/2tyn" target="_blank">Tiffany Ng</a>, and <a title="Alex's Youtube Channel" href="http://www.youtube.com/user/EndlessDofAce" target="_blank">Alex Garcia</a>.  You get geek points if you can figure out why we decided to call it the SudoGlove.  <a title="XKCD Sudo Sandwich" href="http://jeremyblum.com/2008/11/10/sudo-sandwhich/" target="_blank">Here&#8217;s a hint</a>&#8230;</p>
<p>SudoGlove aims to bridge the gap between the user and traditional physical hardware devices. Given the high learning curve in understanding how to use foreign technologies, we hope to break away from conventional control mechanisms and explore an intuitive way to control these devices. SudoGlove provides a tangible interface that relies on hand gestures to wirelessly control any device or software. By removing the distance between the user and traditional hardware devices, our goal is for SudoGlove to feel more like an extension of the body as opposed to an external machine.</p>
<p>As an investigation into this idea, the goal of this project is to capture simple hand gestures from the SudoGlove and use that input to wirelessly control a modified RC car. Controlled variables include speed, steering, forward/reverse, headlights, siren lights, siren sounds, and a horn using a combination of flex, force, vibration, and gyroscopic sensors.</p>
<p><em>News: SudoGlove has been<a title="Hack a Day" href="http://hackaday.com/2010/05/10/more-glove-based-interfaces/" target="_blank"> featured on Hack-a-Day</a>!</em></p>
<h3><a title="Read On!" href="http://jeremyblum.com/2010/05/09/sudoglove/#more-421" target="_self"><strong>Read on for a demonstration video, photo gallery, additional information, and downloadable content!</strong></a></h3>
<p><span id="more-421"></span></p>
<p><strong>VIDEO DEMONSTRATION</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/RnWPoaLU1i4&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/RnWPoaLU1i4&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>THE TEAM</strong></p>
<table>
<tbody>
<tr>
<td>
<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020111.JPG" title="Jeremy Wielding the Glove" rel="lightbox[singlepic172]" >
	<img class="ngg-singlepic" src="http://jeremyblum.com/index.php?callback=image&amp;pid=172&amp;width=120&amp;height=120&amp;mode=" alt="Jeremy Wielding the Glove" title="Jeremy Wielding the Glove" />
</a>
</td>
<td>
<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020118.JPG" title="Heyyy" rel="lightbox[singlepic177]" >
	<img class="ngg-singlepic" src="http://jeremyblum.com/index.php?callback=image&amp;pid=177&amp;width=120&amp;height=120&amp;mode=" alt="Heyyy" title="Heyyy" />
</a>
</td>
<td>
<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020121.JPG" title="Tiffany Shows of the Glove" rel="lightbox[singlepic178]" >
	<img class="ngg-singlepic" src="http://jeremyblum.com/index.php?callback=image&amp;pid=178&amp;width=120&amp;height=120&amp;mode=" alt="Tiffany Shows of the Glove" title="Tiffany Shows of the Glove" />
</a>
</td>
<td>
<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020126.JPG" title="Alex Ready for Action" rel="lightbox[singlepic181]" >
	<img class="ngg-singlepic" src="http://jeremyblum.com/index.php?callback=image&amp;pid=181&amp;width=120&amp;height=120&amp;mode=" alt="Alex Ready for Action" title="Alex Ready for Action" />
</a>
</td>
</tr>
</tbody>
</table>
<p>We&#8217;re crazy engineers and there&#8217;s no telling what we may do next!</p>
<p><strong>SYSTEM COMPONENTS</strong><br />
<a rel="lightbox" title="Sewing Master" href="http://jeremyblum.com/wp-content/uploads/2010/05/Dia-Sewing-small.jpg"><img class="size-thumbnail wp-image-431 alignright" style="margin-left: 10px; margin-right: 10px;" title="Sewing Master" src="http://jeremyblum.com/wp-content/uploads/2010/05/Dia-Sewing-small-150x150.jpg" alt="Sewing Master" width="150" height="150" /></a>The SudoGlove Control system consists of three main components: The <a rel="lightbox" title="SudoGlove" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020095.JPG" target="_blank">actual glove</a>, the <a rel="lightbox" title="SudoGlove Controller" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020075.JPG" target="_blank">control pack</a>, and the <a rel="lightbox" title="RC Car" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020101.JPG" target="_blank">RC car</a>.  The glove is a standard Reebok glove with 5 sensors sewn in (thanks to my girlfriend for teaching me how to sew &#8211; Picture on the right).  The sensors include a flex sensor on the index finger, two force sensors on the ring and pinky fingers, a vibration sensor in the palm, and a <a rel="lightbox" title="Gyroscope" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020051.JPG" target="_blank">two dimensional gyroscope</a> on the wrist.  A small protoboard houses 3 status LEDs, and a connector for the 12-conductor wire that goes to the control pack.</p>
<p>The <a rel="lightbox" title="Control Unit" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020108.JPG" target="_blank">control pack</a> contains an arduino mega, prototyping shield, XBee and XBee shield, 9V Battery, illuminated power switch and a connection for the glove.  The case was designed in the Alibre Cad program and laser-cut using the Epilog Laser in <a title="Cornell Computational Sythesis Lab" href="http://ccsl.mae.cornell.edu/" target="_blank">Cornell&#8217;s Computational Synthesis Lab</a>.  The <a rel="lightbox" title="Box Etching" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020070.JPG" target="_blank">top of the box was etched</a> using this laser as well.</p>
<p>The final system component is the RC car.  We removed all the original electronics and kept just the two motors and the chassis.  An <a rel="lightbox" title="XBee module in the car" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020035.JPG" target="_blank">XBee wireless module</a> receives commands from the glove, and an <a rel="lightbox" title="Arduino Pro Mini" href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020036.JPG" target="_blank">arduino pro mini</a> processes these and tells the car what to do.   An <a title="H-Bridge on Wikipedia" href="http://en.wikipedia.org/wiki/H-bridge" target="_blank">H-Bridge</a> is commanded by the arduino and drives the motors in the appropriate directions.  We modified the car chassis to include 2 headlights, 4 siren lights, and speaker for playing sound effects.  The speaker is controlled by a <a title="SOMO on Sparkfun" href="http://www.sparkfun.com/commerce/product_info.php?products_id=9534" target="_blank">SOMO audio module</a> which communicates with the arduino as well.</p>
<p><strong>PHOTO GALLERY</strong><br />

<div class="ngg-galleryoverview" id="ngg-gallery-16-421">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://jeremyblum.com/2010/05/09/sudoglove/?show=slide">
			view slideshow		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-133" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020012.JPG" title="Arduino Mega and Shields" rel="lightbox[set_16]" >
								<img title="Arduino Mega and Shields" alt="Arduino Mega and Shields" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020012.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-134" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020023.JPG" title="Testing the Flex Sensor" rel="lightbox[set_16]" >
								<img title="Testing the Flex Sensor" alt="Testing the Flex Sensor" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020023.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-135" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020026.JPG" title="Some Very Messy Wiring" rel="lightbox[set_16]" >
								<img title="Some Very Messy Wiring" alt="Some Very Messy Wiring" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020026.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-136" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020029.JPG" title="Assembling our First Prototpye" rel="lightbox[set_16]" >
								<img title="Assembling our First Prototpye" alt="Assembling our First Prototpye" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020029.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-137" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020033.JPG" title="First Car Prototpye" rel="lightbox[set_16]" >
								<img title="First Car Prototpye" alt="First Car Prototpye" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020033.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-138" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020035.JPG" title="Xbee Wireless and Turn Motor" rel="lightbox[set_16]" >
								<img title="Xbee Wireless and Turn Motor" alt="Xbee Wireless and Turn Motor" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020035.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-139" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020036.JPG" title="Arduino Pro Mini" rel="lightbox[set_16]" >
								<img title="Arduino Pro Mini" alt="Arduino Pro Mini" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020036.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-140" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020038.JPG" title="Piezo Speaker for Testing" rel="lightbox[set_16]" >
								<img title="Piezo Speaker for Testing" alt="Piezo Speaker for Testing" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020038.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-141" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020041.JPG" title="We use 6V" rel="lightbox[set_16]" >
								<img title="We use 6V" alt="We use 6V" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020041.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-142" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020045.JPG" title="Controller Wired Up" rel="lightbox[set_16]" >
								<img title="Controller Wired Up" alt="Controller Wired Up" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020045.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-143" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020048.JPG" title="Voltage Dividers for Sensors" rel="lightbox[set_16]" >
								<img title="Voltage Dividers for Sensors" alt="Voltage Dividers for Sensors" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020048.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-144" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020049.JPG" title="Glove Connection" rel="lightbox[set_16]" >
								<img title="Glove Connection" alt="Glove Connection" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020049.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-145" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020050.JPG" title="Lots of Wires!" rel="lightbox[set_16]" >
								<img title="Lots of Wires!" alt="Lots of Wires!" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020050.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-146" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020051.JPG" title="Gyroscope and LEDs" rel="lightbox[set_16]" >
								<img title="Gyroscope and LEDs" alt="Gyroscope and LEDs" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020051.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-147" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020052.JPG" title="Initial Flex Sensor Test" rel="lightbox[set_16]" >
								<img title="Initial Flex Sensor Test" alt="Initial Flex Sensor Test" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020052.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-148" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020055.JPG" title="Force Sensors with Original Sewing Job" rel="lightbox[set_16]" >
								<img title="Force Sensors with Original Sewing Job" alt="Force Sensors with Original Sewing Job" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020055.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-149" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020067.JPG" title="Does it fit!?" rel="lightbox[set_16]" >
								<img title="Does it fit!?" alt="Does it fit!?" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020067.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-150" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020068.JPG" title="Like a glove!" rel="lightbox[set_16]" >
								<img title="Like a glove!" alt="Like a glove!" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020068.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-151" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020069.JPG" title="Unlimited Poweeerrrr!" rel="lightbox[set_16]" >
								<img title="Unlimited Poweeerrrr!" alt="Unlimited Poweeerrrr!" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020069.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-152" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020070.JPG" title="Laser-Etched Cover" rel="lightbox[set_16]" >
								<img title="Laser-Etched Cover" alt="Laser-Etched Cover" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020070.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-153" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020073.JPG" title="Soldering the Power Switch" rel="lightbox[set_16]" >
								<img title="Soldering the Power Switch" alt="Soldering the Power Switch" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020073.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-154" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020075.JPG" title="Assembled in the Laser-Cut Holster" rel="lightbox[set_16]" >
								<img title="Assembled in the Laser-Cut Holster" alt="Assembled in the Laser-Cut Holster" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020075.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-155" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020076.JPG" title="XBee on the controller Board" rel="lightbox[set_16]" >
								<img title="XBee on the controller Board" alt="XBee on the controller Board" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020076.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-156" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020077.JPG" title="Shiny!" rel="lightbox[set_16]" >
								<img title="Shiny!" alt="Shiny!" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020077.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-157" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020078.JPG" title="More Testing of the Car Assembly" rel="lightbox[set_16]" >
								<img title="More Testing of the Car Assembly" alt="More Testing of the Car Assembly" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020078.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-158" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020080.JPG" title="Modifying the Car" rel="lightbox[set_16]" >
								<img title="Modifying the Car" alt="Modifying the Car" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020080.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-159" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020081.JPG" title="Speaker mounted in Roof" rel="lightbox[set_16]" >
								<img title="Speaker mounted in Roof" alt="Speaker mounted in Roof" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020081.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-160" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020082.JPG" title="Assembled Car Internals" rel="lightbox[set_16]" >
								<img title="Assembled Car Internals" alt="Assembled Car Internals" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020082.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-161" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020085.JPG" title="LED Connections" rel="lightbox[set_16]" >
								<img title="LED Connections" alt="LED Connections" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020085.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-162" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020091.JPG" title="Battery in Case" rel="lightbox[set_16]" >
								<img title="Battery in Case" alt="Battery in Case" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020091.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-163" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020093.JPG" title="Sensors Re-Sewed" rel="lightbox[set_16]" >
								<img title="Sensors Re-Sewed" alt="Sensors Re-Sewed" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020093.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-164" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020095.JPG" title="Testing the Fit" rel="lightbox[set_16]" >
								<img title="Testing the Fit" alt="Testing the Fit" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020095.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-165" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020096.JPG" title="Making a Fist" rel="lightbox[set_16]" >
								<img title="Making a Fist" alt="Making a Fist" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020096.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-166" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020098.JPG" title="Complete System" rel="lightbox[set_16]" >
								<img title="Complete System" alt="Complete System" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020098.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-167" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020100.JPG" title="Back View" rel="lightbox[set_16]" >
								<img title="Back View" alt="Back View" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020100.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-168" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020101.JPG" title="Front View" rel="lightbox[set_16]" >
								<img title="Front View" alt="Front View" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020101.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-169" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020102.JPG" title="Speaker Grill" rel="lightbox[set_16]" >
								<img title="Speaker Grill" alt="Speaker Grill" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020102.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-170" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020105.JPG" title="Top View" rel="lightbox[set_16]" >
								<img title="Top View" alt="Top View" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020105.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-171" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020108.JPG" title="Inside the Control Unit" rel="lightbox[set_16]" >
								<img title="Inside the Control Unit" alt="Inside the Control Unit" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020108.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-172" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020111.JPG" title="Jeremy Wielding the Glove" rel="lightbox[set_16]" >
								<img title="Jeremy Wielding the Glove" alt="Jeremy Wielding the Glove" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020111.JPG" width="100" height="74" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-173" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020112.JPG" title="Stand Back" rel="lightbox[set_16]" >
								<img title="Stand Back" alt="Stand Back" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020112.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-174" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020113.JPG" title="Jeremy and Joe Show off the System" rel="lightbox[set_16]" >
								<img title="Jeremy and Joe Show off the System" alt="Jeremy and Joe Show off the System" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020113.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-175" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020116.JPG" title="We're Very Exicted" rel="lightbox[set_16]" >
								<img title="We're Very Exicted" alt="We're Very Exicted" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020116.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-176" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020117.JPG" title="Whoa" rel="lightbox[set_16]" >
								<img title="Whoa" alt="Whoa" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020117.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-177" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020118.JPG" title="Heyyy" rel="lightbox[set_16]" >
								<img title="Heyyy" alt="Heyyy" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020118.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-178" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020121.JPG" title="Tiffany Shows of the Glove" rel="lightbox[set_16]" >
								<img title="Tiffany Shows of the Glove" alt="Tiffany Shows of the Glove" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020121.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-179" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020123.JPG" title="Tiffany Shows off the Glove" rel="lightbox[set_16]" >
								<img title="Tiffany Shows off the Glove" alt="Tiffany Shows off the Glove" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020123.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-180" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020124.JPG" title="Suspicious" rel="lightbox[set_16]" >
								<img title="Suspicious" alt="Suspicious" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020124.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-181" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020126.JPG" title="Alex Ready for Action" rel="lightbox[set_16]" >
								<img title="Alex Ready for Action" alt="Alex Ready for Action" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020126.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-182" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/sudoglove/P1020127.JPG" title="Alex Adorns the SudoGlove" rel="lightbox[set_16]" >
								<img title="Alex Adorns the SudoGlove" alt="Alex Adorns the SudoGlove" src="http://jeremyblum.com/wp-content/gallery/sudoglove/thumbs/thumbs_P1020127.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

</p>
<p><strong>SOURCE CODE, SCHEMATICS, AND DESIGNS</strong><br />
These materials are made available via a <a title="Creative Commons" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.  Feel free to modify and improve upon these materials as much as you like, but share your improvements and credit myself, Joe Ballerini, Alex Garcia, and Tiffany Ng as the original authors.  Please do not use these materials for commercial purposes.</p>
<p style="text-align: left;"><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="aligncenter" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" width="88" height="31" /></a><a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-Final-Deliverable.pdf"></a></p>
<p style="text-align: left;"><a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-Final-Deliverable.pdf">Download SudoGlove &#8211; Final Deliverable</a><br />
<a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-Code.zip">Download SudoGlove &#8211; Code</a><br />
<a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-Schematics.zip">Download SudoGlove &#8211; Schematics</a><br />
<a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-Laser-Cutting-Files.zip">Download SudoGlove &#8211; Laser Cutting Files</a><br />
<a href="http://jeremyblum.com/wp-content/uploads/2010/05/SudoGlove-AD4-Sounds.zip">Download SudoGlove &#8211; AD4 Sounds</a> (for use with SOMO Audio Module)</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2010/05/09/sudoglove/&amp;t=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=SudoGlove+-+Hardware+Control+Using+Hand+Gestures+-+http://bit.ly/b2x8JF+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;title=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;title=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;title=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;title=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;title=SudoGlove+-+Hardware+Control+Using+Hand+Gestures" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2010/05/09/sudoglove/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2010/05/09/sudoglove/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2010/05/09/sudoglove/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2010/05/09/sudoglove/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3D-Printed Glowing Puzzle</title>
		<link>http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/</link>
		<comments>http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/#comments</comments>
		<pubDate>Wed, 05 May 2010 00:38:40 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Puzzle]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=408</guid>
		<description><![CDATA[Ahh yes, the joys of college &#8211; awesome people, parties, concerts, quadrangles (they are important!), problem sets, final exams, and of course, awesome prototyping equipment.  Take for example the objet 3D-Printer.  We use one in Cornell&#8217;s Computational Synthesis Lab (CCSL), where I am employed as an undergraduate researcher.  But the information sciences department also has [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-large wp-image-409" title="3D Puzzle Design" src="http://jeremyblum.com/wp-content/uploads/2010/05/Design-Image-500x395.png" alt="3D Puzzle Design" width="500" height="395" /></p>
<p>Ahh yes, the joys of college &#8211; awesome people, parties, concerts, quadrangles (they are important!), problem sets, final exams, and of course, awesome prototyping equipment.  Take for example the <a title="Objet #D Printer" href="http://www.objet.com/3D-Printer/Eden260V/" target="_blank">objet 3D-Printer</a>.  We use one in<a title="Cornell Computational Sythesis Lab" href="http://ccsl.mae.cornell.edu/" target="_blank"> Cornell&#8217;s Computational Synthesis Lab (CCSL)</a>, where I am employed as an undergraduate researcher.  But the information sciences department also has a 3-D Printer in their <a title="HCI Lab" href="http://www.hci.cornell.edu/" target="_blank">Human-Computer Interface (HCI) Lab</a>.  The <a title="INFO 4320" href="http://www.infosci.cornell.edu/courses/courses.asp?cnumber=INFO%204320" target="_blank">Prototyping and Physical Computing Class</a> I&#8217;m enrolled in this semester tasked us with designing a 3D puzzle to be printed on one of these machines, so that&#8217;s what you&#8217;ll see in the video after the break (and the CAD picture above).  This is my third and final design project for this class.  Check out my first two <a title="Physical Website Statistics" href="http://jeremyblum.com/2010/03/05/arduino-website-stats/" target="_blank">here</a>, and <a title="Arduino Jack in the Box" href="http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/" target="_blank">here</a>, and <em><strong>stay tuned for my group&#8217;s final project!</strong></em> You can view all my mini projects for this class on my <a title="Second Youtube Channel" href="http://youtube.com/jeremyeblum" target="_blank">secondary youtube channel</a>.  The <strong>source code, schematics, and STL/CAD designs are available <a title="Jump to more!" href="http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/#more-408" target="_self">after the break</a> as well!</strong></p>
<p><span id="more-408"></span></p>
<p><strong>VIDEO DEMONSTRATION</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/ph6FsYYLchU&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/ph6FsYYLchU&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>DESIGN GOALS</strong></p>
<p>For this project, my goal was to design a complex 3D puzzle that could double as an aesthetic lighting effect when completed. The puzzle consists of 22 pieces in total: a base, a top, eight rods, and three layers of four pieces each. Each of the layers was designed with the intent that they should be radically symmetric from a middle point, though it is possible to assemble the puzzle in any way you wish. Different assemblies will result in different lighting effects once the tri-color LED is turned on. Hollow spaces within the puzzle allow the LED light to diffuse through the material and create a glowing light once completely assembled.  Note that in the accompanying alibre design files, a ninth rod is shown in the middle of the puzzle. This was printed as a backup piece incase another rod was lost (they are quite small). In the final configuration, this rod is not used, and an LED sits in its place.</p>
<p><strong>SCHEMATIC</strong></p>
<p style="text-align: center;"><strong><a rel="lightbox" title="Jack-in-the-Box schematic" href="http://jeremyblum.com/wp-content/uploads/2010/04/02-BLUM-DESIGN-Jack-in-the-Box-schematic.png"></a><a rel="lightbox" title="3D Puzzle LED Control Schematic" href="http://jeremyblum.com/wp-content/uploads/2010/05/03-BLUM-DESIGN-schematic.png"><img class="aligncenter size-large wp-image-410" title="3D Puzzle LED Control Schematic" src="http://jeremyblum.com/wp-content/uploads/2010/05/03-BLUM-DESIGN-schematic-499x326.png" alt="3D Puzzle LED Control Schematic" width="499" height="326" /></a></strong></p>
<p><strong> </strong></p>
<p><strong>SOURCE CODE, SCHEMATICS, AND DESIGNS<br />
</strong></p>
<p style="text-align: justify;">These materials are made available via a <a title="Creative Commons" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.  Feel free to modify and improve upon these materials as much as you like, but share your improvements and credit myself as the original author.  Please do not use these materials for commercial purposes without first asking for my permission.<br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="aligncenter" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" width="88" height="31" /></a><strong><a href="http://jeremyblum.com/wp-content/uploads/2010/05/03-BLUM-DESIGN-3D-Glowing-Puzzle.zip"></a></strong></p>
<p style="text-align: justify;"><strong><a href="http://jeremyblum.com/wp-content/uploads/2010/05/03-BLUM-DESIGN-3D-Glowing-Puzzle.zip">Download 3D Puzzle Source, Schematics, Designs, and info</a></strong><strong><br />
</strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;t=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=3D-Printed+Glowing+Puzzle+-+http://bit.ly/anqVXS+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;title=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;title=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;title=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;title=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;title=3D-Printed+Glowing+Puzzle" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2010/05/04/3d-printed-glowing-puzzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino-Powered Jack-in-the-Box Toy</title>
		<link>http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/</link>
		<comments>http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 01:57:39 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Jack-in-the-box]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[toy]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=393</guid>
		<description><![CDATA[Remember the last design project I posted?  Well this second one is for the same Physical Computing class, but is totally different.  This time, the assignment was to create a Jack-in-the-Box toy.   To make mine unique I added password protection and an alarm system to the box.  Check out the video below to see what [...]]]></description>
			<content:encoded><![CDATA[<p>Remember the<a title="LED Website Display" href="http://jeremyblum.com/2010/03/05/arduino-website-stats/" target="_self"> last design project</a> I posted?  Well this second one is for the same Physical Computing class, but is totally different.  This time, the assignment was to create a Jack-in-the-Box toy.   To make mine unique I added password protection and an alarm system to the box.  Check out the video below to see what I&#8217;m talking about.  As always, I&#8217;m making the <strong>source code and schematics available below</strong> via a creative commons license, so grab it after the break!<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/Z70TRaKqUbs&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/Z70TRaKqUbs&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I have also made some other mini projects for this class.  I&#8217;m posting videos of all assignments for this class on a separate youtube channel here: <a title="INFO4320 Youtube Channel" href="http://www.youtube.com/jeremyeblum" target="_blank">http://www.youtube.com/jeremyeblum</a>.</p>
<p><strong>Update:</strong> <a title="Hackaday" href="http://hackaday.com/2010/04/05/beginner-concepts-electronic-jack-in-the-box/" target="_blank">Hack-A-Day Featured this project on their blog!</a></p>
<p>READ ON TO LEARN HOW IT WORKS AND TO DOWNLOAD SOURCE CODE/SCHEMATICS</p>
<p><span id="more-393"></span></p>
<p><strong>DESIGN GOALS</strong></p>
<p>For this project, my goal was to develop a protected Jack-in-the-Box.  In other words, I wanted a toy where you have to enter a special code or the box will not open.</p>
<p><em>Break-In Detection</em></p>
<ol>
<li>Use a limit switch under the lid to detect if the lid is being opened without a code being entered</li>
<li>If the lid is opened like this, the box will sound an alarm using the built-in speaker, and the Jack will not come up</li>
</ol>
<p><em>Code Requirement</em></p>
<ol>
<li>Use three momentary push-buttons to accept a 6 digit code</li>
<li>When this code is entered correctly, the box will play a happy tune on the speaker, and the jack will popup</li>
<li>To close the box after opening it, press all three buttons simultaneously.  The box will then start checking for new inputs, and the alarm will be re-enabled.</li>
<li>When this code is entered incorrectly, the box will make a sad noise, and the jack will not come up</li>
</ol>
<p><em>Construction</em></p>
<ol>
<li>The box is designed in Alibre, then laser cut</li>
<li>An ordinary door hinge is used as the hinge for the box</li>
<li>A servo motor and attached arm are used to both open the box and to pop the Jack up</li>
<li>An internal speaker plays alarm sounds and tones when entering codes</li>
<li>A limit switch under the lid detect when the lid is opened or closed</li>
<li>A handle was created using staples – it is necessary to use as extra weight on the limit switch</li>
<li>The hinge, speaker, and switch are screwed directly into the laser cut acrylic using bolts and heat-molded threading that are designed to be melted right into holes in the acrylic</li>
</ol>
<p><em>Software</em></p>
<ol>
<li>The software is specifically designed to make it easy to change settings</li>
<li>It is even possible to change the passcode and the length of the passcode by only changing two constants</li>
<li>The software uses the pitches and servo libraries to control the servo and speaker respectively</li>
</ol>
<p><strong>HARDWARE USED</strong></p>
<ol>
<li>Socket Cap Screws: <a href="http://www.mcmaster.com/#91292a014/=6i7q7a">http://www.mcmaster.com/#91292a014/=6i7q7a</a></li>
<li>Threaded Heat Inserts: <a href="http://www.mcmaster.com/#94180a321/=6i7q7d">http://www.mcmaster.com/#94180a321/=6i7q7d</a></li>
<li>No-Mortise Fastinge Door Hinge:  Available at most Hardware Stores</li>
<li>Limit Switch: <a href="http://www.radioshack.com/product/index.jsp?productId=2049718">http://www.radioshack.com/product/index.jsp?productId=2049718</a></li>
<li>Servo Motor: <a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=null&amp;productId=283021">http://www.jameco.com</a></li>
<li>Speaker: <a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;productId=99996">http://www.jameco.com</a></li>
</ol>
<p><strong>SCHEMATIC</strong></p>
<p style="text-align: center;"><strong><a rel="lightbox" title="Jack-in-the-Box schematic" href="http://jeremyblum.com/wp-content/uploads/2010/04/02-BLUM-DESIGN-Jack-in-the-Box-schematic.png"><img class="size-large wp-image-394 aligncenter" title="Jack-in-the-Box schematic" src="http://jeremyblum.com/wp-content/uploads/2010/04/02-BLUM-DESIGN-Jack-in-the-Box-schematic-500x375.png" alt="Jack-in-the-Box schematic" width="500" height="375" /></a><br />
</strong></p>
<p>There are several key components shown in the schematic.  Starting at the left is the 5V regulator and motor.  Because USB cannot provide enough current on its own, an auxiliary 9V battery is regulated to 5V to power the servo motor.  The motor’s position can be adjusted to a precise angle using a pulse-width-modulation (PWM) output from the Arduino.  Next is the speaker – Its tone is adjusted based on the width of the PWM signal that it receives from pin 10.  Using the pitches library, it is easy to program it to play a short tune.  To the right of the speaker are the keypad buttons and their corresponding LEDs.  When a button is depressed, it both illuminates the LED (to provide visual feedback to the user), and it sends a high signal to the corresponding arduino pin.  Using software debouncing, these signals are analyzed and checked to see if they match the required password.  The last portion of the circuit is the limit switch and accompanying debouncing circuitry.  Because the switch is used as a hardware interrupt (to ensure intrusion attempts are always caught), software debouncing cannot be used.  This is because the millis() and delay() function are inoperable within interrupt functions.  To debounce the switch, a simple RC circuit is used, where the time decay constant was made to be 200ms, or approximately the amount of time that it takes for the button output to stop fluctuating.  Since capacitors cannot charge instantaneously, their voltage output approaches zero as an exponential decay function while the button bounces.  Its voltage only passes the threshold digital voltage once, resulting in a debounced signal.</p>
<p><strong>ADDITIONAL USAGE SCENARIOS</strong></p>
<p>While designing my Jack-in-the-Box, I realized that this design would actually be perfect for protecting something like a wedding ring.  Instead of putting the “Jack” on the end of the acrylic rod, you could put jewelry of some kind.  You would have to enter a passcode and your jewelery would be presented to you.  In addition to the audible alarm, you could potentially have a camera take a picture of the intruder to further protect your jewelery.</p>
<p><strong>SOURCE CODE, SCHEMATICS, AND DESIGNS<br />
</strong></p>
<p style="text-align: justify;">These materials are made available via a <a title="Creative Commons" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.  Feel free to modify and improve upon this code as much as you like, but share your improvements and credit myself as the original author.  Please do not use this code for commercial purposes without first asking for my permission.<br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="aligncenter" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" width="88" height="31" /></a><a rel="cc:attributionURL" href="http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/"><br />
</a><strong> <a href="http://jeremyblum.com/wp-content/uploads/2010/04/02-BLUM-Jack-in-the-Box.zip">Jack-in-the-Box Source, Schematics, Designs, and info</a><br />
</strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;t=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Arduino-Powered+Jack-in-the-Box+Toy+-+http://bit.ly/9O9H3K+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;title=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;title=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;title=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;title=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;title=Arduino-Powered+Jack-in-the-Box+Toy" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2010/04/03/arduino-powered-jack-in-the-box-toy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Physically Display Website Statistics via an Arduino + Multicolor LED</title>
		<link>http://jeremyblum.com/2010/03/05/arduino-website-stats/</link>
		<comments>http://jeremyblum.com/2010/03/05/arduino-website-stats/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:42:59 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=387</guid>
		<description><![CDATA[Behold! My newest little project. This one isn&#8217;t as complicated as some of my other creations, but it&#8217;s still a pretty cool little device that I put together.  I made this as a project for my INFO4320 class at Cornell: &#8220;Intro to Rapid Prototyping and Physical Computing&#8221;.  The assignment was to use a multicolor LED [...]]]></description>
			<content:encoded><![CDATA[<p>Behold!  My newest little project.  This one isn&#8217;t as complicated as <a title="Hacks and Mods Section" href="http://jeremyblum.com/category/assorted-hacks-and-mods/" target="_self">some of my other creations</a>, but it&#8217;s still a pretty cool little device that I put together.  I made this as a project for my INFO4320 class at Cornell: &#8220;Intro to Rapid Prototyping and Physical Computing&#8221;.  The assignment was to use a multicolor LED to react to some kind of stimuli.  So, I figured I&#8217;d make my stimuli this very blog!  Using a combination of PHP code on this site, a python script, and an arduino, I&#8217;m able to monitor website visits, and the OS/Browser of people visiting in (nearly) real time.  As always, I&#8217;m making the <strong>source code and schematics available below</strong> via a creative commons license, so go nuts!   A video is worth about 116,987,432 words by my calculations, so watch the video below to see how it works!<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/y7vSyxLAtxI&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/y7vSyxLAtxI&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I have also made some other mini projects for this class.  I&#8217;m posting videos of all assignments for this class on a separate youtube channel here: <a title="INFO4320 Youtube Channel" href="http://www.youtube.com/jeremyeblum" target="_blank">http://www.youtube.com/jeremyeblum</a>.  I&#8217;ll be posting the more interesting ones (like this one), on my normal channel as well.  But if you wanna see everything I&#8217;m up to, go subscribe to that other channel!  I&#8217;ve started work with three other group members on our final project for this class.  It&#8217;s ambitious, but if we can get it to work, it&#8217;s gonna be really cool (Hopefully on par with the <a title="Nerf Sentry Gun" href="http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/" target="_self">Nerf Sentry Gun</a> from last year)!</p>
<p>READ ON TO LEARN HOW IT WORKS AND TO DOWNLOAD SOURCE CODE/SCHEMATICS</p>
<p><span id="more-387"></span></p>
<p><strong>DESIGN GOALS</strong></p>
<p>For this project, my goal was to develop an LED display device that could provide me with real-time statistics about <a href="http://www.jeremyblum.com/">my website</a>. I designed my project to collect and display three types of information:</p>
<ol>
<li>Number of Visits by Human Users
<ol>
<li>Determine if a user is human, and record their visit as a timestamp, keep 1 month’s worth of timestamps</li>
<li>Parse this list of timestamps to determine number of visits in last 24 hours, week, and month</li>
<li>Set “goal” values and have LED increase in intensity as the number of visits gets closer to the goal for a given time frame</li>
<li>A different LED color represents each time span (ie. Day , week, month)</li>
</ol>
</li>
<li>Browsers Being used by Visiting Users
<ol>
<li>Gather browser statistics, and keep them for most recent 1000 visits</li>
<li>Determine Browser Percentages and vary LED intensity for three colors corresponding to Firefox, Internet Explorer, and Other</li>
</ol>
</li>
<li>Operating Systems of Visiting Users
<ol>
<li>Gather Operating System statistics, and keep them for most recent 1000 visits</li>
<li>Determine OS Percentages, and vary LED intensity for three colors corresponding to Windows, Mac, and Linux</li>
</ol>
</li>
</ol>
<p><strong>HOW IT WORKS</strong></p>
<ol>
<li>PHP script running in footer on each page of my blog first checks against a list of webcrawler identities to determine if the visitor is human</li>
<li>If visitor is believed to be human, the current <a href="http://en.wikipedia.org/wiki/Unix_time">unix epoch time stamp</a> is appended to a text file</li>
<li>Additionally, the text file is checked for entries over one month old and they are removed</li>
<li>Length of OS and browser text files are checked.  If there are more than 1000 entries, leading entries are removed</li>
<li>Based on <a href="http://en.wikipedia.org/wiki/User_agent">user agent string</a>, OS and Browser are detected and each are appended to a text file</li>
<li>Python Script running on local computer allows user to choose which statistic they would like to monitor
<ol>
<li>Number of Visitors Mode
<ol>
<li>Visitor text file is read into array from server</li>
<li>Visits in past month are determined by length of array</li>
<li>Visits in last week are determined by subtracting 1 week in seconds from current unix time</li>
<li>Visits in last 24 hours are determined in similar fashion</li>
<li>Statistics are printed and compared against goal values</li>
<li>Command is translated into form for serial transmission to Arduino like this “004175250” – each three numbers represent brightness for an LED on scale from 0-255</li>
<li>Values are sent over serial to Arduino</li>
<li>Script repeats every 5 minutes, downloading updated information</li>
</ol>
</li>
</ol>
<ol>
<li>Browser Mode
<ol>
<li>Browser text file is read into array from server</li>
<li>Array is searched for string matches for each browser option</li>
<li>Percentages are determined based on total list length</li>
<li>Statistics are printed</li>
<li>Command is translated into form for serial transmission to Arduino like this “050150050” – each three numbers represent brightness for an LED on scale from 0-255</li>
<li>Values are sent over serial to Arduino</li>
<li>Script repeats every 5 minutes, downloading updated information</li>
</ol>
</li>
</ol>
<ol>
<li>OS Mode
<ol>
<li>OS text file is read into array from server</li>
<li>Array is searched for string matches for each OS option</li>
<li>Percentages are determined based on total list length</li>
<li>Statistics are printed</li>
<li>Command is translated into form for serial transmission to Arduino like this “050150050” – each three numbers represent brightness for an LED on scale from 0-255</li>
<li>Values are sent over serial to Arduino</li>
<li>Script repeats every 5 minutes, downloading updated information</li>
</ol>
</li>
</ol>
</li>
<li>Arduino receives 9-bit value over serial connection</li>
<li>First 3 bits determine green brightness, second 3 determine blue, and the last three determine red</li>
<li>Arduino flashes through each of these colors adjusting their brightness to correspond to the values it received over serial</li>
<li>On/Off Switch is connected to interrupt and can start/stop Arduino at any time, even in the middle of a sequence.</li>
</ol>
<p><strong>SOURCE CODE AND SCHEMATICS</strong></p>
<p style="text-align: justify;">These materials are made available via a <a title="Creative Commons" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.  Feel free to modify and improve upon this code as much as you like, but share your improvements and credit myself as the original author.  Please do not use this code for commercial purposes without first asking for my permission.<br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="aligncenter" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" width="88" height="31" /></a><a rel="cc:attributionURL" href="http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/"><br />
</a><strong><a title="Source Code and Schematics" href="http://jeremyblum.com/wp-content/uploads/2010/03/LED-Website-Monitor-JeremyBlum.zip"> Download LED Website Monitor Source Code and Schematics</a><br />
</strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;t=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED+-+http://bit.ly/9vX6BZ+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;title=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;title=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;title=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;title=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;title=Physically+Display+Website+Statistics+via+an+Arduino+%2B+Multicolor+LED" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2010/03/05/arduino-website-stats/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2010/03/05/arduino-website-stats/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2010/03/05/arduino-website-stats/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>RoboClaw v1 featured on Hackaday</title>
		<link>http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/</link>
		<comments>http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:24:02 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[hackaday]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[propeller]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=337</guid>
		<description><![CDATA[If you don&#8217;t read hackaday already, you should be, because it&#8217;s probably the best blog around.  Anyways, they&#8217;ve recently featured my roboclaw on their website: go check it out! Here&#8217;s some of my other stuff that&#8217;s been on Hackaday: http://hackaday.com/2008/07/14/deepnote-guitar-hero-bot/ http://hackaday.com/2009/05/17/nerf-centry-gun-with-image-recognition/ Share this on Facebook Tweet This! Stumble upon something good? Share it on StumbleUpon [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t read <a title="Hackaday Blog" href="http://hackaday.com" target="_blank">hackaday</a> already, you should be, because it&#8217;s probably the best blog around.  Anyways, they&#8217;ve recently featured my <a title="RoboClaw on my Blog" href="http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/" target="_blank">roboclaw</a> on their website: <a title="RoboClaw on Hackaday" href="http://hackaday.com/2009/10/27/remote-controlled-claw-of-doom/" target="_blank">go check it out</a>!</p>
<p>Here&#8217;s some of my other stuff that&#8217;s been on Hackaday:<br />
<a title="Hackaday Blog" href="http://hackaday.com/2008/07/14/deepnote-guitar-hero-bot/" target="_blank">http://hackaday.com/2008/07/14/deepnote-guitar-hero-bot/</a><br />
<a title="Hackaday Blog" href="http://hackaday.com/2009/05/17/nerf-centry-gun-with-image-recognition/" target="_blank">http://hackaday.com/2009/05/17/nerf-centry-gun-with-image-recognition/</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;t=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RoboClaw+v1+featured+on+Hackaday+-+http://bit.ly/dCOx45+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;title=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;title=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;title=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;title=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;title=RoboClaw+v1+featured+on+Hackaday" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2009/10/27/roboclaw-v1-featured-on-hackaday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web-Controlled RoboClaw v1</title>
		<link>http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/</link>
		<comments>http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 05:07:45 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[claw]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[propeller]]></category>
		<category><![CDATA[relays]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[spin]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=318</guid>
		<description><![CDATA[This is a project that I&#8217;ve been working on on-and-off for over a year now. A while back, a friend got me this robotic claw kit from thinkgeek, basically to make fun of my prosthetics research.  It&#8217;s simple enough&#8230;A wired controller is connected to the claw and has a few levers for eliciting movement from [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/claw and controller.JPG" title="claw and controller" rel="lightbox[singlepic131]" >
	<img class="ngg-singlepic ngg-center" src="http://jeremyblum.com/index.php?callback=image&amp;pid=131&amp;width=480&amp;height=360&amp;mode=" alt="RoboClaw v1" title="RoboClaw v1" />
</a>

<p>This is a project that I&#8217;ve been working on on-and-off for over a year now.  A while back, a friend got me this <a title="ThinkGeek.com" href="http://www.thinkgeek.com/geektoys/science/b696/" target="_blank">robotic claw kit from thinkgeek</a>, basically to make fun of my <a title="Prosthetics Research" href="http://jeremyblum.com/category/prosthetics_research/" target="_blank">prosthetics research</a>.  It&#8217;s simple enough&#8230;A wired controller is connected to the claw and has a few levers for eliciting movement from the arm&#8217;s various motors.  As you might expect, I got bored with picking up blocks rather quickly.  I instantly had the idea to pick up blocks remotely!  Oh what fun that would be!  To accomplish this I employed one of my favorite microcontrollers, the <a title="Parallax Propeller Home Page" href="http://www.parallax.com/tabid/407/Default.aspx" target="_blank">parallax propeller</a>. Admittedly, the propeller is overkill for this project, but it&#8217;s what I happened to have on hand&#8211;It has 8 cores and I am only using one, but this is only v1 of the claw, and I hope to take better advantage of this chip in the future.  The propeller chip communicates with a small web server (also sold by <a title="Parallax Internet Netburner Kit" href="http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/PINK/List/0/SortField/4/ProductID/40/Default.aspx" target="_blank">parallax</a>) via a serial connection.  I&#8217;ve even setup a network webcam, and embedded the feed in the control webpage, so I can easily control the claw from anywhere in the world!</p>
<p><strong><em>Read on for pictures, source-code, a video, and a walk-through of the system!</em></strong></p>
<p><span id="more-318"></span></p>
<p><strong>Here&#8217;s how the whole thing works:</strong><br />
1. I send a command via my web interface (view the html source below)<br />
2. That command modifies one of the variables stored in the web server&#8217;s RAM<br />
3. The propeller is constantly polling the web server to search for variable changes.  If it finds one, it executes the related command based on the value stored in the variable.<br />
4. To execute a command, the propeller sets an output pin connected to a solid-state relay to &#8220;high&#8221; for a certain about of time (based on another web variable)<br />
5. While that pin is high, the relay connects the two wires necessary to move the requested part of the claw.<br />
6. When movement is complete, the propeller sets the RAM variable in the web server back to a default value, and starts querying for new values again.<br />
*In addition to this, the propeller illuminates a red or green LED to indicate whether the web server is properly communicating with the network.</p>
<p><strong>Source-Code (v1)</strong><br />
<a title="CC" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" /></a><br />
<span>The RoboClaw v1</span> source code is licensed under a <a title="CC" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.<br />
<a href="http://jeremyblum.com/wp-content/uploads/2009/08/RoboClaw.zip">RoboClaw Source Code (ZIP &#8211; 276KB)</a></p>
<p><strong>Pictures!</strong><br />

<div class="ngg-galleryoverview" id="ngg-gallery-15-318">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/?show=slide">
			view slideshow		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-131" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/claw and controller.JPG" title="claw and controller" rel="lightbox[set_15]" >
								<img title="RoboClaw v1" alt="RoboClaw v1" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_claw and controller.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-130" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Webserver.JPG" title="Webserver" rel="lightbox[set_15]" >
								<img title="Webserver" alt="Webserver" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Webserver.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-129" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Relays.JPG" title="Relays" rel="lightbox[set_15]" >
								<img title="Relays" alt="Relays" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Relays.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-128" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Controller Board.JPG" title="Controller Board" rel="lightbox[set_15]" >
								<img title="Controller Board" alt="Controller Board" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Controller Board.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-127" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Communication LEDs.JPG" title="Communication LEDs" rel="lightbox[set_15]" >
								<img title="Communication LEDs" alt="Communication LEDs" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Communication LEDs.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-126" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Claw Up Close.JPG" title="Claw Up Close" rel="lightbox[set_15]" >
								<img title="Claw Up Close" alt="Claw Up Close" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Claw Up Close.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-125" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/Axis Network Cam.JPG" title="Axis Network Cam" rel="lightbox[set_15]" >
								<img title="Axis Network Cam" alt="Axis Network Cam" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_Axis Network Cam.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-132" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/webpage.jpg" title="webpage" rel="lightbox[set_15]" >
								<img title="webpage" alt="webpage" src="http://jeremyblum.com/wp-content/gallery/roboclaw-v1/thumbs/thumbs_webpage.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

</p>
<p><strong>Video Walk-Through and Demo</strong><br />
<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/P-9_dMJKh9E&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/P-9_dMJKh9E&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;t=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Web-Controlled+RoboClaw+v1+-+http://bit.ly/bhAyc6+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;title=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;title=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;title=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;title=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;title=Web-Controlled+RoboClaw+v1" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2009/08/20/web-controlled-roboclaw-v1/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Nerf Sentry Gun&#8230;be afraid.</title>
		<link>http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/</link>
		<comments>http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/#comments</comments>
		<pubDate>Sat, 16 May 2009 02:40:13 +0000</pubDate>
		<dc:creator>Jeremy Blum</dc:creator>
				<category><![CDATA[Assorted Hacks and Mods]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[nerf sentry gun]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jeremyblum.com/?p=276</guid>
		<description><![CDATA[The nerf sentry gun was developed as a final project for Cornell University&#8217;s CS1114 Matlab Robotics class.  Jason Wright (www.jasonline.net) and I worked on the gun together, and were awarded &#8220;coolest final project&#8221;. Check out the video of the gun in action, and see how we built it: READ ON FOR PICTURES, SOURCE CODE, AND [...]]]></description>
			<content:encoded><![CDATA[<p>The nerf sentry gun was developed as a final project for<a title="CS1114" href="http://cs100r.cs.cornell.edu/" target="_blank"> Cornell University&#8217;s CS1114 Matlab Robotics class</a>.   Jason Wright (<a title="Jason's Website" href="http://www.jasonline.net" target="_blank">www.jasonline.net</a>) and I worked on the gun together, and were awarded &#8220;coolest final project&#8221;.</p>
<p>Check out the video of the gun in action, and see how we built it:<br />
<object width="480" height="295" data="http://www.youtube.com/v/PGRBjCrnjhs&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/PGRBjCrnjhs&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>READ ON FOR PICTURES, SOURCE CODE, AND A COMPLETE FEATURE LIST</p>
<p><span id="more-276"></span><strong>FEATURES</strong></p>
<p><em>Authentication Mode</em><br />
This tells the gun to actively prompt things that move in front of the camera for badges and then shoots them if they fail to present a badge.  Anybody who enters has their image uploaded to the web (<a title="Sentry Gun Website" href="http://cs1114.jeremyblum.com" target="_blank">cs1114.jeremyblum.com</a>) along with the date of entry, and whether or not they were approved to enter.  This information is twittered as well <a title="Twitter Account" href="http://www.twitter.com/nerfsentrygun" target="_blank">(www.twitter.com/nerfsentrygun</a>)</p>
<p><em>Freefire Mode</em><br />
Tracks and shoots anything that moves.</p>
<p><em>Panic Mode</em><br />
Plays a siren, turns on the gun, and rotates the gun semi-randomly.</p>
<p><em>Manual Mode</em><br />
Allows you to control the gun manually.  Arrow keys rotate the gun and the space bar fires.</p>
<p><strong>HOW IT WORKS</strong></p>
<p><em>Matlab Image Tracking</em><br />
A matlab program is responsible for performing all image tracking tasks.  A USB webcam and the image acquisition toolbox allow matlab to capture a video stream and analyze frames to ascertain velocity vectors.  <a title="SIFT on wikipedia" href="http://en.wikipedia.org/wiki/Scale-invariant_feature_transform" target="_blank">Scale-Invariant Feature Transform (SIFT)</a> image recognition software is used to identify a badge in authentication mode.  A custom matlab GUI is used to switch between modes, change color maps, and more.</p>
<p><em>National Instruments USB DAQ-6008</em><br />
This digital I/O device was interfaced to matlab using the data acquisistion toolbox to allow for control of the trigger and gun.  Channel 0 outputs a 5V signal to a mosfet in the handle of the gun that activates the trigger.  Outputs 1 and 2 connect to a basic stamp motherboard for control of the rotation servo.  Matlab can be used to turn these outputs on or off at the appropriate times.</p>
<p><em>Basic Stamp 2 and Motherboard</em><br />
A basic stamp was responsible for controlling the rotation servo.  Upon receiving an input signal from the DAQ, it will rotate the servo right or left (depending on which input was activated).  It also interfaces to two hooks that sit behind the gun and act as limit switches.  When the gun rotates all the way in one direction, a hook on the gun attached to a 5V rail makes contact with a hook connected to the basic stamp.  This sends a 5V signal to the stamp on this channel so the stamp knows to stop rotating the motor.</p>
<p><em>Trigger Circuitry</em><br />
A trigger circuit was assembled in the handle of the gun, it runs in parallel with the existing trigger, so the gun can still be fired manually.  Sending this circuit a 5V signal from the DAQ tells it to close the motor circuit and fire the gun.  The schematic for this circuit is included in the download below.</p>
<p><em>Physical Setup</em><br />
A futaba servo is attached to the bottom of the gun.  Modifying the original tripod mount allowed us to attach it fairly easily.  Unfortunately, this motor does not provide a huge amount of torque.  This is why the gun turns somewhat slowly.  To compensate slightly for this, we made the battery pack external to reduce weight on the motor.  This motor setup is attached to two metal napkin holders (totally not stolen from a dining hall) using gorilla glue.  The entire setup is on a cardboard sheet to maintain proper spacing.</p>
<p><strong>SOURCE CODE AND SCHEMATICS</strong></p>
<p style="text-align: justify;">These materials are made available via a <a title="Creative Commons" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.  Feel free to modify and improve upon this code as much as you like, but share your improvements and credit myself and Jason Wright as the original authors.  Please do not use this code for commercial purposes without first asking for our permission.<br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="aligncenter" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" alt="Creative Commons License" width="88" height="31" /></a><a rel="cc:attributionURL" href="http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/"><br />
</a><strong><a href="http://jeremyblum.com/wp-content/uploads/2009/05/nerf-sentry-gun.zip"> Download Nerf Sentry Gun Source Code and Schematics</a><br />
</strong></p>
<p><strong>PHOTO GALLERY</strong></p>
<p><strong>
<div class="ngg-galleryoverview" id="ngg-gallery-14-276">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/?show=slide">
			view slideshow		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-75" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010850.JPG" title="Checking out the Gun" rel="lightbox[set_14]" >
								<img title="Checking out the Gun" alt="Checking out the Gun" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010850.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-76" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010851.JPG" title="Testing Current Draw" rel="lightbox[set_14]" >
								<img title="Testing Current Draw" alt="Testing Current Draw" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010851.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-77" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010854.JPG" title="Soldering the Trigger Circuit" rel="lightbox[set_14]" >
								<img title="Soldering the Trigger Circuit" alt="Soldering the Trigger Circuit" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010854.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-78" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010863.JPG" title="Hacking the Gun" rel="lightbox[set_14]" >
								<img title="Hacking the Gun" alt="Hacking the Gun" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010863.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-79" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010866.JPG" title="Trigger Circuit Installed" rel="lightbox[set_14]" >
								<img title="Trigger Circuit Installed" alt="Trigger Circuit Installed" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010866.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-80" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010867.JPG" title="Engineering is Messy" rel="lightbox[set_14]" >
								<img title="Engineering is Messy" alt="Engineering is Messy" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010867.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-81" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010868.JPG" title="Messing with the Wiring" rel="lightbox[set_14]" >
								<img title="Messing with the Wiring" alt="Messing with the Wiring" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010868.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-82" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010872.JPG" title="Trigger Circuit" rel="lightbox[set_14]" >
								<img title="Trigger Circuit" alt="Trigger Circuit" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010872.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-83" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010873.JPG" title="Breadboard Testing and DC socket" rel="lightbox[set_14]" >
								<img title="Breadboard Testing and DC socket" alt="Breadboard Testing and DC socket" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010873.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-84" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010874.JPG" title="Caffeine" rel="lightbox[set_14]" >
								<img title="Caffieine" alt="Caffieine" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010874.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-85" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010875.JPG" title="Figuring out which motor to use..." rel="lightbox[set_14]" >
								<img title="Figuring out which motor to use..." alt="Figuring out which motor to use..." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010875.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-86" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010877.JPG" title="Testing Computer Triggering" rel="lightbox[set_14]" >
								<img title="Testing Computer Triggering" alt="Testing Computer Triggering" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010877.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-87" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010878.JPG" title="Testing Computer Triggering" rel="lightbox[set_14]" >
								<img title="Testing Computer Triggering" alt="Testing Computer Triggering" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010878.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-88" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010879.JPG" title="Trigger Wires" rel="lightbox[set_14]" >
								<img title="Trigger Wires" alt="Trigger Wires" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010879.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-89" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010880.JPG" title="National Instruments DAQ" rel="lightbox[set_14]" >
								<img title="National Instruments DAQ" alt="National Instruments DAQ" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010880.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-90" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010882.JPG" title="Jason Works on Motion Tracking" rel="lightbox[set_14]" >
								<img title="Jason Works on Motion Tracking" alt="Jason Works on Motion Tracking" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010882.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-91" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010883.JPG" title="Motor Control with the Basic Stamp" rel="lightbox[set_14]" >
								<img title="Motor Control with the Basic Stamp" alt="Motor Control with the Basic Stamp" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010883.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-92" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010884.JPG" title="Matlab Programming" rel="lightbox[set_14]" >
								<img title="Matlab Programming" alt="Matlab Programming" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010884.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-93" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010888.JPG" title="Looks Dangerous..." rel="lightbox[set_14]" >
								<img title="Looks Dangerous..." alt="Looks Dangerous..." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010888.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-94" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010897.JPG" title="This ended up not working..." rel="lightbox[set_14]" >
								<img title="This ended up not working..." alt="This ended up not working..." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010897.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-95" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010900.JPG" title="Motor Testing" rel="lightbox[set_14]" >
								<img title="Motor Testing" alt="Motor Testing" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010900.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-96" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010908.JPG" title="Preparing the install the motor" rel="lightbox[set_14]" >
								<img title="Preparing the install the motor" alt="Preparing the install the motor" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010908.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-97" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010909.JPG" title="Motor attached to spindle" rel="lightbox[set_14]" >
								<img title="Motor attached to spindle" alt="Motor attached to spindle" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010909.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-98" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010911.JPG" title="Temporary Mounting" rel="lightbox[set_14]" >
								<img title="Temporary Mounting" alt="Temporary Mounting" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010911.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-99" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010912.JPG" title="Duct Tape!" rel="lightbox[set_14]" >
								<img title="Duct Tape!" alt="Duct Tape!" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010912.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-100" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010914.JPG" title="Calibrating..." rel="lightbox[set_14]" >
								<img title="Calibrating..." alt="Calibrating..." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010914.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-101" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010916.JPG" title="Testing the Tracking" rel="lightbox[set_14]" >
								<img title="Testing the Tracking" alt="Testing the Tracking" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010916.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-102" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010943.JPG" title="Weight for Gorilla Glue" rel="lightbox[set_14]" >
								<img title="Weight for Gorilla Glue" alt="Weight for Gorilla Glue" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010943.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-103" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010944.JPG" title="Gorilla Gluing the mount" rel="lightbox[set_14]" >
								<img title="Gorilla Gluing the mount" alt="Gorilla Gluing the mount" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010944.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-104" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010946.JPG" title="Motor Attached Below" rel="lightbox[set_14]" >
								<img title="Motor Attached Below" alt="Motor Attached Below" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010946.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-105" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010947.JPG" title="Gorilla Glue is Beast." rel="lightbox[set_14]" >
								<img title="Gorilla Glue is Beast." alt="Gorilla Glue is Beast." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010947.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-106" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010949.JPG" title="The Gun's Very Own Website" rel="lightbox[set_14]" >
								<img title="The Gun's Very Own Website" alt="The Gun's Very Own Website" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010949.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-107" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010950.JPG" title="Final Setup!" rel="lightbox[set_14]" >
								<img title="Final Setup!" alt="Final Setup!" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010950.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-108" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010951.JPG" title="Electrical Wiring" rel="lightbox[set_14]" >
								<img title="Electrical Wiring" alt="Electrical Wiring" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010951.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-109" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010952.JPG" title="Last Minute Program Tweaks" rel="lightbox[set_14]" >
								<img title="Last Minute Program Tweaks" alt="Last Minute Program Tweaks" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010952.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-110" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010953.JPG" title="Debugging the Matlab Code" rel="lightbox[set_14]" >
								<img title="Debugging the Matlab Code" alt="Debugging the Matlab Code" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010953.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-111" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010954.JPG" title="Being Demoed in the Robotics Lab" rel="lightbox[set_14]" >
								<img title="Being Demoed in the Robotics Lab" alt="Being Demoed in the Robotics Lab" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010954.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-112" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010955.JPG" title="Ready to Fire!" rel="lightbox[set_14]" >
								<img title="Ready to Fire!" alt="Ready to Fire!" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010955.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-113" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010956.JPG" title="Don't look down the barrel of a gun..." rel="lightbox[set_14]" >
								<img title="Don't look down the barrel of a gun..." alt="Don't look down the barrel of a gun..." src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010956.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-114" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010957.JPG" title="Wired up" rel="lightbox[set_14]" >
								<img title="Wired up" alt="Wired up" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010957.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-115" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010958.JPG" title="Limit Sensors" rel="lightbox[set_14]" >
								<img title="Limit Sensors" alt="Limit Sensors" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010958.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-116" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://jeremyblum.com/wp-content/gallery/nerf-gun/P1010959.JPG" title="Completed Electronics" rel="lightbox[set_14]" >
								<img title="Completed Electronics" alt="Completed Electronics" src="http://jeremyblum.com/wp-content/gallery/nerf-gun/thumbs/thumbs_P1010959.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

</strong></p>
<p><strong>MATLAB FUNCTIONS UTILIZED</strong></p>
<p><a title="MATLAB SIFT" href="http://www.vlfeat.org/~vedaldi/code/sift.html" target="_blank">MATLAB SIFT Function by vlfeat.org</a><br />
<a title="MATLAB Twitter" href="http://www.mathworks.com/matlabcentral/fileexchange/20290" target="_blank">MATLAB twitter Function by Navan Ruthramoorthy</a><br />
<a title="MATLAB Passive FTP" href="http://www.mathworks.com/matlabcentral/fileexchange/6626" target="_blank">MATLAB passive FTP Function by Idin Motedayen</a><strong><br />
</strong></p>
<p><img id="kosa-target-image" style="position: absolute; visibility: hidden; z-index: 2147483647; left: 408px; top: 1181px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDQvMDQvMDhrK9wWAAACMElEQVQ4ja3SP2gTcRQH8O8vvUtIGmkqTY3SaMVFz6KDW2ywg4s4dGgXp3SyVLIIthCKQxCCuoZaXaSO/ilKd4sSdXRL0EWtIRYaSkXsJTH33utwSZM01xo0D353v+N+97l33/upQCAwFgwGfehiFYtFUxsYGPCmUqmv3YQTicSwBgCapnXTBQBoSinout5VVCnVDr/44B/OZH0xs6KMThCfR3LRs+aTycjvbwfCmawvduZkn7EwN4TBfheY90fXN6uYuffdyGQRu3apkmyDmzM2K8pYmBvC6kcLK+/KMEsWLCIQMSyLULUIFhH0HsGNycNYnDuO6PRno9lQSsFVh+tDQSEY6MHymzJKFQILgxkgYhALmBnMDLNsIf1sA8cG3VDYYzhFAWWfRBjCAiIbIxYQE1ga17+2GSICKLQYznCtiATEDK6BIrU5MUhgd0+NH+AIt+5jshdqgkpVwEwNkBgs9lyE4XY3nnLMWNf13QEAG1uE2JVe9PUC5JCvCMPrVpifOor1YnW34/pw7NjvVbmZ+3ljcTaMq5EjbRFJ07Gw8QfTd9fg96rc3o7bMh4f9SytvDenLl7/ZADAl5cjWF7dwmy60PaSeiPjo56lv2Ycnzi0Fp9AEgAu39x8+urtT9x5/GP74a2++LlTuumo76kDd4W9ALj9qIDIiOfBhdO+jtB9O279TFcuet77fD7Wn+sU7ajj1+kTSccb/wv/aymloEKh0Fg4HPZ2E87n86Udvs4FoWqwSHUAAAAASUVORK5CYII=" alt="" /></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;t=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Nerf+Sentry+Gun...be+afraid.+-+http://bit.ly/amd9Qk+%28via+%40sciguy14%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;title=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;title=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;title=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;title=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;title=Nerf+Sentry+Gun...be+afraid." rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
	</channel>
</rss>
