<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hack a Day &#187; feature</title>
	<atom:link href="http://hackaday.com/tag/feature/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:43:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; feature</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>How-to: Thermite hard drive destruction</title>
		<link>http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/</link>
		<comments>http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 01:50:00 +0000</pubDate>
		<dc:creator>Jason Rollette</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[burn]]></category>
		<category><![CDATA[Chemistry]]></category>
		<category><![CDATA[Experiments]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[fire]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Magnesium Ribbon]]></category>
		<category><![CDATA[Potassium Permanganate]]></category>
		<category><![CDATA[Thermite]]></category>
		<category><![CDATA[Thermite Ingredients]]></category>
		<category><![CDATA[Thermite Pictures]]></category>
		<category><![CDATA[Thermite Reaction]]></category>
		<category><![CDATA[Thermite Video]]></category>
		<category><![CDATA[Types of Thermite]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/25/how-to-thermite-based-hard-drive-anti-forensic-destruction/</guid>
		<description><![CDATA[After the overwhelming response to the Hackit we posted about automated hard drive destruction last fall, we finally decided to test out some thermite hard drive destruction ourselves. This has been done on The Screen Savers but they did not show up close results of the platters. So, aluminum and black iron oxide were procured [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=2507&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="thermite" src="http://hackadaycom.files.wordpress.com/2008/08/dsc02559a.jpg?w=450&#038;h=357" alt="" width="450" height="357" /></p>
<p>After the overwhelming response to the Hackit we posted about <a href="http://www.hackaday.com/2007/12/25/holiday-hackit-automated-hard-drive-destruction/">automated hard drive destruction</a> last fall, we finally decided to test out some thermite hard drive destruction ourselves. This has been done on <a href="http://video.google.com/videoplay?docid=-4147847319296070400">The Screen Savers</a> but they did not show up close results of the platters. So, aluminum and black iron oxide were procured through eBay, and until it arrived we watched some YouTube videos that showed a lot of fire and no real results. We decided to see what it would take to completely obliterate a drive.</p>
<p>With the amount of personal data stored on your computer, we all understand the importance of destroying the data that is stored on the platters of a hard drive before disposing of it. There are many ways to destroy a hard drive; software, physical disassembly, drills, hammers, magnets/electromagnets, and acid, but none are quite as outrageous and dangerous as thermite. That&#8217;s what we&#8217;re going to do here today. Follow along for pictures and videos of the results.</p>
<p><span id="more-2507"></span></p>
<p>A couple different methods of containing the thermite above the hard drive were tried and we quickly found the best way is a clay flower pot with the drip tray for a lid. An Altoids tin was also tried, but it burned up to quickly. Molding a cement container was also attempted. Since thermite is extremely hard to ignite, sparklers that were left over from the 4th of July were used, and offered a very reliable method of ignition.</p>
<p>Our goal was to completely destroy the drive while it was still in the computer case. The theoretical application is to destroy the disk at a moments notice so it won&#8217;t fall into the wrong hands. After testing multiple methods, placing about 1 pound of thermite in a clay flower pot and lighting from the drain hole in the bottom yielded the best results. This could easily be placed in the 5.25&#8243; bays above the drive.</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/"><img src="http://img.youtube.com/vi/k-ckechIqW0/2.jpg" alt="" /></a></span>
<p>A thermite reaction is a process in which the correct mixture of metallic fuels are combined with a metal oxidizer and ignited. Ignition itself requires extremely high temperatures, but once ignited, thermite supplies its own source of oxygen. It can potentially burn underwater when mixed properly. Thermite is usually used to <a href="http://www.youtube.com/watch?v=nR6K90cR8Lg&amp;feature=related">weld railroad ties together</a>.</p>
<p>The most common thermite is &#8220;<a href="http://en.wikipedia.org/wiki/Thermite">black or blue iron oxide (Fe3O4), produced by oxidizing iron in an oxygen-rich environment under high heat</a>&#8221; and Aluminum(Al). Red iron(III) oxide (Fe2O3), commonly known as rust, can also be used. There are <a href="http://www.nakka-rocketry.net/thermites.html">many chemicals that can make thermite</a>; the mixtures used to make thermite therefore vary, causing confusing and <a href="http://amazingrust.com/Experiments/how_to/Thermite.html">changing mixture ratios</a>.</p>
<p><img class="alignnone size-medium wp-image-7850" src="http://hackadaycom.files.wordpress.com/2008/09/alum-powder1.jpg?w=222&#038;h=165" alt="" width="222" height="165" /><img class="alignnone size-medium wp-image-7851" src="http://hackadaycom.files.wordpress.com/2008/09/fe304.jpg?w=222&#038;h=165" alt="" width="222" height="165" /></p>
<p>Since the oxidation of one substance involves the reduction of another, this type of reaction is often called redox reaction. In the following <a href="http://www.webqc.org/balance.php">balanced reaction</a>, 8Al + 3fe3O4 = 4Al2O3 + 9Fe + Heat. The element Al is oxidized, but Fe is reduced. This reaction is also called a displacement reaction because Al displaces Fe in the oxide. Because of the nature of this reaction, the correct ratio of substances is important to ensure the optimum amounts of fuel (aluminum) and oxygen (iron oxide) within the mixture. Thermite is very safe to handle because of the high ignition temperatures required, sparklers were used in this instance, however magnesium ribbon can also be used. We think an electric <a href="http://members.aol.com/kappadx/kappa.html#Pyrogen">pyrogen igniter</a> would be a far better choice for ignition, instead of <a href="http://www.youtube.com/watch?v=5IJw5qwWlNI">unreliable methods</a>.</p>
<p>There are two important aspects to ensure a successful reaction. Thorough/even mixing and smallest possible powder particle size. If thermite is not adequately mixed, it may be difficult to ignite or maintain the reaction. One problem when mixing thermite is the difference in weight between the aluminum and the iron oxide. This causes them to separate out rendering the thermite useless. The process used here with great success was five minutes in a rock tumbler. Powder particle size is measured with a <a href="http://www.espi-metals.com/tech/mesh.htm">measurement called mesh</a>. Passing the powder through a mesh will determine the largest particle size, this reaction performs best with the smallest obtainable mesh size. The mesh size for aluminum was 1200 mesh and black iron oxide was 300 mesh.</p>
<p>The total enthalpy or heat content released is -3.677 kJoule per gram of Fe3O4/AL thermite. The ratio of Fe3O4 to aluminum powder by weight is about 3.22 to 1, according to the <a href="http://www.science.uwaterloo.ca/~cchieh/cact/c120/stoichio.html">reaction&#8217;s stoichiometry</a>.  The reaction photographed was 200 grams of Aluminum and 644 grams of black iron oxide yielding 2368 kJoules of heat. This was more than was required to adequately destroy the hard drive, a smaller amount could have been used, and still destroyed the platters. It would have even been better controlled, or better yet contained within the computer case. What fun is that?</p>
<p><img class="alignnone size-medium wp-image-7880" src="http://hackadaycom.files.wordpress.com/2008/09/dsc025581.jpg?w=450&#038;h=348" alt="" width="450" height="348" /></p>
<p>Using thermite to destroy a hard drive is a very violent and destructive process. Great care should be taken as the molten metal can splash and sputter for a long distance.</p>
<p><img class="alignnone size-medium wp-image-7877" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02560.jpg?w=450&#038;h=330" alt="" width="450" height="330" /></p>
<p>The reaction begins to sputter.</p>
<p><img class="alignnone size-medium wp-image-7876" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02561.jpg?w=450&#038;h=383" alt="" width="450" height="383" /></p>
<p>The thermite has just contacted the hard drive.</p>
<p><img class="alignnone size-medium wp-image-7872" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02565.jpg?w=450&#038;h=352" alt="" width="450" height="352" /></p>
<p>Things are really hot now!</p>
<p><img class="alignnone size-medium wp-image-7871" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02570.jpg?w=450&#038;h=356" alt="" width="450" height="356" /></p>
<p>Most of the reaction is completed.</p>
<p><img class="alignnone size-medium wp-image-7869" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02591.jpg?w=450&#038;h=331" alt="" width="450" height="331" /></p>
<p>The molten thermite, platters and most of the aluminum frame from the hard drive in the bottom of the case.</p>
<p><img class="alignnone size-medium wp-image-7861" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02657a.jpg?w=450&#038;h=316" alt="" width="450" height="316" /></p>
<p>Above are the molten hard drive platters destroyed with 844 grams of thermite. It takes about this much thermite contained directly above the drive to get the job done, if it is not you will just get a <a href="http://revision3.com/thebroken/ep3/">superficial fire</a>.</p>
<p><img class="alignnone size-medium wp-image-7862" src="http://hackadaycom.files.wordpress.com/2008/09/dsc02743a.jpg?w=450&#038;h=304" alt="" width="450" height="304" /></p>
<p>Over all the destruction of the drive and platters was accomplished in all cases in a matter of seconds. This is by far a guaranteed method of destroying data in a time of need. We&#8217;re pretty sure this will prevent most forensic data recovery methods.</p>
<p>Below is a video of Brainiac using thermite to burn cars and trying to stop the reaction with liquid nitrogen.</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/"><img src="http://img.youtube.com/vi/WrCWLpRc1yM/2.jpg" alt="" /></a></span>
<p>Here&#8217;s the directors cut of the thermite video which contains 4 extra minutes:</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/"><img src="http://img.youtube.com/vi/a7Kn3phALkY/2.jpg" alt="" /></a></span>
<p>Finally, please do not try this.</p>
<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fhackaday.com%2F2008%2F09%2F16%2Fhow-to-thermite-based-hard-drive-anti-forensic-destruction%2F&amp;title=How-to%3A+Thermite+hard+drive%26nbsp%3Bdestruction"></a>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/2507/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/2507/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/2507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/2507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/2507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=2507&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/09/16/how-to-thermite-based-hard-drive-anti-forensic-destruction/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Jason Rollette</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/08/dsc02559a.jpg" medium="image">
			<media:title type="html">thermite</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/alum-powder1.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/fe304.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc025581.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02560.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02561.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02565.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02570.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02591.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02657a.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/09/dsc02743a.jpg" medium="image" />
	</item>
		<item>
		<title>How-To: Make an RGB combination door lock (Part 1)</title>
		<link>http://hackaday.com/2008/06/12/how-to-make-an-rgb-combination-door-lock-part-1/</link>
		<comments>http://hackaday.com/2008/06/12/how-to-make-an-rgb-combination-door-lock-part-1/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 18:30:00 +0000</pubDate>
		<dc:creator>Adam Harris</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[home hacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[door]]></category>
		<category><![CDATA[entry]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[keypad]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[rgb]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/06/12/how-to-make-an-rgb-combination-door-lock-part-1/</guid>
		<description><![CDATA[Part 2 can be found here Putting a custom designed electronic lock on your space seems like a geek right of passage. For our latest workspace, we decided to skip the boring numbered keypad and build a custom RGB backlit keypad powered by an Arduino. Instead of typing in numbers, your password is a unique [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1975&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://hackadaycom.files.wordpress.com/2008/06/final-button-code-entry.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
<a href="http://hackaday.com/2008/06/20/how-to-make-an-rgb-combination-door-lock-part-2/"><em>Part 2 can be found here<br />
</em></a><br />
Putting a custom designed electronic lock on your space seems like a geek right of passage. For our latest workspace, we decided to skip the boring numbered keypad and build a custom RGB backlit keypad powered by an Arduino. Instead of typing in numbers, your password is a unique set of colors. In today&#8217;s How-To, we&#8217;ll show you how to build your own and give you the code to make it all work.</p>
<p><span id="more-1975"></span></p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/jmg-octinct.jpg?w=450&#038;h=231" border="0" alt="" hspace="4" vspace="4" width="450" height="231" /><br />
The basic design for the RGB keypad came from [JMG]&#8216;s <a href="http://www.upwardnotnorthward.com/2008/01/my-first-project-full-colour-rgb-monome.html">Arduino based Monome clone</a>. He used an Arduino, and multiplexed RGB LEDs with some digital potentiometers to create a color mixing keypad. Since we couldn&#8217;t fit the complete 4&#215;4 keypad into a standard 2 gang wall box, we chopped the design down to a 2&#215;4 matrix. This cuts down significantly on the cost to build the keypad and makes the code that much easier to digest.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-keypad-diag.jpg?w=450&#038;h=320" border="0" alt="" hspace="4" vspace="4" width="450" height="320" /></p>
<p>To build your own RGB keypad, you&#8217;ll need the following:</p>
<ul>
<li>An electric door strike (<a href="http://www.smarthome.com/519012.html">Smarthome.com</a>)</li>
<li>A locking door handle (Any hardware store)</li>
<li>An Arduino or compatible clone (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=666">Sparkfun</a>, <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=17&amp;products_id=50&amp;zenid=d0a2bb958e7ceaf5afaf51f33dab3a1d">adafruit</a> and others)</li>
<li>1 TIP120 transistor</li>
<li>1 1N4001 diode</li>
<li>10 1N4148 diodes</li>
<li>4 2n2222 transistors</li>
<li>1 Monome style keypad (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7835">Sparkfun Electronics</a>)</li>
<li>1 Keypad PC board (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8033">Sparkfun Electronics</a>)</li>
<li>8 RGB LEDs (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=105">Sparkfun Electronics</a>)</li>
<li>1 7805 voltage regulator</li>
<li> 4 100 ohm resistors</li>
<li>2 150 ohm resistors</li>
<li>8 1 kohm resistors</li>
</ul>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/new-strike-lock-mechanism.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
To reliably lock and unlock the door, we ordered an electric door strike. We scored this one as an open box item from <a href="http://www.smarthome.com/">Smarthome.com</a>. It&#8217;s a 12 Volt DC unit designed just for Schlage commercial door locks. The edge of the strike is slightly recessed from the mounting plate, so it might not work with certain locks. It features a thinner body than the non-recessed version, which will allow us to cut a smaller but deeper hole in the door frame. Without power, the strike stays locked, keeping the locking door shut. When 12 volts is applied to the coil, the strike releases, allowing the door to be pulled open. For the prototype build, you don&#8217;t have to purchase a strike just yet; you can use a LED and a resistor to indicate the door lock state for testing your code.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-key-matrix-rgbhowto.jpg?w=450&#038;h=261" border="0" alt="" hspace="4" vspace="4" width="450" height="261" /><br />
The keypad is actually built from two separate circuits that physically overlap. The input circuit is a simple keypad matrix. To read each button push, the Arduino brings one keypad input line high and checks the voltage of the four output lines in order. The diodes on the PC board prevent feedback across the rows and columns.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-led-pot-diag.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
The RGB LEDs are lit via a completely separate set of circuits. Each row of like colored LEDs is brightness controlled by a digital potentiometer. The digital pot works just like a normal pot, but it&#8217;s digitally controlled by the Arduino. Meanwhile, each column of LEDs is activated by a separate transistor. By quickly changing the resistance and stepping through the columns, each LED will appear to be individually controlled.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-door-lock-diag.jpg?w=450&#038;h=272" border="0" alt="" hspace="4" vspace="4" width="450" height="272" /><br />
The door strike circuit is pretty simple. Since it contains a coil, we&#8217;ll treat it like the coil of a stepper motor and use a TIP120 transistor to supply the power. When power is removed from a coil, the collapsing magnetic field creates a current within the coil. To keep the TIP120 from burning out, we&#8217;ll add a diode to handle the surge created by the field breakdown.</p>
<p>update: [Triffid] pointed out that the diode is better placed in parallel with the coil to handle the transient surge. He&#8217;s correct, but the circuit here has operated perfectly for several months, so you&#8217;ll be fine either way.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/sparkfun-pcb-buton.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
The traces for the buttons looked a bit challenging to etch at home, so we ordered this PC board that Sparkfun produces for their keypads. Sparkfun helpfully provides the layout for these keys in their eagle library, so you can make your own PCB if you prefer. For reliability, you&#8217;ll probably want to have it commercially produced. The board wasn&#8217;t really designed to break apart, but after a review of the traces and vias we decided that we could get away with trimming a couple of rows from the board.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/cut-button-pcb.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
We carefully split the board down the middle with a band saw. If you look closely, you can see where some of the vias were actually cut in half. (A paper cutter might work in a pinch) Don&#8217;t forget to put on a mask to keep the dust out of your lungs.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/spark-fun-button-pad.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
Cutting the button pad is much easier. The pads have pre-scored lines that just need a quick swipe of a sharp knife or scissors to separate them.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/button-pcb-parts.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
The new shorter PCB only needs a few parts: some 1N4148 diodes and the RGB LEDs. The silkscreen on the board indicates the direction and position of diodes and LEDs.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/cut-diode-legs-short-rgb-howto.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
Once you solder on the 1n4148 diodes, cut them as close to the PC board as you can. Flat head cutters like these work extremely well. The keypad will sit on this side of the board and we want to make sure that it can sit as flat as possible.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/led-installation-rgb-howto.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
Install the LEDs in the orientation indicated by the silk screen. Carefully push them down into the board until they&#8217;re inserted just like this. If you let them stick up too high, they&#8217;ll interfere with the keypad buttons being pushed.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/button-pcb-wired-rgb-howto.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
Once you&#8217;ve soldered all the LEDs in place, clip them flush as well. Then you&#8217;ll need to add some cable to jumper from the keypad to the interface board we&#8217;ll build. We used some old CAT-5 wiring. Since each axis of the board has eight pins, it&#8217;s perfect for the application.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/sacrificed-led-rgb-howto.jpg?w=450&#038;h=226" border="0" alt="" hspace="4" vspace="4" width="450" height="226" /><br />
Each RGB LED has three LEDs inside the package. They share a common terminal and have a single separate lead coming out. Because they have different characteristics &#8211; that is brightness, current and voltage requirements, we spent some time testing out various combinations. We even murdered a couple of innocent $2 LEDs just for you. Hey, the other two colors are still usable&#8230;</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/color-balance-leds.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
After some experimentation, we managed to find the right combination to create some fairly white light. The requirements will vary between manufacturers, but for the Sparkfun LEDs we found that a pair of 100 ohm resistors and a single 150 ohm resistor blended the red, green and blue fairly well.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/color-balance-test-rgb-howto.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
The color combination was hard on the eyes until we put the keypad over the LED to double check our findings. In real life, you can see some blending lines from the offset of each LED, but it still looks great.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/keypad-schematic-small.jpg?w=450&#038;h=242" border="0" alt="" hspace="4" vspace="4" width="450" height="242" /><br />
The circuit has plenty of components, but it&#8217;s pretty easy to build. We&#8217;ll break everything up by section to keep things easy. You can download the all of the schematics, Eagle project files, and code for the Arduino <a href="http://biobug.org/rgb-keypad/">here</a>.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/ad5206-schematic.jpg?w=450&#038;h=234" border="0" alt="" hspace="4" vspace="4" width="450" height="234" /><br />
The digital pot has six outputs. Each of these will power a row of red, green or blue LEDs, via a color matching resistor. The digital potentiometer wiring comes directly from <a href="http://www.arduino.cc/en/Tutorial/SPIDigitalPot">this how-to</a>. You can read it if you need more information, or use our quick version:</p>
<ul>
<li> Connect AD5206 pins 3, 6, 10, 13, 16, 21 and 24 to 5v.</li>
<li> Connect pins 1, 4, 9, 12, 15, 18, 19, and 22 to ground.</li>
<li> Connect pot pin 5 to Arduino pin 10</li>
<li> Connect pot pin 7 to Arduino pin 11</li>
<li> Connect pot pin 8 to Arduino pin 13</li>
</ul>
<p>Grab four 100 ohm resistors and two 150 ohm resistors. Place them in the breadboard in a row with each end in a separate bus. (Across the center of the board is easiest) Connect the six LED leads from the keypad to one end of each resistor &#8211; reds get the 150&#8242;s and blue and green into the 100&#8242;s. Here&#8217;s the connection order we used.</p>
<ul>
<li>RED3 to a 150 ohm resistor to pot pin 14</li>
<li>GREEN3 to a 100 ohm resistor to pot pin 11</li>
<li>BLUE3 to a 100 ohm resistor to pot pin 2</li>
<li>RED4 to a 150 ohm resistor to pot pin 23</li>
<li>GREEN4 to a 100 ohm resistor to pot pin 20</li>
<li>BLUE4 to a 100 ohm resistor to pot pin 17</li>
</ul>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/transistors-schematic1.jpg?w=450&#038;h=241" border="0" alt="" hspace="4" vspace="4" width="450" height="241" /><br />
To ground the LED busses, we&#8217;ll be using four 2N2222 transistors. The Arduino will trigger each transistor individually through a 1Kohm resistor. The collector of each transistor connects to a ground line from the keypad. The emitter of each transistor is connected to the ground. The four transistor select lines connect to Arduino pins 0, 1, 2, and 3. Yes, they&#8217;re marked Analog in, but it doesn&#8217;t matter.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/switches-schematic.jpg?w=350&#038;h=423" border="0" alt="" hspace="4" vspace="4" width="350" height="423" /><br />
The keypad switch matrix is connected in four columns and two rows. Each of the four columns gets a pull-down resistor. We used 1Kohm resistors for R11, R12, R13, and R14; one lead connects to the columns and the other is grounded.</p>
<p>Arduino pins 2 and 3 should connect to the two ungrounded lines, which are marked SWITCH3 and SWITCH4 on the PC board (5 and 6 on the schematic).</p>
<p>Arduino pins 6, 7, 8, and 9 should connect to the four output lines marked SWT-GND1, SWT-GND2, SWT-GND3, and SWT-GND4 (1-4 on the schematic).</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/7805-schematic.jpg?w=365&#038;h=213" border="0" alt="" hspace="4" vspace="4" width="365" height="213" /><br />
The final version of the board takes a 12VDC input to drive the door lock. We added a 7805 to drop the 12V down to 5V for the Arduino. You don&#8217;t need it for the prototype version unless you want to test the striker. The Arduino has an on-board regulator, but 7805&#8242;s are cheap and it helps reduce the load on the Arduino&#8217;s built in regulator. For code development, we just connected an LED with a resistor to the output line that will control the door lock.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/prototyped-board-rgb-howto.jpg?w=450&#038;h=250" border="0" alt="" hspace="4" vspace="4" width="450" height="250" /><br />
With everything wired in the prototyping board, it&#8217;s time to test things out. With any luck, you&#8217;ll soon be rewarded by the pulsing, glowing sight of several RGB LEDs under your tender digits.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/arduino-rgb-code-upload.jpg?w=450&#038;h=323" border="0" alt="" hspace="4" vspace="4" width="450" height="323" /><br />
Programming the Arduino is a snap. Just download the software for your OS <a href="http://www.arduino.cc/en/Main/Software">here</a>. Now follow the <a href="http://www.arduino.cc/en/Guide/HomePage">Getting Started guide</a> to get the Arduino software talking to the Arduino board. Once you&#8217;ve enjoyed the blinking LED demo, come back here and get your keypad rolling.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/serial-console-arduino-test.jpg?w=450&#038;h=214" border="0" alt="" hspace="4" vspace="4" width="450" height="214" /><br />
Once you&#8217;ve set up and tested your Arduino, it&#8217;s time to test out your prototype. Download the button_test code from <a href="http://biobug.org/rgb-keypad/">here</a>. Paste it into a new sketch and upload it to the Arduino. Click the serial console button and you should start seeing dots accumulating in the window. If you press a button on the pad, the Arduino should print a message to the console and toggle the lock output state.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/rgb-fade-led-test.jpg?w=450&#038;h=276" border="0" alt="" hspace="4" vspace="4" width="450" height="276" /><br />
Once your buttons are tested, you&#8217;ll probably want to try out your LEDs. Grab the RGB_light_fade routine from the <a href="http://biobug.org/rgb-keypad/">same page</a> and upload it to your Arduino. You should get treated to a nice little light show. This is our favorite demo because it really shows off the color mixing capabilities of the digital potentiometer.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/final-button-green-entry.jpg?w=450&#038;h=212" border="0" alt="" hspace="4" vspace="4" width="450" height="212" /><br />
With your LEDs and buttons working, you can grab the row_entry_pad_meffect lock code from the same place and upload it. Now the keypad should start flashing blue buttons while it&#8217;s idle. On key presses, the keys will change colors. By entering the correct color code, the pad will flash green and unlock the door for 10 seconds. If you go over the limit counter, it will flash red for 30 seconds.</p>
<p><img src="http://hackadaycom.files.wordpress.com/2008/06/final-button-code-entry.jpg?w=450&#038;h=300" border="0" alt="" hspace="4" vspace="4" width="450" height="300" /><br />
Next time we&#8217;ll show you how to make the permanent version of the keypad, walk through the code for the Arduino, make the PC board, cut a custom wall plate, and install the lock strike.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/1975/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/1975/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/1975/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1975&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/06/12/how-to-make-an-rgb-combination-door-lock-part-1/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Adam Harris</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/final-button-code-entry.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/jmg-octinct.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-keypad-diag.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/new-strike-lock-mechanism.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-key-matrix-rgbhowto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-led-pot-diag.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/whiteboard-door-lock-diag.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/sparkfun-pcb-buton.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/cut-button-pcb.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/spark-fun-button-pad.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/button-pcb-parts.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/cut-diode-legs-short-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/led-installation-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/button-pcb-wired-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/sacrificed-led-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/color-balance-leds.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/color-balance-test-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/keypad-schematic-small.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/ad5206-schematic.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/transistors-schematic1.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/switches-schematic.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/7805-schematic.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/prototyped-board-rgb-howto.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/arduino-rgb-code-upload.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/serial-console-arduino-test.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/rgb-fade-led-test.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/final-button-green-entry.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/06/final-button-code-entry.jpg" medium="image" />
	</item>
		<item>
		<title>How-To: Go green with lead free solder</title>
		<link>http://hackaday.com/2008/05/22/how-to-go-green-with-lead-free-solder/</link>
		<comments>http://hackaday.com/2008/05/22/how-to-go-green-with-lead-free-solder/#comments</comments>
		<pubDate>Thu, 22 May 2008 19:30:00 +0000</pubDate>
		<dc:creator>Jason Rollette</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[california]]></category>
		<category><![CDATA[eu]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[hackaday]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lead]]></category>
		<category><![CDATA[leadfree]]></category>
		<category><![CDATA[rohs]]></category>
		<category><![CDATA[solder]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[solderingiron]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/05/22/how-to-go-green-with-lead-free-solder/</guid>
		<description><![CDATA[We covered many of [Jason Rollette]&#8216;s personal projects in the past and are happy to welcome him as our newest Hack-A-Day contributor. The electronics industry has shifted to lead free compliance, but most hobbyists haven&#8217;t even considered the personal impact of using lead. Today&#8217;s How-To will cover what it takes to switch from tin/lead solder [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1858&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoPlainText"><span style=""><img width="450" vspace="4" hspace="4" height="337" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1462.jpg?w=450&#038;h=337" /></span></p>
<p class="MsoPlainText"><span style="font-style: italic;">We covered many of [Jason Rollette]&#8216;s personal projects in the past and are happy to welcome him as our newest Hack-A-Day contributor.</span><span style=""><span style=""></span></span></p>
<p class="MsoPlainText"><span style=""><span style=""></span>The electronics industry has shifted to lead free compliance, but most hobbyists haven&#8217;t even considered the personal impact of using lead. Today&#8217;s How-To will cover what it takes to switch from tin/lead solder to completely lead free. Our previous posts <a href="http://www.hackaday.com/2007/10/26/how-to-introduction-to-soldering/">Introduction to soldering</a> and <a href="http://www.hackaday.com/2007/10/28/followup-soldering-how-to/">the follow-up</a> still apply to lead free. You may have never considered switching to lead free before, but we hope to help you make an informed decision. <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span></p>
<p><span id="more-1858"></span></p>
<div style="text-align: center;">
<div style="text-align: left;"><span style="">The reason we are even talking about this is because of the Restriction of Hazardous Substances directive. RoHS was adopted in February 2003 by the European Union; all electronics sold there must comply. The substances restricted are: <span style="font-weight: bold;">lead</span>, mercury, cadmium, chromium VI also known as hexavalent chromium plating, and pbb, pbde flame retardants used in plastics. We will focus on lead. Solder joints must contain less than 0.1% lead</span><span style=""> to be compliant</span><span style="">. RoHS is not currently required in the US, but California RoHS, effective September 2003, had a compliance deadline of January 2007.</p>
<p>Although the electronics industry has been directly targeted it only accounts for a small percentage of the lead used in manufacturing. The battery industry consumes nearly 80% of manufactured lead. Tire wheel weights also account for a larger percentage.<br /></span><span style=""><br />There are some good reasons for the hobbyist to convert to lead free solder, both personal safety and environmental. Lead poisoning can occur when lead enters the body through inhalation, ingestion or dermal contact such as direct contact to mouth, nose, eyes, and skin lesions. Even if you keep using tin/lead solder, wash your hands before and after you do anything. Most poisoning cases are from lead building up over time. The main environmental issue is lead leaching into drinking water or watersheds when disposed of improperly. </p>
<p></span></div>
<div style="text-align: left;"><span style=""></span><span style=""><o:p></o:p></span><span style=""></span><span style=""><img width="450" vspace="4" hspace="4" height="338" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1486.jpg?w=450&#038;h=338" /> <o:p></o:p></span></div>
</div>
<p class="MsoPlainText"><span style=""><span style=""> </span>There are many different varieties of lead free solder. Two alloys seem be the most popular: SAC305 contains 96.5% tin, 3% silver, and 0.5% copper and melts at ~217C, SN100 contains 99.3% tin, 0.6% copper, and some nickel and silver and melts at ~228C. Choose whatever alloy and brand you feel is appropriate for you. Compare those alloys to traditional 63% tin and 37% lead melts that melts at ~183C. The higher melting point is part of what makes lead free harder to work with. We use SAC305 with a &#8220;no clean&#8221; flux core.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><img width="406" vspace="4" hspace="4" height="259" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/solderflux2.jpg?w=406&#038;h=259" /><o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><span style=""> </span>In addition to picking an alloy, you also need to decide on the diameter. We recommend for through hole .032&#8243;,.020&#8243; and .015&#8243; for SMT. Choosing the right diameter solder is very important to success.</span><span style=""> A finished joint viewed from the side should look like a little Hershey&#8217;s kiss, not an inflated balloon. The correct diameter solder makes this much easier to control. </span><span style=""> <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><img width="450" vspace="4" hspace="4" height="337" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1471.jpg?w=450&#038;h=337" /><o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><span style=""> </span>A high wattage soldering iron with temperature adjustment is the best choice for precision work. Get a soldering iron with several sizes of replaceable tips for different soldering applications. Having a good iron makes soldering with lead free easier because of the higher melting point. It also helps to keep the dwell time as short as possible reducing damage to components caused by excessive heat. <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><img width="450" vspace="4" hspace="4" height="337" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1427.jpg?w=450&#038;h=337" /><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Choosing the correct size tip for the job is perhaps the most important part for a new person learning to solder. Lead-free is less forgiving and the right tip will go a long way in preventing defects.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><!--[if !supportEmptyParas]--> <o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Using a tip that is too small will take longer, abuse the tip, and will not efficiently transfer heat to the joint. A small tip will seem too cold or too slow. <o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Using a tip that is too large will damage the circuit board, over heat and damage the parts, and burn off the flux too soon causing a bad joint.</span></p>
<p class="MsoPlainText"><span style="">Use tips that are designed for lead-free. Tips designed for lead free will have the longest life. The iron temperature should be set to 700-800F. Do not use pressure to compensate for lack of wetting and heat transfer; this will cause damage to the circuit board. Heat transfer is optimized by providing the best contact area. <br /></span></p>
<p class="MsoPlainText"><img width="450" vspace="4" hspace="4" height="184" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/tips.jpg?w=450&#038;h=184" /><span style=""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><span style="font-weight: bold;">Differences from tin/lead soldering</span><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Tin/lead solder should not be mixed with lead free solder because it decreases the strength of the joint. Lead free parts can be used with tin/lead solder. You should try ordering all parts, ICs, resistors, caps, proto boards, etc. lead free even if you are not using lead free solder yet. This will ease the conversion for you in the future.</span><span style=""> Consumables such as flux and tip cleaner should be certified for lead free soldering. Flux will need to withstand higher temperatures and longer dwell times, and some tip cleaners have tin/lead solder in them that could contaminate the lead free solder joints.</span><span style=""> <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><!--[if !supportEmptyParas]--> <img width="450" vspace="4" hspace="4" height="337" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1433.jpg?w=450&#038;h=337" /><!--[endif]--><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Not all fluxes are capable of sustaining high soldering temperatures. Flux charring, called &#8220;black tip syndrome&#8221;, occurs when thermally incapable fluxes turn the tip black and make re-tinning nearly impossible. Heat transfer is severely reduced when this happens. Buying compatible flux is key. <o:p></o:p><br /><span style=""></span></span></p>
<p class="MsoPlainText"><span style=""><img width="450" vspace="4" hspace="4" height="337" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2008/05/dscn1502a.jpg?w=450&#038;h=337" /><br /></span></p>
<p class="MsoPlainText"><span style="">As we&#8217;ve said many times: you&#8217;ll need to set your solder iron slightly higher temperature than you are used to. You will also notice that slightly longer dwell times are needed because of higher melting points. Wetting or spread is also a little slower when compared to tin/lead. The resulting lead free solder joints will appear slightly grainy and dull compared to shiny tin/lead. <br /></span></p>
<p class="MsoPlainText"><span style="">The iron must be kept clean and fully coated with the solder alloy, otherwise at the higher temps oxidation can occur. Solder tips will need to be cleaned and tinned more frequently. Use a wet sponge for cleaning and keep your tip tinned by adding a small amount of solder. In general, all tips will have a reduced life when using lead free alloys. <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><!--[if !supportEmptyParas]--> <o:p></o:p></span></p>
<p class="MsoPlainText"><span style="">Lead free solder is more prone to solder bridges (shorts). <a href="http://www.metalwhiskers.com/moxie/articles/metal-whiskers.shtml">Tin whisker</a> growth is also possible with high tin alloys, but is poorly understood. <br /></span></p>
<p class="MsoPlainText"><span style="">The temperatures required make lead free soldering a different experience, but not out of reach. If you can solder with tin/lead solder, you can solder lead free. If you are having problems soldering, maybe some of the tips here will help. Remember, soldering takes practice; solder, desolder, resolder some old circuit boards from computers or consumer electronics before attempting a project. Otherwise you can&#8217;t expect a perfect outcome. Knowledge, practice and experience will provide the consistency required for excellent hand soldering results. Please share any experiences you have working lead free. <o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/1858/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/1858/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/1858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/1858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/1858/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1858&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/05/22/how-to-go-green-with-lead-free-solder/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Jason Rollette</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1462.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1486.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/solderflux2.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1471.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1427.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/tips.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1433.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/dscn1502a.jpg" medium="image" />
	</item>
		<item>
		<title>How-To: Scavenge a mouse for parts</title>
		<link>http://hackaday.com/2008/05/16/how-to-scavenge-a-mouse-for-parts/</link>
		<comments>http://hackaday.com/2008/05/16/how-to-scavenge-a-mouse-for-parts/#comments</comments>
		<pubDate>Sat, 17 May 2008 01:00:00 +0000</pubDate>
		<dc:creator>chriskiick</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[peripherals hacks]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[hackaday]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[ps2]]></category>
		<category><![CDATA[salvage]]></category>
		<category><![CDATA[scavenge]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/05/16/how-to-scavenge-a-mouse-for-parts/</guid>
		<description><![CDATA[Chris Kiick posted about swarm robotics earlier in the week and today publishes his first Hack-A-Day How-To. Old computer mice are being abandoned in droves. They&#8217;re tossed out because of dirt, obsolescence, or for being entirely too beige. Anyone who has a computer usually has more than one mouse and you can get them for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1838&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img width="450" vspace="4" hspace="4" height="262" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/open.jpg?w=450&#038;h=262" alt="ps2 mouse opened" /><br /><em>Chris Kiick posted about <a href="http://www.hackaday.com/2008/05/13/swarm-robotics/">swarm robotics</a> earlier in the week and today publishes his first Hack-A-Day How-To.</em></p>
<p>Old computer mice are being abandoned in droves. They&#8217;re tossed out because of dirt, obsolescence, or for being entirely too beige. Anyone who has a computer usually has more than one mouse and you can get them for pennies, if not free just for asking. Fortunately for the discriminating (read: cheap) hacker, these little widgets are chock-full of project parts. Today&#8217;s How-To will dissect a computer mouse, extract the useful parts, and give some ideas about how to use them.</p>
<p><span id="more-1838"></span></p>
<p><img width="200" vspace="4" hspace="4" height="150" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/start.jpg?w=200&#038;h=150" alt="plan ps2 mouse" /> <img width="193" vspace="4" hspace="4" height="150" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/bottom.jpg?w=193&#038;h=150" alt="ps2 mouse underside" /><br />Here we have a standard PS2 mouse; a USB mouse will look pretty much the same. We&#8217;ll talk about optical mice later on.</p>
<p>Lets open it up. First, take out the mouse ball. Then there will be one or more screws on the bottom side that need to come out. Screws are sometimes hidden under the rubber pads.</p>
<p><img width="450" vspace="4" hspace="4" height="262" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/open.jpg?w=450&#038;h=262" alt="ps2 mouse opened" /><br />The first thing to notice is the cable connector. Most mice have a very convenient plug for the cable, instead of soldering it onto the board. That&#8217;s the first usable part: a 4 (or 6) conductor cable with a nice plug on one end. The socket can be removed from the PCB and used in other projects.</p>
<p><img width="450" vspace="4" hspace="4" height="367" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/open2.jpg?w=450&#038;h=367" alt="" /><br />With the cord out of the way, we can start pulling out parts. First thing that pops off is the mouse wheel. Yes, it&#8217;s just a big rubber wheel. If you&#8217;re annoyed by the mouse wheel&#8217;s clicking noise, <span style="text-decoration: underline;"></span><a href="http://www.hackaday.com/2007/12/04/silence-your-mouse-no-clicky/">you can silence it</a>. There are at least two micro-switches and usually a third one under the mouse wheel which can be used for bump sensors or buttons.</p>
<p><img width="120" vspace="4" hspace="4" height="118" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/encoders.jpg?w=120&#038;h=118" alt="encoder wheels" /><br />Next thing to take out are the two plastic slotted discs. They&#8217;re the encoder wheels. They turn whenever the mouse moves and interrupt an IR beam, producing pulses. It used to be that precision encoder wheels were pretty expensive, but not anymore. Every single (non-optical) mouse comes with a pair built in.</p>
<p>On either side of the encoder wheel are some little boxes. One side is an IR emitter, and the other side is a pair of IR detectors. Sometimes the emitters and detectors will be one complete unit. A pair of detectors is used because with 2 detectors slightly offset, it generates <a href="http://en.wikipedia.org/wiki/Rotary_encoder#Incremental_rotary_encoder">quadrature encoding</a>, so that mouse knows the direction of rotation.</p>
<p>These IR emitters and detectors are fairly modular pieces when it comes to hacking and can be removed with some careful desoldering. It is a good idea to use a multimeter to see what kind of voltage is going to them before removing them. They are probably TTL parts, because mice are powered by 5v, but sometimes they are an even lower voltage. The emitter/detector pair by itself can be <a href="http://www.societyofrobots.com/schematics_infraredemitdet.shtml">interfaced</a> directly. Those parts alone can be used for a <a href="http://www.ikalogic.com/ir_prox_sensors.php">proximity sensor</a> or for a <a href="http://www.kmitl.ac.th/~kswichit/ROBOT/Robo5.html">line following robot</a>.</p>
<p>Add an encoder wheel and this sensor setup has lots of uses. From a tachometer, to a wind speed indicator, to sensing a robot&#8217;s speed, this will do it. The quadrature output (with some decoding) can be used to measure distance, direction, and speed.</p>
<p> <img width="200" vspace="4" hspace="4" height="119" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/onpcb2.jpg?w=200&#038;h=119" id="img14" alt="IR pair on PCB" /><img width="200" vspace="4" hspace="4" height="110" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/chunk.jpg?w=200&#038;h=110" alt="encoder with PCB and shell" /><br />One tricky thing about using the encoder with the IR sensor is getting the emitter to line up with the detector(s). No problem: instead of desoldering the parts from the PCB, use a rotary tool to cut off the little piece of PCB that has the sensors on it (already lined up). Wires can then be soldered to the pins/traces on the other side. If holding the encoder wheel in place is a problem, a hunk of the mouse casing can be used with it. Be sure to leave enough PCB to keep it stable on the mouse casing.</p>
<p><img width="450" vspace="4" hspace="4" height="327" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/robot.jpg?w=450&#038;h=327" alt="encoder in a robot" /><br />This is a picture of an encoder wheel with quadrature from a PS2 mouse on a small robot. Rather than make custom parts, the mouse is carved up and the whole assembly is fitted to the motor axis.</p>
<p><img width="225" vspace="4" hspace="4" height="230" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/parts.jpg?w=225&#038;h=230" alt="parts salvage from mouse" /><br />What&#8217;s left to salvage on the mouse? The sensors for the mouse wheel. Depending on the model, the mouse wheel movement may be sensed with switches or a low resolution encoder, suitable for measuring slow rotation.</p>
<p>The final bit is the mouse controller chip. At first thought it seems pretty useless: it&#8217;s a single purpose part made specifically to run a computer mouse and nothing else. However, if your controller chip isn&#8217;t an anonymous blob, the datasheet could be very enlightening. <a href="http://octopart.com/">Octopart</a> can help find datasheets based on the chip&#8217;s part number. <a href="http://www.digchip.com/datasheets/download_datasheet.php?id=297606&amp;part-number=EM84510F">This</a> (PDF) is a typical datasheet for a mouse controller.</p>
<p>This specific part does a number of useful things: </p>
<ul>
<li>decodes the quadrature input from the encoders</li>
<li> keeps a running count of the number of encoder pulses in a set of registers</li>
<li>filters out jitter</li>
<li> debounces the micro-switches and keeps track of their state</li>
<li>packetizes the information and sends it up the cord.</li>
</ul>
<p>For a PS2 mouse, getting at these features is not too difficult. The <a href="http://www.computer-engineering.org/ps2mouse/">PS2 protocol</a> is pretty friendly, even for microcontrollers. Here&#8217;s an example of <a href="http://www.arduino.cc/playground/ComponentLib/Ps2mouse">interfacing a microcontroller with a mouse</a>. For USB mice, check the controller&#8217;s datasheet to see if it can do both PS2 and USB; with older mice there&#8217;s a decent chance it does. While pure USB is not very easy to talk to with a microcontroller, it&#8217;s really easy to hook to a PC (with the right software).</p>
<p><img width="450" vspace="4" hspace="4" height="325" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/optical.jpg?w=450&#038;h=325" alt="optical mouse - no wheels" style="width: 305px; height: 220px;" /> <img width="250" vspace="4" hspace="4" height="143" border="0" src="http://hackadaycom.files.wordpress.com/2008/05/opcb.jpg?w=250&#038;h=143" alt="" /><br />We promised a look at optical mice. Optical mice do not have any rotary encoders. There are still some switches and a low-res encoder for the mouse wheel. What an optical mouse has in it is a mini-camera, lights, and lenses. The light is probably a fairly standard LED, although they tend to be bright, and the lenses are purpose built. However, it is possible to <a href="http://www.martijnthe.nl/optimouse/arduino-optical-mouse.html">interface directly to the mini-camera</a> or <a href="http://spritesmods.com/?art=mouseeye">use it as a really poor scanner</a>.</p>
<p>We hope this How-To has sparked some ideas and that your obsolete mouse won&#8217;t seem as useless anymore.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/1838/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/1838/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/1838/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/1838/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/1838/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1838&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/05/16/how-to-scavenge-a-mouse-for-parts/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">ckiick</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/open.jpg" medium="image">
			<media:title type="html">ps2 mouse opened</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/start.jpg" medium="image">
			<media:title type="html">plan ps2 mouse</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/bottom.jpg" medium="image">
			<media:title type="html">ps2 mouse underside</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/open.jpg" medium="image">
			<media:title type="html">ps2 mouse opened</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/open2.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/encoders.jpg" medium="image">
			<media:title type="html">encoder wheels</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/onpcb2.jpg" medium="image">
			<media:title type="html">IR pair on PCB</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/chunk.jpg" medium="image">
			<media:title type="html">encoder with PCB and shell</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/robot.jpg" medium="image">
			<media:title type="html">encoder in a robot</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/parts.jpg" medium="image">
			<media:title type="html">parts salvage from mouse</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/optical.jpg" medium="image">
			<media:title type="html">optical mouse - no wheels</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/05/opcb.jpg" medium="image" />
	</item>
		<item>
		<title>How-To: Make a digital synthesizer</title>
		<link>http://hackaday.com/2008/05/01/how-to-make-a-digital-synthesizer/</link>
		<comments>http://hackaday.com/2008/05/01/how-to-make-a-digital-synthesizer/#comments</comments>
		<pubDate>Thu, 01 May 2008 18:55:00 +0000</pubDate>
		<dc:creator>loganwilliams</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[digitalsynth]]></category>
		<category><![CDATA[digitalsynthesizer]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lfo]]></category>
		<category><![CDATA[lowfrequencyoscillator]]></category>
		<category><![CDATA[oscillator]]></category>
		<category><![CDATA[synth]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/05/01/how-to-make-a-digital-synthesizer/</guid>
		<description><![CDATA[This week&#8217;s How-To comes from our newest contributor: Logan Williams. This simple guide will show you how to build a digital synthesizer that generates and manipulates square waves. Your synthesizer will have one oscillator, which produces a variable pitch controlled by a potentiometer, as well as an LFO which modulates that pitch at a variable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1748&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img width="450" vspace="4" hspace="4" height="512" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/lfo_breadboard.jpg?w=450&#038;h=512" alt="" />
<p><span style="font-style: italic;">This week&#8217;s How-To comes from our newest contributor: Logan Williams.</span></p>
<p>This simple guide will show you how to build a digital synthesizer that generates and manipulates square waves. Your synthesizer will have one oscillator, which produces a variable pitch controlled by a potentiometer, as well as an LFO which modulates that pitch at a variable frequency. The part count for this project is quite low, and it can be built for under $20.</p>
<p><span id="more-1748"></span></p>
<h2>Finding the Parts</h2>
<p>The first step in building this digital synthesizer is to <a href="http://www.hackaday.com/2007/11/16/how-to-where-to-find-parts-for-your-projects/">procure the parts</a> that you will need. Most of these can be bought at <a href="http://www.radioshack.com/category/index.jsp?categoryId=2032230">RadioShack</a>, but RadioShack&#8217;s prices are often much more expensive than ordering online. All of the parts for this project can be purchased at <a href="http://www.jameco.com/">Jameco</a>, <a href="http://digikey.com/">Digi-Key</a>, or <a href="http://mouser.com/">Mouser</a>. We&#8217;ve provided Jameco part numbers below. If you don&#8217;t mind waiting, this is the best way to order parts.</p>
<p><img width="450" vspace="4" hspace="4" height="605" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/parts.jpg?w=450&#038;h=605" alt="" /></p>
<table>
<tbody>
<tr>
<th>Item</th>
<th>Name</th>
<th colspan="2">RadioShack</th>
<th colspan="2">Jameco</th>
</tr>
<tr>
<td>9V Battery Clip</td>
<td> </td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062219">270-325</a></td>
<td>$1.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=11280">11280</a></td>
<td>$0.30</td>
</tr>
<tr>
<td>100K Linear Potentiometer</td>
<td>R2</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062287">271-092</a></td>
<td>$2.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=255696">255696</a></td>
<td>$1.35</td>
</tr>
<tr>
<td>1M Linear Potentiometer</td>
<td>R3</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062297">271-211</a></td>
<td>$2.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=255582">255582</a></td>
<td>$1.35</td>
</tr>
<tr>
<td>50K Linear Potentiometer</td>
<td>R4</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062355">271-1716</a></td>
<td>$2.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=255549">255549</a></td>
<td>$1.35</td>
</tr>
<tr>
<td>10K Linear Potentiometer</td>
<td>R5</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062354">271-1715</a></td>
<td>$2.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=255522">255522</a></td>
<td>$1.35</td>
</tr>
<tr>
<td>9V Battery</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>IRF 510 MOSFET Transistor</td>
<td>Q1</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062618">276-2072</a></td>
<td>$1.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=209234">209234</a></td>
<td>$0.69</td>
</tr>
<tr>
<td>3.5mm Audio Connector</td>
<td> </td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062618">274-333</a></td>
<td>$2.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=109496">109496</a></td>
<td>$0.53</td>
</tr>
<tr>
<td>7805 5V Voltage Regulator</td>
<td>IC1</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062599">276-1770</a></td>
<td>$1.59</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=51262">51262</a></td>
<td>$0.20</td>
</tr>
<tr>
<td>0.1 uF capacitor</td>
<td>C1</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062365">272-135</a></td>
<td>$1.49</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=151118">151118</a></td>
<td>$0.20</td>
</tr>
<tr>
<td>1.0 uF capacitor</td>
<td>C2</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2102515">272-1055</a></td>
<td>$1.59</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=544956">544956</a></td>
<td>$0.20</td>
</tr>
<tr>
<td>40106 Hex Inverter</td>
<td>IC2</td>
<td><a href="http://www.fairchildsemi.com/ShoppingExperience/action/displayItems?gpn=CD40106BC&amp;itemType=SAMPLE">Fairchild</a></td>
<td>$0.00</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=785071">785071</a></td>
<td>$0.47</td>
</tr>
<tr>
<td>47K Resistor</td>
<td>R1</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062349">271-1342</a></td>
<td>$0.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=690540">690540</a></td>
<td>$1.00</td>
</tr>
<tr>
<td>1N4148 Diode</td>
<td>D1</td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2062587">276-1620</a></td>
<td>$2.59</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=1537969">1537969</a></td>
<td>$0.27</td>
</tr>
<tr>
<td>Solderless breadboard</td>
<td> </td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2734154">276-002</a></td>
<td>$14.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=20723">20723</a></td>
<td>$9.85</td>
</tr>
<tr>     </tr>
</tbody>
</table>
<h3>Not Pictured</h3>
<table>
<tbody>
<tr>
<th>Item</th>
<th>Name</th>
<th colspan="2">RadioShack</th>
<th colspan="2">Jameco</th>
</tr>
<tr>
<td>22AWG Solid-core</td>
<td> </td>
<td><a href="http://www.radioshack.com/product/index.jsp?productId=2049742">278-1221</a></td>
<td>$5.99</td>
<td><a href="http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;productId=36792">36792</a></td>
<td>$6.59</td>
</tr>
<tr>
<td>Amplified speakers</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<h3>Tools</h3>
<table>
<tbody>
<tr>
<td>Wire strippers</td>
</tr>
</tbody>
</table>
<p><strong>Note</strong>: The potentiometers and audio jack must be either taped or soldered to 22 AWG solid core wire. <a href="http://www.hackaday.com/2007/10/26/how-to-introduction-to-soldering/">Soldering</a> is highly recommended, as it produces a more secure connection.</p>
<h2>Creating an oscillator</h2>
<p>Before we can begin with the digital synthesizer, we must generate the correct voltage. Most of you will be familiar with using a 7805 5V voltage regulator. It is very simple; connect the +9V from the battery to the left hand pin, ground the middle pin, and the right hand is +5V.</p>
<p>The most basic circuit in any synthesizer is the oscillator. A square wave oscillator constantly alternates between two voltages, in this case +5V and 0V. We have a logic inverter to create this, which operates quite simply; if it is given +5V in (a logic 1), it give<br />
s 0V out<br />
(a logic 0) and if it is given a logic 0, it gives a logic 1 as output. When the input and output are connected together, it will oscillate rapidly between those two values: a 0 goes in, comes out as a 1, goes in, comes out as a 0, and so on.</p>
<p>The problem is that it oscillates much too fast. A resistor capacitor (RC) delay circuit can be added to slow it down. This forces the output current to charge the capacitor before it can pass through to the input. The resulting brief delay slows the oscillations to audible frequencies.</p>
<p>To build the oscillator, assemble the schematic below on a breadboard.</p>
<p><img width="450" vspace="4" hspace="4" height="393" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc.png?w=450&#038;h=393" alt="" /></p>
<p>When done, the oscillator should look something like this:</p>
<p> <img width="450" vspace="4" hspace="4" height="754" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc.jpg?w=450&#038;h=754" alt="" />
<p>Connect one side of the audio jack to 0V and the other side to the output, and it will sound like this:</p>
<p> <embed width="450" height="27" type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://media.libsyn.com/media/markjeffrey/had_dsynth_oscillator_no_control.mp3" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed>
</p>
<h2>Controlling the oscillator</h2>
<p>We can make things more interesting by allowing the user to change the frequency. We replace the constant resistor R1 with a potentiometer, such as the 100K R2. This is a simple change to do, and is reflected in this altered schematic.</p>
<p><img width="450" vspace="4" hspace="4" height="481" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc_var.png?w=450&#038;h=481" alt="" /></p>
<p><img width="450" vspace="4" hspace="4" height="493" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc_var.jpg?w=450&#038;h=493" alt="" /></p>
<p>Now the oscillator sounds like this:</p>
<p> <embed width="450" height="27" type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://media.libsyn.com/media/markjeffrey/had_dsynth_oscillator_control.mp3" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed><br />Much more interesting. Try playing an actual song, if you dare.
</p>
<h2>Duty cycle adjustment</h2>
<p>We can add some basic timbre control to make the oscillator more interesting. The duty cycle of a square wave is how long it spends at logic 1 vs. at logic 0. For example, a wave that spends 1 ms at +5V and 1ms at 0V per cycle would have a 50% duty cycle. 1.5 ms at +5V and 0.5 ms at 0V would be a 75% duty cycle. To adjust the wave&#8217;s duty cycle, we can add another potentiometer and diode to the circuit. When the input is high and the output is low, current will be able to flow through both potentiometers, decreasing the amount of time it takes to charge the capacitor, and increasing the duty cycle.</p>
<p><img width="450" vspace="4" hspace="4" height="628" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc_duty.png?w=450&#038;h=628" alt="" /></p>
<p><img width="450" vspace="4" hspace="4" height="394" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/osc_duty.jpg?w=450&#038;h=394" alt="" /></p>
<p>It should sound like this when completed:</p>
<p> <embed width="450" height="27" type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://media.libsyn.com/media/markjeffrey/had_dsynth_oscillator_pwm_control.mp3" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed>
</p>
<h2>Creating an LFO</h2>
<p>A low-frequency oscillator (LFO) is an oscillator that oscillates very slowly, from 1 to 100 cycles per second. We will use an LFO to alternate the pitch of our oscillator between two different frequencies. This can be used for siren like sound effects, timbre control, or musical sequences.</p>
<p>The circuit to control the LFO is slightly more complex than the ones we have used before. Because it uses a capacitor with 10x the capacitance, and a potentiometer with 10x the resistance, the oscillations are 100x slower than our first oscillator. The LFO connects to the gate of the IRF 510 MOSFET transistor. When the output of the LFO is +5V, the transistor connects its source and drain pins. With these pins connected, current can flow through the second potentiometer, increasing the pitch. When the LFO returns to 0V, the potentiometer is disconnected, and the pitch drops back to its original level.</p>
<p><img width="451" vspace="4" hspace="4" height="686" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/lfo.png?w=451&#038;h=686" alt="" /></p>
<p><img width="450" vspace="4" hspace="4" height="512" border="0" src="http://hackadaycom.files.wordpress.com/2008/04/lfo_breadboard.jpg?w=450&#038;h=512" alt="" /></p>
<p>There are quite a number of sounds that can be produced with the LFO, such as this:</p>
<p> <embed width="450" height="27" type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://media.libsyn.com/media/markjeffrey/had_dsynth_lfo1.mp3" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed><br />and this:<br /><embed width="450" height="27" type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://media.libsyn.com/media/markjeffrey/had_dsynth_lfo2.mp3" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed>
</p>
<h2>Conclusion</h2>
<p>You have now made your own simple digital synthesizer. Keep experimenting with different control methods. The frequency is adjusted with just resistance, so almost anything can be used for an input. Try a <a href="http://www.engadget.com/2006/07/05/thingamagoop-the-synth-with-personality/">photocell</a>, or a <a href="http://createdigitalmusic.com/2005/08/08/hypersense-complex-gestural-gloves-for-music/">flex sensor</a>. Try combining the LFO and the duty cycle adjustment. Try using it to actually make music! We&#8217;d love to see what you come up with.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/1748/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/1748/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/1748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/1748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/1748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1748&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/05/01/how-to-make-a-digital-synthesizer/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">loganwilliams</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/lfo_breadboard.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/parts.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc.png" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc_var.png" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc_var.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc_duty.png" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/osc_duty.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/lfo.png" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2008/04/lfo_breadboard.jpg" medium="image" />
	</item>
		<item>
		<title>How-To: Where to find parts for your projects</title>
		<link>http://hackaday.com/2007/11/16/how-to-where-to-find-parts-for-your-projects/</link>
		<comments>http://hackaday.com/2007/11/16/how-to-where-to-find-parts-for-your-projects/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 00:59:00 +0000</pubDate>
		<dc:creator>Will O'Brien</dc:creator>
				<category><![CDATA[cnc hacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[digikey]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mouser]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[radioshack]]></category>
		<category><![CDATA[salvage]]></category>
		<category><![CDATA[sparkfun]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2007/11/16/how-to-where-to-find-parts-for-your-projects/</guid>
		<description><![CDATA[Hunting down the right parts usually takes more time than soldering everything together. I can&#8217;t count the number of projects that I tried to build and couldn&#8217;t find some key component that&#8217;s no longer made. You can help put together a list of suppliers at the end, but the idea is to have a quick [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1541&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img width="425" vspace="4" hspace="4" height="283" border="0" src="http://hackadaycom.files.wordpress.com/2007/11/parts.jpg?w=425&#038;h=283" alt="" /><br />Hunting down the right parts usually takes more time than soldering everything together. I can&#8217;t count the number of projects that I tried to build and couldn&#8217;t find some key component that&#8217;s no longer made. You can help put together a list of suppliers at the end, but the idea is to have a quick reference to get your projects rolling (saving your money for important things, like espresso). Even if you&#8217;re familiar with the usual electronics parts shops, chime in to help me create a list of the best suppliers to fuel those hardware hacking projects.</p>
<p><span id="more-1541"></span></p>
<p><img width="425" vspace="4" hspace="4" height="283" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2007/11/radio-shack-bits.jpg?w=425&#038;h=283" /><br />If you want to keep your money, I&#8217;d avoid <a href="http://www.radioshack.com/category/index.jsp?categoryId=2032058">RadioShack</a> as much as possible. When you&#8217;re stuck because you can&#8217;t find a freaking 10kohm resistor, it&#8217;s fine, but the markup on their low quality parts is insane-their clearance prices aren&#8217;t too bad. As much as people bag on RadioShack, just remember that nobody else bothers to sell electronic parts in the middle of nowhere.</p>
<p>Shipping can eat your project budget quicker than anything else. It&#8217;s the reason that I&#8217;m sometimes willing to pay $1 for $.05 in resistors at RadioShack. When I&#8217;m buying parts, I try to buy from a single supplier if possible to maximize my parts budget. </p>
<p>Stocking up on parts in bulk can help make projects extra affordable later on. Buying a quantity of resistors, capacitors, PNP and NPN transistors and a decent supply of linear voltage regulators will save you a fair amount of money later on. I love it when I can build a $30 project for the cost of a proto-board and an odd capacitor.</p>
<p><img width="425" vspace="4" hspace="4" height="283" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2007/11/samples-1.jpg?w=425&#038;h=283" /><br />Just about every electronics component manufacturer will provide free samples on request. That&#8217;s right &#8211; free. It&#8217;s usually just a matter of creating an account on the manufacturers web site and selecting the components you need. As a rule, I don&#8217;t mention when I&#8217;ve sampled parts for a project. Seriously, they&#8217;ll get a little suspicious if 100 people suddenly sample the exact same parts. Samples aren&#8217;t limited to semiconductor companies. [ladyada] has a <a href="http://www.ladyada.net/resources/procure/samples.html">nice list </a>of sample providers, including enclosures and connectors.</p>
<p> <img width="425" vspace="4" hspace="4" height="283" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2007/11/digikey.jpg?w=425&#038;h=283" /><br /><a href="http://digikey.com/">Digi-Key</a> carries just about every part you can think of. These guys prefer to sell large quantities, but they&#8217;re happy to take small orders. Orders are shipped out fast, but they&#8217;ll tack on an extra $5 fee if your order is under $25. Even if you&#8217;re not ordering, they usually have data sheets linked for every part they carry online. If you&#8217;re wiling to jump through the hoops, you can even create a parts order that&#8217;s linkable from your website &#8211; it can make it much easier to share a project with others, but I usually find that a few part numbers get deprecated as time goes by. Oh, and they&#8217;ll send you a massive parts catalog that&#8217;s handy for parts hunting and brain storming.</p>
<p><a href="http://mouser.com/">Mouser Electronics</a> is one of my favorite suppliers these days. They have reasonable shipping options and are fast with UPS ground orders showing up at my house within two days. Their inventory isn&#8217;t always the best, but substitution parts are usually easy to find because the online catalog links to web enabled PDF pages from their print catalog. It makes cross-referencing very easy. Like Digi-Key, they&#8217;ll send you a massive parts catalog to shove under your monitor.</p>
<p><a href="http://www.futurlec.com">Futurlec</a> is a great place to get incredibly cheap parts, but you won&#8217;t be seeing your order for about a month (ok, so my last order showed up after three weeks). I suggest stocking up on connector headers and resistors. I haven&#8217;t had to make a late night resistor run in a couple of years thanks to these guys.</p>
<p><a href="http://www.sparkfun.com">Sparkfun electronics</a> is like a candy shop for Hack-A-Day readers. They carry higher end parts like GPS units, GMRS modules and micro controller programmers. Pricing varies a bit, but I can always find something interesting there. If you prefer professionally made PC Boards, they even put together an <a href="http://www.batchpcb.com/">inexpensive PC Board service</a>.</p>
<p><a href="http://ebay.com">ebay</a> is one of my favorite places to shop for parts. It&#8217;s a great place to buy brand new $150 stepper motors for $20 or hunt down funky, hackable hardware. People certainly try to sell single components, but it&#8217;s usually not worth the effort.</p>
<p><img width="425" vspace="4" hspace="4" height="283" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2007/11/steppers-from-printers.jpg?w=425&#038;h=283" /><br />Salvaging parts is the absolute cheapest method for parts shopping. Thanks to custom ICs and SMD parts, newer electronics don&#8217;t normally have much in the way of salvage value. On the other hand, older hardware is a great source for parts. My current favorite salvage source is the dot matrix printer. They&#8217;re easy to take apart, have nice power supplies, and they&#8217;re loaded with quality heat sinks, wiring, connectors, hardened steel rods, and stepper motors. The bigger the dot matrix printer, the bigger the stepper motor. If you can score a few of the same model, you&#8217;ll end up with a few matched sets. People hate throwing them away, so they&#8217;re easy to get for free.</p>
<p><img width="425" vspace="4" hspace="4" height="283" border="0" alt="" src="http://hackadaycom.files.wordpress.com/2007/11/obsolete-bit.jpg?w=425&#038;h=283" /><br />Lack of availability can be a problem, but obsolete parts are another way to keep costs down. Originally, the UCN5804B stepper driver I used for the <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.engadget.com%2F2006%2F06%2F29%2Fhow-to-build-your-own-cnc-machine-part-1%2F&amp;ei=xE8-R8CFM6HkigG2luSYCA&amp;usg=AFQjCNGi60aiIoyo30Pr-kCT9c6GO_6rUQ&amp;sig2=Tf2TT0if1rEBIC-fofLxzQ">cutting board CNC machine</a> cost about $16 each. Now that they&#8217;re deprecated, they can be had for about $5 each.</p>
<p>Grab bags are another good way to save money. They&#8217;re usually full of loose parts that&#8217;ll have to be identified, but they&#8217;re cheap. The guys over at uchobby put together <a href="http://www.uchobby.com/index.php/2007/08/09/grab-bag-sorting-how-to/">a nice how-to</a> on sorting them.</p>
<p>Thanks to the movement from mail order to internet suppliers, the parts company scene is huge. There are loads of production part and surplus companies around. Here&#8217;s a quick list of shops that&#8217;ll probably be useful if you&#8217;re looking for parts.</p>
<p><a href="http://digikey.com/">Digi-Key electronics</a><br /><a href="http://mouser.com/">Mouser electronics</a><br /><a href="http://www.futurlec.com">Futurlec</a><br /><a href="http://www.sparkfun.com">Sparkfun electronics</a><br /><a href="http://www.ebay.com">eBay</a><br /><a href="http://www.allelectronics.com/">All Electronics</a><br /><a href="http://www.bgmicro.com/">BG Micro</a><br /><a href="http://www.sciplus.com/">American Science &amp; Surplus</a><br /><a href="http://www.goldmine-elec.com/">Goldmine Electronics</a><br /><a href="http://www.mpja.com/">MPJA Online</a><br /><a href="http://www.mcmelectronics.com/">MCM Electronics</a><br /><a href="http://www.partsexpress.com">Parts Express</a></p>
<p>Got a favorite shop? Drop the link in the comments and I&#8217;ll add it to the list.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/1541/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/1541/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/1541/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=1541&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2007/11/16/how-to-where-to-find-parts-for-your-projects/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Will O&#039;Brien</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/parts.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/radio-shack-bits.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/samples-1.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/digikey.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/steppers-from-printers.jpg" medium="image" />

		<media:content url="http://hackadaycom.files.wordpress.com/2007/11/obsolete-bit.jpg" medium="image" />
	</item>
	</channel>
</rss>
