<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Meat and Networking &#187; Brad</title>
	<atom:link href="http://www.meatandnetworking.com/author/bradluyster/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.meatandnetworking.com</link>
	<description>Occasional Innovation</description>
	<lastBuildDate>Sun, 31 Mar 2013 20:56:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Tup: Make Alternative for Embedded Systems</title>
		<link>http://www.meatandnetworking.com/tutorials/tup-make-alternative-for-embedded-systems/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tup-make-alternative-for-embedded-systems</link>
		<comments>http://www.meatandnetworking.com/tutorials/tup-make-alternative-for-embedded-systems/#comments</comments>
		<pubDate>Sun, 31 Mar 2013 20:56:28 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[build system]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[tup]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=409</guid>
		<description><![CDATA[I hate Make.  With a fiery burning passion, I hate Make.  From day one, I found it difficult to understand, difficult to write Makefiles, difficult to modify Makefiles, and difficult to use Makefiles.  Over the years, I have built a collection of boilerplate Makefiles that only sort-of worked for a given project, and any time [...]]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter" alt="" src="http://gittup.org/tup/logo.png" width="336" height="59" /></p>
<p>I hate Make.  With a fiery burning passion, I hate Make.  From day one, I found it difficult to understand, difficult to write Makefiles, difficult to modify Makefiles, and difficult to use Makefiles.  Over the years, I have built a collection of boilerplate Makefiles that only sort-of worked for a given project, and any time I wanted to do something creative with the build system, it was a challenge to figure out how to force Make to do what I knew damn well how to do via the command line.</p>
<div id="attachment_410" class="wp-caption aligncenter" style="width: 260px"><a href="http://www.meatandnetworking.com/wp-content/uploads/bread.gif"><img class="size-full wp-image-410" alt="There has to be a better way!" src="http://www.meatandnetworking.com/wp-content/uploads/bread.gif" width="250" height="188" /></a><p class="wp-caption-text">There has to be a better way!</p></div>
<p>Wasting time on <a href="http://news.ycombinator.com">HackerNews</a>, I saw a post about a build system called <a href="http://gittup.org/tup/">Tup</a>.  It was designed as a pet project for a pet project, but I was able to understand the syntax in just a couple hours of reading and experimenting.  Seriously, in just a couple hours, I was writing Tupfiles from scratch, something I would never think of doing with Make.</p>
<p>Tup has some seriously huge benefits if you&#8217;re building projects with thousands of files, and lots of nested directories.  Tup uses inotify and some other tricks to automatically figure out what needs to be rebuilt, and when it needs to be rebuilt.  I&#8217;ve been told that you can do a lot of this using Make, but I have never been able to write a Makefile that didn&#8217;t try to rebuild everything all the time, so even though I shouldn&#8217;t be saving build time using Tup on small embedded projects, I am, by a huge margin.</p>
<p>In fact, &#8220;tup monitor -a&#8221; is probably the most magical command I&#8217;ve encountered in any build system ever.  Because tup uses inotify, the monitor daemon can receive notifications that files in the build chain have changed, and automatically determine what parts of the project need to be rebuilt.  As a result of this, my project is often rebuilt by the time I&#8217;ve alt-tabbed to the terminal to check the results of the build and upload to the board.  Serious, magic.</p>
<p>Most of my projects lately have been built on AVR8 processors, so I&#8217;ve created two Tup skeletons on github, if you&#8217;d like to try it out:</p>
<p><a href="https://github.com/Zuph/TupArduinoSkeleton">https://github.com/Zuph/TupArduinoSkeleton</a></p>
<p><a href="https://github.com/Zuph/TupLufaSkeleton">https://github.com/Zuph/TupLufaSkeleton</a></p>
<p>The first is an Arduino skeleton project that allows you to easily write Arduino code using whatever text editor and programmer you damn well please.  Simply #include &#8220;Arduino.h&#8221; at the top of every file, and you&#8217;re in Arduino-land.  Works out-of-the-box with any AVR processor used on an Arduino, including the AtMega328, and AtMega2560.  Other processors will require a pin definition file in order to work with Arduino functions.  To use, clone it, run &#8220;tup init&#8221; then &#8220;tup upd&#8221;.</p>
<p>The second is a skeleton project for LUFA, the AVR USB library.  I&#8217;ve been using LUFA with the Teensy++ 2.0, but there are plenty of other boards and processors that can make use of the library.</p>
<p>If you want to improve the skeletons, or submit your own, I welcome all pull requests.  I&#8217;m also happy to help folks get started with tup.  The more folks using it, the more well-supported it will be in the future!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/tutorials/tup-make-alternative-for-embedded-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prusa</title>
		<link>http://www.meatandnetworking.com/projects/prusa/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prusa</link>
		<comments>http://www.meatandnetworking.com/projects/prusa/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 01:14:06 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[3d printers]]></category>
		<category><![CDATA[lvl1]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=404</guid>
		<description><![CDATA[This past weekend, we had a 3D printing workshop at LVL1.  I built a Mendel Prusa i2, along with 9 other folks in the LVL1 community. Sonny Mounicou came up from Memphis, TN, while Jon Oly of SeeMeCNC came down from Goshen, IN to help us build 3D printers.  One guy had his printer up and running [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.meatandnetworking.com/wp-content/uploads/8543425196_b36888c2bc_b.jpg"><img class="aligncenter size-medium wp-image-405" alt="3D Printing Workshop" src="http://www.meatandnetworking.com/wp-content/uploads/8543425196_b36888c2bc_b-300x200.jpg" width="300" height="200" /></a>This past weekend, we had a 3D printing workshop at <a href="http://www.lvl1.org">LVL1</a>.  I built a Mendel Prusa i2, along with 9 other folks in the LVL1 community. <a href="http://os1r1s.com/">Sonny Mounicou</a> came up from Memphis, TN, while Jon Oly of <a href="http://shop.seemecnc.com/">SeeMeCNC</a> came down from Goshen, IN to help us build 3D printers.  One guy had his printer up and running in a mere 14 hours!  I had to get some sleep, so I was a little bit behind that.</p>
<p>Needless to say, everyone had a great time, and walked out with some working 3D printers.  I&#8217;ve since gotten my Prusa home and had some time to play with it.</p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/u96Ff9q.jpg"><img class="aligncenter size-medium wp-image-406" alt="Prusa at Home" src="http://www.meatandnetworking.com/wp-content/uploads/u96Ff9q-300x225.jpg" width="300" height="225" /></a>I&#8217;ve already got plans to make it better.  Tonight, I&#8217;m going to redo all the wiring to make it nicer, more reliable, and better looking.  Next, I intend to scrounge a server power supply out of the basement of LVL1.  Currently, it&#8217;s attached to a 200W Dell Power supply, which can only push out 200W.  This is fine for most things, but it just can&#8217;t put our the juice needed for heating the build platform to ABS temperatures.  I was able to get some calibration cubes of ABS to stick to the build platform, but nothing bigger. After that, sky&#8217;s the limit.  I&#8217;m also going to use this printer to print parts for another 3D printer, a <a href="http://reprap.org/wiki/Rostock">Rostock</a>.</p>
<p>Unfortunately, I&#8217;ll be missing the <a href="http://midwestreprapfest.org/">Midwest RepRap Fest</a> this weekend, but I&#8217;ll be there in spirit!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/projects/prusa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart-Prototyping.com Review</title>
		<link>http://www.meatandnetworking.com/resources/smart-prototyping-com-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=smart-prototyping-com-review</link>
		<comments>http://www.meatandnetworking.com/resources/smart-prototyping-com-review/#comments</comments>
		<pubDate>Sun, 03 Mar 2013 18:30:13 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[buy]]></category>
		<category><![CDATA[china]]></category>
		<category><![CDATA[pcbs]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=400</guid>
		<description><![CDATA[Recently, Matseng at the Dangerous Prototypes forums posted another source for cheap printed circuit boards and test equipment direct from China: http://www.smart-prototyping.com The site is apparently run by German ex-pats in Shenzhen.  Although the site is pretty sparse at the moment, they&#8217;ve got a PCB prototyping service and a selection of very cheap test equipment [...]]]></description>
				<content:encoded><![CDATA[<p>Recently, Matseng at the Dangerous Prototypes forums <a href="http://dangerousprototypes.com/forum/viewtopic.php?f=2&amp;t=5105">posted</a> another source for cheap printed circuit boards and test equipment direct from China:</p>
<p><a href="http://www.smart-prototyping.com">http://www.smart-prototyping.com</a></p>
<p>The site is apparently run by German ex-pats in Shenzhen.  Although the site is pretty sparse at the moment, they&#8217;ve got a PCB prototyping service and a selection of very cheap test equipment for sale.  I placed an order for some PCBs and a <a href="http://smart-prototyping.com/index.php?route=product/product&amp;path=66_70_123&amp;product_id=105">Bench Supply</a> on the day the Chinese New Year ended.  They arrived Thursday.</p>
<div class="wp-caption aligncenter" style="width: 650px"><a href="http://i.imgur.com/FOyPPsBl.jpg"><img alt="" src="http://i.imgur.com/FOyPPsBl.jpg" width="640" height="480" /></a><p class="wp-caption-text">PS-303DM Power Supply</p></div>
<p>The bench supply looks great.  I tested it with a crappy RadioShack meter and some resistors, and the readout is at least as accurate as the meter.  This is every bit as nice as power supplies 3 times as expensive.  When I received it, the switch on the back was set to 220v, and contrary to the description, it did not come with a power cord, but for the cost, I&#8217;m very, very happy.</p>
<div class="wp-caption aligncenter" style="width: 650px"><img alt="" src="http://i.imgur.com/FO8ZulCl.jpg" width="640" height="480" /><p class="wp-caption-text">Smart Prototyping Circuit Board</p></div>
<p>The PCBs also came out very nicely.  These are nothing particularly taxing (these board are for a possible through-hole kit to sell on Tindie), but the drill hits are every bit as accurate (if not better) than Seeed Studio or iTead studio.</p>
<p>Overall, I&#8217;m very happy.  The service was really quick (less than 2 weeks!), and the price was good.  Shipping was on the high side, but considering the price of the power supply, nothing to complain about.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/resources/smart-prototyping-com-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Shoestring Workshop</title>
		<link>http://www.meatandnetworking.com/projects/the-shoestring-workshop/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-shoestring-workshop</link>
		<comments>http://www.meatandnetworking.com/projects/the-shoestring-workshop/#comments</comments>
		<pubDate>Sat, 16 Feb 2013 16:26:04 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=393</guid>
		<description><![CDATA[There has never been a better time to get into hobby electronics. Unfortunately, the tools required can be daunting for a newbie, and can quickly make the hobby look expensive and unappealing. I&#8217;m getting ready to move into a house where I&#8217;ll have my own electronics workbench, so I&#8217;ve been devoting a lot of attention [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_396" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.meatandnetworking.com/wp-content/uploads/williams-workbench.jpg"><img class="size-medium wp-image-396" alt="Jim William's Workbench" src="http://www.meatandnetworking.com/wp-content/uploads/williams-workbench-300x201.jpg" width="300" height="201" /></a><p class="wp-caption-text">Jim Williams Workbench, courtesy of the <a href="http://www.computerhistory.org/atchm/an-analog-life-remembering-jim-williams/">Computer History Museum</a>.</p></div>
<p>There has never been a better time to get into hobby electronics. Unfortunately, the tools required can be daunting for a newbie, and can quickly make the hobby look expensive and unappealing. I&#8217;m getting ready to move into a house where I&#8217;ll have my own electronics workbench, so I&#8217;ve been devoting a lot of attention to budget tools. I&#8217;ve got the basics, but since I joined the <a href="http://www.lvl1.org">LVL1 Hackerspace</a>, I&#8217;ve really let my tool collection atrophy. In the spirit of sharing, here&#8217;s a list of tools needed to get into electronics hobby. These tools are roughly listed in the order of priority, and all of them are list at new prices. You&#8217;ll definitely be able to get away with cheaper tools if you&#8217;re willing to do a little digging.</p>
<p>A disclaimer: You might not need all of these tools, and this list is not comprehensive! These tools are highly useful for analog and digital circuit design and construction, but if you&#8217;re into different areas of the hobby, you&#8217;ll need different tools. For example, radio geeks will find antenna analyzers and SWR meters extremely useful! For more inspiration, browse the Electronics Workbench Flickr Group: <a href="http://www.flickr.com/groups/elwb">http://www.flickr.com/groups/elwb</a></p>
<p>If you know of a better/cheaper source for any of these tools, or you&#8217;d like to suggest an addition to the list, please leave a comment! This is as much a learning experience for me as anyone, and we all love learning about new sources for these toys.</p>
<p>Unless mentioned otherwise, I have experience with all the hardware mentioned below (although not necessarily with the suppliers). Super Budget items are things that I would tolerate using if I didn&#8217;t have a better alternative, Medium Budget items are probably items that I have bought or would buy, and Standard budget items are tools that I would prefer to use. You can definitely spend more than the standard budget on every item in this list, but this is supposed to be a post about the shoestring workshop, and if you&#8217;re spending more than the &#8220;Standard&#8221; budget, you&#8217;re no longer in shoestring territory!</p>
<p><span id="more-393"></span></p>
<h2><strong>A Hackerspace</strong></h2>
<p><strong></strong>$Varies (Free to $100/mo)<br />
<a href="http://www.hackerspaces.org/">http://www.hackerspaces.org/</a><br />
A hackerspace is one of the best tools an aspiring electronics experimenter can have. A hackerspace will often have all the tools you need to affect some truly great prototyping, along with people to teach you how to use it!</p>
<h2><strong>A Soldering Iron</strong></h2>
<p><strong>Super Budget</strong> &#8211; $15<br />
<a href="http://www.mpja.com/Mini-Solder-Station-ZD-99/productinfo/15860%20TL/">http://www.mpja.com/Mini-Solder-Station-ZD-99/productinfo/15860%20TL/</a><br />
This iron doesn&#8217;t suck too bad, but it won&#8217;t be great for surface-mount work.</p>
<p><strong>Medium Budget</strong> &#8211; $20<br />
<a href="http://smart-prototyping.com/index.php?route=product/product&amp;path=66_70_124&amp;product_id=102">http://smart-prototyping.com/index.php?route=product/product&amp;path=66_70_124&amp;product_id=102</a><br />
This iron is actually pretty good. Fine for most surface-mount work.</p>
<p><strong>Standard Budget</strong> &#8211; $55<br />
<a href="http://www.mcmelectronics.com/product/TENMA-21-10115-/21-10115">http://www.mcmelectronics.com/product/TENMA-21-10115-/21-10115</a><br />
Digital Control makes this iron a lot easier to use.</p>
<h2><strong>Miscellaneous Hand Tools</strong></h2>
<p>You can nickle and dime here if you want, but for most of this stuff, it&#8217;s worth to spend a little more up front!</p>
<p><strong>Side Snips</strong> &#8211; $4<br />
<a href="https://www.sparkfun.com/products/10029">https://www.sparkfun.com/products/10029</a><br />
Critical for cutting leads off components!</p>
<p><strong>Wire Strippers</strong> &#8211; $5<br />
<a href="https://www.sparkfun.com/products/8696">https://www.sparkfun.com/products/8696</a><br />
Critical for stripping wires!</p>
<p><strong>Good Screwdriver Set</strong> &#8211; $10<br />
<a href="https://www.sparkfun.com/products/10865">https://www.sparkfun.com/products/10865</a></p>
<p><strong>Solder Wick</strong> &#8211; $3<br />
<a href="https://www.sparkfun.com/products/9327">https://www.sparkfun.com/products/9327</a><br />
Critical for fixing mistakes!</p>
<p><strong>Tweezers</strong> &#8211; $4<br />
<a href="https://www.sparkfun.com/products/10602">https://www.sparkfun.com/products/10602</a><br />
Critical for placing SMD components and small wires!</p>
<p><strong>Needle Nosed Pliers</strong> &#8211; $4<br />
<a href="https://www.sparkfun.com/products/10392">https://www.sparkfun.com/products/10392</a><br />
Critical for grabbing things in small places!</p>
<p><strong>Brass Sponge</strong> &#8211; $10<br />
<a href="http://www.adafruit.com/products/1172">http://www.adafruit.com/products/1172</a><br />
Critical for extending the life of your soldering iron!</p>
<h2><strong>Multimeter</strong></h2>
<p><strong>Standard Budget</strong> &#8211; $60<br />
<a href="http://www.mouser.com/ProductDetail/Extech/EX330/?qs=sGAEpiMZZMs8jstQXqv0yQSUWtCNl9ll">http://www.mouser.com/ProductDetail/Extech/EX330/?qs=sGAEpiMZZMs8jstQXqv0yQSUWtCNl9ll</a><br />
Spend a little money now, and never worry about it again. Meters cheaper than this are only good for telling you whether a circuit is live or not.</p>
<h2><strong>Power Supply</strong></h2>
<p><strong>Super Budget</strong> &#8211; $10<br />
<a href="https://www.sparkfun.com/products/114">https://www.sparkfun.com/products/114</a><br />
This breadboard power supply will get you through a few Arduino experiments, but not much else.</p>
<p><strong>Standard Budget</strong> &#8211; $45<br />
<a href="http://smart-prototyping.com/index.php?route=product/product&amp;path=66_70_123&amp;product_id=105">http://smart-prototyping.com/index.php?route=product/product&amp;path=66_70_123&amp;product_id=105</a><br />
A current limited DC power supply is critical for board bring-up. Being able to verify that you don&#8217;t have a dead short without risking your board is an asset not to be underestimated.</p>
<h2><strong>Lab Supplies</strong></h2>
<p>This category includes tools that are useful for getting your workbench set up and livable.</p>
<p><strong>Magnifying Light on a Stick</strong> &#8211; $35<br />
<a href="http://www.harborfreight.com/fluorescent-magnifying-lamp-66384.html">http://www.harborfreight.com/fluorescent-magnifying-lamp-66384.html</a><br />
Extremely useful for getting an eye in closs-up spaces</p>
<p><strong>Panavise</strong> &#8211; $30<br />
<a href="https://www.sparkfun.com/products/10410">https://www.sparkfun.com/products/10410</a><br />
Extremely useful for holding boards while you solder things at awkward angles.</p>
<p><strong>Helping Hands</strong> &#8211; $3<br />
<a href="http://www.harborfreight.com/helping-hands-319.html">http://www.harborfreight.com/helping-hands-319.html</a><br />
Honestly, these are frustrating and get in the way just as much as they help out, but sometimes you just need something to grab something else for you.</p>
<p><strong>10X Magnifying Loupe</strong> &#8211; $2<br />
<a href="http://www.mpja.com/EYE-LOUPE-10X/productinfo/7433%20LN/">http://www.mpja.com/EYE-LOUPE-10X/productinfo/7433%20LN/</a><br />
Useful for inspecting SMT components.</p>
<p><strong>Bus Pirate</strong> &#8211; $30<br />
<a href="http://www.seeedstudio.com/depot/bus-pirate-v36-universal-serial-interface-p-609.html">http://www.seeedstudio.com/depot/bus-pirate-v36-universal-serial-interface-p-609.html</a><br />
This is a very handy tool for digital work. You can go without, but it will save you a lot of time programming micros.</p>
<h2><strong>AVR Programmer</strong></h2>
<p><strong>Super Budget</strong> &#8211; $15<br />
<a href="https://www.sparkfun.com/products/9825">https://www.sparkfun.com/products/9825</a><br />
This programmer will make due for a lot of boards with a 6 pin ISP header.</p>
<p><strong>Standard Budget</strong> &#8211; $52<br />
<a href="http://www.mouser.com/ProductDetail/Atmel/ATAVRDRAGON/?qs=%2fha2pyFaduhmHOAilKIdN%252bhVgiKoKD8waM5I7zDMzC0%3d">http://www.mouser.com/ProductDetail/Atmel/ATAVRDRAGON/?qs=%2fha2pyFaduhmHOAilKIdN%252bhVgiKoKD8waM5I7zDMzC0%3d</a><br />
The AVR Dragon is the best value for money out there. This will program any AVR in existence.</p>
<h2><strong>PIC Programmer</strong></h2>
<p>As a disclaimer, I have *never* used any of these PIC programmers. I&#8217;m basing these judgements off the experiences of others.</p>
<p><strong>Medium Budget</strong> &#8211; $20<br />
<a href="http://www.sureelectronics.net/goods.php?id=21">http://www.sureelectronics.net/goods.php?id=21</a><br />
PICKit2 Clone</p>
<p><strong>Gambler&#8217;s Budget</strong> &#8211; $25<br />
<a href="http://www.sureelectronics.net/goods.php?id=1128">http://www.sureelectronics.net/goods.php?id=1128</a><br />
PICKit3 Clone. There are rumors that this doesn&#8217;t provide proper voltages to the board. See this post: <a href="http://dangerousprototypes.com/2011/12/19/sure-electronics-pickit-3-clone-review/">http://dangerousprototypes.com/2011/12/19/sure-electronics-pickit-3-clone-review/</a></p>
<p><strong>Standard Budget</strong> &#8211; $50<br />
<a href="https://www.sparkfun.com/products/9973">https://www.sparkfun.com/products/9973</a><br />
PICKit 3.</p>
<h2><strong>ARM Programmer</strong></h2>
<p><strong>Super Budget</strong> &#8211; FREE &#8211; $30<br />
<em id="__mceDel"><a href="http://www.mouser.com/ProductDetail/STMicroelectronics/STM32F4DISCOVERY/?qs=sGAEpiMZZMvFPGEOwQcrY8eCSOyOXcPBXPB8snd5oaY%3d">http://www.mouser.com/ProductDetail/STMicroelectronics/STM32F4DISCOVERY/?qs=sGAEpiMZZMvFPGEOwQcrY8eCSOyOXcPBXPB8snd5oaY%3d</a></em></p>
<p><em id="__mceDel"><em id="__mceDel"><a href="http://www.mouser.com/ProductDetail/Texas-Instruments/EK-LM4F120XL/?qs=%2fha2pyFadujV00pLb4z9TCaSHsWTv4DejOo%252bz20MO5AvQQSb5YJVdntxEBJaRP2g">http://www.mouser.com/ProductDetail/Texas-Instruments/EK-LM4F120XL/?qs=%2fha2pyFadujV00pLb4z9TCaSHsWTv4DejOo%252bz20MO5AvQQSb5YJVdntxEBJaRP2g</a><br />
Just buy or obtain a dev-kit for the family of processor you want to use. The kits that include a built-in debugger will often program and debug other chips in the same family. Handy!</em></em></p>
<p><strong>Standard Budget</strong> &#8211; $52<br />
<a href="https://www.sparkfun.com/products/8278">https://www.sparkfun.com/products/8278</a><br />
This board just works, and is worth having in your toolbox.</p>
<h2><strong>Logic Analyzer</strong></h2>
<p><strong>Medium Budget</strong> &#8211; $50<br />
<a href="http://www.seeedstudio.com/depot/open-workbench-logic-sniffer-p-612.html">http://www.seeedstudio.com/depot/open-workbench-logic-sniffer-p-612.html</a><br />
This is a pretty decent open source logic analyzer. Fast, but a limited number of samples.</p>
<p><strong>Standard Budget</strong> &#8211; $150<br />
<a href="http://www.saleae.com/logic">http://www.saleae.com/logic</a><br />
The Saleae is the gold-standard in the hobbyist and low-end professional logic analyzer arena. Super high quality hardware and software. If you&#8217;re daring, you can get chinese knock-offs on eBay, but come on, support a guy from our own community!</p>
<h2><strong>Hot Air Rework</strong></h2>
<p><strong>Standard Budget</strong> &#8211; $100<br />
<a href="https://www.sparkfun.com/products/10706">https://www.sparkfun.com/products/10706</a><br />
Useful for SMD work. Impossible to go without if you&#8217;re soldering things with hidden pads. Very useful for reworking boards with mistakes.</p>
<h2><strong>Oscilloscope</strong></h2>
<p>An Oscilloscope is a useful tool, but it is not a necessity! You can get by without one for a very, very long time. I suggest avoiding the $100 &#8220;pocket scopes&#8221; tucked in an old MP3 player case. These are extremely limited in their usefulness, and you&#8217;d be better off investing that $100 in a used eBay scope, or saving for the Rigol.</p>
<p><strong>Super Budget</strong> &#8211; Ebay &#8211; $Varies<br />
Search eBay for a cheap 25+Mhz scope from a reliable vendor like Tektronix or Agilent. You can find some deals if you&#8217;re willing to hunt, but if you don&#8217;t know much about scopes, you can also get burned pretty badly.</p>
<p><strong>Standard Budget</strong> &#8211; $400<br />
<a href="http://www.saelig.com/product/PSPC017.htm">http://www.saelig.com/product/PSPC017.htm</a><br />
The Rigol DS1102E is the successor to the popular DS1052E. They&#8217;re very similar, so if you can find a DS1052E for cheaper, snatch it up. Don&#8217;t worry about 50/100 MHz for the 1052E, you can hack it to turn the 50 MHz version into the 100 MHz version: <a href="http://hackaday.com/2010/03/31/update-50mhz-to-100mhz-scope-conversion/">http://hackaday.com/2010/03/31/update-50mhz-to-100mhz-scope-conversion/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/projects/the-shoestring-workshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nanino Upgrade</title>
		<link>http://www.meatandnetworking.com/projects/nanino-upgrade/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nanino-upgrade</link>
		<comments>http://www.meatandnetworking.com/projects/nanino-upgrade/#comments</comments>
		<pubDate>Mon, 04 Feb 2013 03:29:00 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[diptrace]]></category>
		<category><![CDATA[lvl1]]></category>
		<category><![CDATA[nanino]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[pcbs]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=378</guid>
		<description><![CDATA[4 months ago, I read about Johan&#8217;s Nanino on Hack-A-Day, and thought it would be a great way to teach some folks how to etch their own circuit boards.  Although I&#8217;m increasingly shipping PCBs off to China, being able to etch your own boards is a valuable skill to have.  I&#8217;ve taught workshops on it in [...]]]></description>
				<content:encoded><![CDATA[<p>4 months ago, I read about Johan&#8217;s <a href="http://vonkonow.com/wordpress/2012/10/nanino-the-diy-friendly-arduino/">Nanino</a> on <a href="http://hackaday.com/2012/10/09/single-sided-arduino-is-a-great-introduction-to-pcb-etching/">Hack-A-Day</a>, and thought it would be a great way to teach some folks how to etch their own circuit boards.  Although I&#8217;m increasingly shipping PCBs off to China, being able to etch your own boards is a valuable skill to have.  I&#8217;ve taught workshops on it in the past, and I&#8217;ve <a href="http://www.meatandnetworking.com/projects/toner-transfer-and-muriatic-acid-etchant-making-pcbs-at-lvl1/">described the process on this blog</a>.  Today, I set out to make a copy of Johan&#8217;s Nanino, but was almost immediately frustrated by the inability to manipulate and print the board file in a way that worked well for my process.  In the end, I redrew the thing using <a href="http://diptrace.com/">DipTrace</a>.</p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/naninolvl1.png"><img class="aligncenter size-medium wp-image-386" alt="Nanino Improved" src="http://www.meatandnetworking.com/wp-content/uploads/naninolvl1-300x296.png" width="300" height="296" /></a>The only change made to the original is the addition of a .1 uF capacitor on the DTR line of the FTDI header.  Some of the traces are a little closer together, but they&#8217;re still spaced out enough that etching this board is a cinch.</p>
<p>Here are the files:</p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoLVL1.dch">Diptrace Schematic for Nanino</a></p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoLVL1.dip">Diptrace PCB for Nanino</a></p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoLVL1.pdf">PDF of Nanino from the Back</a></p>
<p>You can use this PDF to etch directly.  No mirroring is needed.</p>
<div id="attachment_381" class="wp-caption alignnone" style="width: 160px"><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoTop.png"><img class="size-thumbnail wp-image-381" alt="Can be printed.  1200 DPI." src="http://www.meatandnetworking.com/wp-content/uploads/NaninoTop-150x150.png" width="150" height="150" /></a><p class="wp-caption-text">Can be printed. 1200 DPI.</p></div>
<div id="attachment_380" class="wp-caption alignnone" style="width: 160px"><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoBottom.png"><img class="size-thumbnail wp-image-380" alt="Can be printed. 1200 DPI.  No mirror needed for etching." src="http://www.meatandnetworking.com/wp-content/uploads/NaninoBottom-150x150.png" width="150" height="150" /></a><p class="wp-caption-text">Can be printed. 1200 DPI. No mirror needed for etching.</p></div>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/NaninoLVL1.dxf">DXF of Nanino</a></p>
<p>And, because the original Nanino is licensed CC-BY-NC-SA, this one is also:<br />
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"><img style="border-width: 0;" alt="Creative Commons License" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />
This work is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</p>
<p>&nbsp;</p>
<div id="attachment_387" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_205836-1.jpg"><img class="size-medium wp-image-387" alt="It works!" src="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_205836-1-300x225.jpg" width="300" height="225" /></a><p class="wp-caption-text">It works!</p></div>
<div id="attachment_389" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_183809.jpg"><img class="size-medium wp-image-389" alt="Good toner transfer" src="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_183809-225x300.jpg" width="225" height="300" /></a><p class="wp-caption-text">Good toner transfer</p></div>
<div id="attachment_388" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_185429.jpg"><img class="size-medium wp-image-388" alt="The etch was drama-free" src="http://www.meatandnetworking.com/wp-content/uploads/IMG_20130203_185429-300x225.jpg" width="300" height="225" /></a><p class="wp-caption-text">The etch was drama-free</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/projects/nanino-upgrade/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Cheap Prototype PCB Comparison</title>
		<link>http://www.meatandnetworking.com/resources/cheap-prototype-pcb-comparison/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cheap-prototype-pcb-comparison</link>
		<comments>http://www.meatandnetworking.com/resources/cheap-prototype-pcb-comparison/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 04:01:40 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[making]]></category>
		<category><![CDATA[pcbs]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=356</guid>
		<description><![CDATA[We live in a golden era of the electronics hobby.  PCBs are easier to make and cheaper to manufacture than ever before.  In some cases, it can even be easier to have  PCB made than breadboard a circuit.  With the growing proliferation of surface mount components, and ever greater levels of integration, PCBs are more [...]]]></description>
				<content:encoded><![CDATA[<p>We live in a golden era of the electronics hobby.  PCBs are easier to make and cheaper to manufacture than ever before.  In some cases, it can even be easier to have  PCB made than breadboard a circuit.  With the growing proliferation of surface mount components, and ever greater levels of integration, PCBs are more and more appealing for hobbyists.  Like most folks in the maker community, I get my PCBs made at one of three places:<a href="http://www.seeedstudio.com/depot/"> Seeed Studio</a>, <a href="http://oshpark.com/">OSH Park</a>, or <a href="https://www.batchpcb.com/">Batch PCB</a>. (Itead Studio, also, but their prices and quality are basically the same as <a href="http://blog.iteadstudio.com/">Seeed Studio</a>.)</p>
<p>I&#8217;ve been ordering from whatever place strikes my fancy at the moment (increasingly from OSH Park, so I&#8217;m not left waiting as long for the boards), but I&#8217;ve never seen a decent comparison.  A few minutes in <a href="http://www.gnu.org/software/octave/">Octave</a> fixed that right up.  Without further adieu, the price of 10 PCBs from OSH Park, Seeed Studio, and Batch PCB.  In order to compare apples to oranges, I assumed expedited shipping for the Seeed Studio orders.  In practice, this means about 10 day turnaround time for all three options.  <strong>All board dimensions are in CM.</strong></p>
<p>&nbsp;</p>
<div id="attachment_362" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/seeed_mountain.png"><img class="wp-image-362 " title="Seeed Studio PCB Pricing" src="http://www.meatandnetworking.com/wp-content/uploads/seeed_mountain-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Pricing for Expedited PCBs from Seeed Studio. X and Y are board dimensions in CM, Z is cost in US Dollars.</p></div>
<div id="attachment_361" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/osh_park_mountain.png"><img class="wp-image-361 " title="OSH Park PCB Pricing" src="http://www.meatandnetworking.com/wp-content/uploads/osh_park_mountain-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Pricing for PCBs from OSH Park. X and Y are board dimensions in CM, Z is cost in US Dollars.</p></div>
<div id="attachment_359" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/batch_mountain.png"><img class="wp-image-359 " title="Batch PCB Pricing" src="http://www.meatandnetworking.com/wp-content/uploads/batch_mountain-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Pricing for PCBs from Batch PCB. X and Y are board dimensions in CM, Z is cost in US Dollars.</p></div>
<p>This view gets even more interesting when you plot all three on the same graph:</p>
<div id="attachment_360" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/mountain_range.png"><img class=" wp-image-360 " title="PCB Mountain Range" src="http://www.meatandnetworking.com/wp-content/uploads/mountain_range-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">The Mountain Range View of PCB Costs.</p></div>
<p>The stair-step pattern is Seeed Studio, the middle-surface is OSH Park, and the top surface is BatchPCB.  So, for 10 PCBs in about 10 days, OSH Park is the cheapest up to about 20 cm^2, then Seeed Studio is cheaper.  Here&#8217;s a heat-map of that price-breakdown.</p>
<div id="attachment_365" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/better_heat1.png"><img class=" wp-image-365  " title="Best Cost, 10 units, 10 days" src="http://www.meatandnetworking.com/wp-content/uploads/better_heat1-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Best Cost for 10 PCBs in 10 days. Yellow is OSH Park, Green is Seeed Studio. X and Y are board dimensions in CM.</p></div>
<p>&nbsp;</p>
<p>Of course, sometimes you don&#8217;t need 10 boards.  In this case, OSH Park is the winner in a lot more cases.  In that case, here is the cost breakdown:</p>
<div id="attachment_358" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/absolute_low_better_heat1.png"><img class=" wp-image-358  " title="Minimum Boards Heat" src="http://www.meatandnetworking.com/wp-content/uploads/absolute_low_better_heat1-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Best cost for minimum number of PCBs. Yellow is OSH Park, Green is Seeed Studio. X and Y are board dimensions in CM.</p></div>
<p>And, of course, sometimes you don&#8217;t care when the boards arrive.  If you don&#8217;t mind waiting for 3-4 weeks, here&#8217;s where you&#8217;ll find a better deal:</p>
<div id="attachment_366" class="wp-caption alignnone" style="width: 624px"><a href="http://www.meatandnetworking.com/wp-content/uploads/cost_only1.png"><img class=" wp-image-366  " title="No Rush Heat" src="http://www.meatandnetworking.com/wp-content/uploads/cost_only1-1024x768.png" alt="" width="614" height="461" /></a><p class="wp-caption-text">Best Price for PCBs, no rush. For Seeed, this means 4 weeks or so. For OSH Park, this means 10 days. Yellow is OSH Park, Green is Seeed Studio, X and Y are board dimensions in CM.</p></div>
<p>So, here&#8217;s the verdict:  Never order from BatchPCB! (Sorry Sparkfun.)  Otherwise, figure out whether you need a lot of boards, board fast, or boards slow.  Depending on those answers, look at the heat maps above, and find your best deals!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/resources/cheap-prototype-pcb-comparison/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>3D Printing</title>
		<link>http://www.meatandnetworking.com/projects/3d-printing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=3d-printing</link>
		<comments>http://www.meatandnetworking.com/projects/3d-printing/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 02:31:22 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[3d printers]]></category>
		<category><![CDATA[lvl1]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=346</guid>
		<description><![CDATA[I&#8217;m not dead.  I switched jobs back in September, and it&#8217;s seemed like an impossible task to catch up to everything until now.  But I&#8217;m working on some cool stuff! For example, I&#8217;m building a 3D printer: This is the start to my Rostock 3D printer.  I started printing the parts for this way back [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m not dead.  I switched jobs back in September, and it&#8217;s seemed like an impossible task to catch up to everything until now.  But I&#8217;m working on some cool stuff!</p>
<p>For example, I&#8217;m building a 3D printer:</p>
<p><a href="http://www.meatandnetworking.com/wp-content/uploads/2013-01-05-16.37.39.jpg"><img class="alignleft size-medium wp-image-349" title="Rostock Full" src="http://www.meatandnetworking.com/wp-content/uploads/2013-01-05-16.37.39-e1358216402474-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>This is the start to my <a href="http://www.thingiverse.com/thing:17175">Rostock</a> 3D printer.  I started printing the parts for this way back in October, and I&#8217;ve just now gotten to the point where it&#8217;s starting to come together. Unfortunately, a <a href="http://reprap.org/wiki/Kossel">much better version</a> has come out in the mean time.  A couple of people have already come through LVL1 building the improved, extruded aluminum delta bot.  It was almost enough to make me start over and try again, but not this time!  I&#8217;ve tried to build three other printers in the past, but they never got further than printing some plastic parts.  This time, I&#8217;ve spent <a href="https://docs.google.com/spreadsheet/ccc?key=0AoV_icNlfqiAdE1zYmNHU1JEYnZHUi04ZS10Mjh3bmc">real money</a> on the project, so I&#8217;m going to forge ahead!</p>
<p>So far, I&#8217;ve run into two major setbacks.  The first: the printed arms an u-joints are really, really terrible. Threading an M3 bolt into the U-joint as instructed is painfully difficult, and the result isn&#8217;t particularly smooth motion.  I&#8217;m going to have to buy a set of <a href="http://www.tridprinting.com/Mechanical-Parts/#3D-Printer-Rod-Kit">real rods</a> before I can continue.  Second, the specced GT2 belting and pulleys were completely unavailable in the lengths I needed, so I had to switch to HTD 3M belting and pulleys.  It was expensive!  The company I bought the stuff through charged me $15 for shipping, on top of $35 for the belt.  Then I cut the belting wrong, so I have to buy even more!</p>
<p>I&#8217;ll be using a Printrboard Rev. D to drive the whole thing, unless it blows up in my face.  Then I&#8217;ll probably just buy a nice reliable RAMPs setup, or a fully assembled printrboard.  And then, I&#8217;ll be off to the races!</p>
<div id="attachment_350" class="wp-caption alignright" style="width: 310px"><a href="http://www.meatandnetworking.com/wp-content/uploads/2013-01-05-16.19.09.jpg"><img class="size-medium wp-image-350 " title="Wrong Belting" src="http://www.meatandnetworking.com/wp-content/uploads/2013-01-05-16.19.09-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">This is the wrong way to cut the belting. Instead, leave a long tail, loop it back on itself, and zip tie it together.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/projects/3d-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LPC1114FN28 with Open Source Tools</title>
		<link>http://www.meatandnetworking.com/tutorials/lpc1114fn28-with-open-source-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lpc1114fn28-with-open-source-tools</link>
		<comments>http://www.meatandnetworking.com/tutorials/lpc1114fn28-with-open-source-tools/#comments</comments>
		<pubDate>Sat, 08 Sep 2012 03:04:42 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cortex]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[lpc1114]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=334</guid>
		<description><![CDATA[I&#8217;ve been excited about the LPC1114FN28 for a while now (at least, as excited as one could be about a microcontroller).  The LPC1114FN28 is a microcontroller from NXP with an ARM Cortex-M0 core in a 28 pin DIP package. With 32k of flash and 4k of RAM, this chip isn&#8217;t the biggest or baddest on [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been excited about the <a href="http://www.nxp.com/products/microcontrollers/cortex_m0/lpc1100_x_l/LPC1114FN28.html">LPC1114FN28</a> for a while now (at least, as excited as one could be about a microcontroller).  The LPC1114FN28 is a microcontroller from NXP with an ARM Cortex-M0 core in a 28 pin DIP package. With 32k of flash and 4k of RAM, this chip isn&#8217;t the biggest or baddest on the block, but at <a href="http://avnetexpress.avnet.com/store/em/EMController/Microcontroller/NXP-Semiconductors/LPC1114FN28-102-12/_/R-5003286402656/A-5003286402656/An-0?action=part&amp;catalogId=500201&amp;langId=-1&amp;storeId=500201&amp;listIndex=-1&amp;page=1&amp;rank=1">$1.50 in small quantities</a>, it has just about every other uC beat in the performance-per-dollar arena.  It&#8217;s got the basic peripherals, SPI, Serial, ADC, and I2C.  It&#8217;s programmable via SWD or serial bootloader. Though I don&#8217;t use a breadboard too often any more, it&#8217;s great to have an easy-to-prototype ARM chip in my box.  Unfortunately, these chips are notoriously difficult to work with, especially with open source tools.</p>
<p><a title="ARM Cortex-Mx Quickstart" href="http://www.meatandnetworking.com/tutorials/arm-cortex-mx-quickstart/">A few posts ago</a>, I talked about getting an open-source ARM toolchain up and running.  With the correct linker scripts, this toolchain will work very well for this chip.  NXP has also seen fit to include an internal RC oscillator on-board, so the breadboard setup for this chip is surprisingly simple.  Here&#8217;s what I used:</p>
<p style="text-align: center;"><a href="http://www.meatandnetworking.com/wp-content/uploads/lpc1114breadboard.png"><img class="size-medium wp-image-335 aligncenter" title="LPC1114FN28 in a Breadboard" src="http://www.meatandnetworking.com/wp-content/uploads/lpc1114breadboard-300x123.png" alt="" width="300" height="123" /></a></p>
<p style="text-align: left;">I&#8217;ve got an LED for power, an LED hooked up to PIO1_8 (pin 17), a reset switch, and a pin header configured to work with an FTDI cable or an <a href="http://www.adafruit.com/products/284">FTDI friend</a> hooked up to the serial lines.  Most important is the resistor between ground and PIO0_1 (pin 24).  The value of this pin is sampled at reset, and if it is tied to ground, the chip enters the serial bootloader. Otherwise, it executes the loaded program.  This process can&#8217;t be done in software, so you have to connect this resistor when you want to load code, and disconnect the resistor when you want to run your program.  You could also use a pin on the FTDI friend for this, but you&#8217;d have to modify the ISP software.</p>
<p style="text-align: left;">As I said, I&#8217;m using the toolchain I configured <a title="ARM Cortex-Mx Quickstart" href="http://www.meatandnetworking.com/tutorials/arm-cortex-mx-quickstart/">earlier</a>.  I found some blinky test code for another chip in the LPC1114 family, and modified it to work with the LPC1114FN28.  The modified code can be found here: <a href="https://github.com/Zuph/lpc1114-blink">https://github.com/Zuph/lpc1114-blink</a></p>
<p style="text-align: left;">In order to get the code to work, I altered the linker script to reflect the amount of RAM on this particular chip, and changed the pin configuration for the LED pin.  I also had to change the clock source: this was the most difficult piece to chase down.  Unlike AVR chips, where the clock configuration is set by fuses, this ARM chip (and many others) force the user to configure clock sources manually. Originally, line 154 of main.c read:</p>
<p style="text-align: left;"><pre class="crayon-plain-tag">LPC_SYSCON-&gt;SYSPLLCLKSEL = SYSPLLCLKSEL_SEL_SYSOSC;</pre></p>
<p style="text-align: left;">This configured the chip to use an external oscillator.  Changing this to:</p>
<p style="text-align: left;"><pre class="crayon-plain-tag">LPC_SYSCON-&gt;SYSPLLCLKSEL = SYSPLLCLKSEL_SEL_IRC;</pre></p>
<p style="text-align: left;">resolved the problems.  Output code is now being generated properly, but getting it on the chip is a different problem entirely!  Reading the <a href="http://www.nxp.com/documents/user_manual/UM10398.pdf">manual</a> for the series makes the bootloader look like a fairly simple piece of work!  Auto-baud synchronization makes interfacing simple, and the commands are reasonably easy to understand.  There are a few programs which purport compatibility with the the LPC111x family, including <a href="https://code.google.com/p/vsprog/">VSProg</a> (from the <a href="http://www.versaloon.com/">Versaloon</a> folks), and a likely-abandoned projected called <a href="http://sourceforge.net/projects/lpc21isp/">lpc21isp</a>.  Neither of these programs, however, support the LPC1114FN28/102 variant.  VSProg looked to be the most promising (given its general purpose nature), but modifying the config files proved fruitless in adding support for the FN28 (if you can get it working, please let me know!).  lps21isp, however, worked well once the parameters for the chip were programmed in.  I&#8217;ve uploaded the code for my variant here: <a href="https://github.com/Zuph/lpc21isp">https://github.com/Zuph/lpc21isp</a></p>
<p style="text-align: left;">I had to change lpcprog.c, adding the following on line 116:</p>
<p style="text-align: left;"><pre class="crayon-plain-tag">{ 0x1A40902B, "1114FN.../102", 32, 4, 8, 1024, SectorTable_17xx, CHIP_VARIANT_LPC11XX },</pre></p>
<p style="text-align: left;">This adds the FN28 chip-id, along with the amount of RAM, flash, number of flash pages, and the maximum amount of data to transfer at once (the bootloader uses a two step process, writing code to RAM, then moving it to flash in order to reprogram the ship).  Once this is added, I was able to easily flash code to the chip, although I wasn&#8217;t able to do so at 9600 baud.  115200 baud works well.</p>
<p style="text-align: left;">In summary, wire up a breadboard as seen in the picture above, compile the blink code, flash it on to the chip using the lpc21isp program, remove the resistor on pin 24, reset the chip, and watch it blink!</p>
<p style="text-align: left;">Here are the exact commands I used:</p>
<p></p><pre class="crayon-plain-tag">brad@ThinkBrad:~/Dropbox/Dev/lpc1114_blink (master)$ make
Size of modules:
arm-none-eabi-size -B -t --common out/startup.o out/main.o out/vectors.o   
   text	   data	    bss	    dec	    hex	filename
    100	      0	      0	    100	     64	out/startup.o
    480	      0	      0	    480	    1e0	out/main.o
    200	      0	      0	    200	     c8	out/vectors.o
    780	      0	      0	    780	    30c	(TOTALS)

Size of target .elf file:
arm-none-eabi-size -B out/lpc1114_blink_led.elf
   text	   data	    bss	    dec	    hex	filename
    940	      0	   1024	   1964	    7ac	out/lpc1114_blink_led.elf

brad@ThinkBrad:~/Dropbox/Dev/lpc1114_blink (master)$ make
Size of modules:
arm-none-eabi-size -B -t --common out/startup.o out/main.o out/vectors.o   
   text	   data	    bss	    dec	    hex	filename
    100	      0	      0	    100	     64	out/startup.o
    480	      0	      0	    480	    1e0	out/main.o
    200	      0	      0	    200	     c8	out/vectors.o
    780	      0	      0	    780	    30c	(TOTALS)

Size of target .elf file:
arm-none-eabi-size -B out/lpc1114_blink_led.elf
   text	   data	    bss	    dec	    hex	filename
    940	      0	   1024	   1964	    7ac	out/lpc1114_blink_led.elf

brad@ThinkBrad:~/Dropbox/Dev/lpc1114_blink (master)$ ../lpc21isp/lpc21isp.out out/lpc1114_blink_led.hex /dev/ttyUSB0 115200 12000
lpc21isp version 1.83
File out/lpc1114_blink_led.hex:
	loaded...
Start Address = 0x000000C1
	converted to binary format...
	image size : 940
Image size : 940
Synchronizing (ESC to abort). OK
Read bootcode version: 1
7
Read part ID: LPC1114FN.../102, 32 kiB ROM / 4 kiB SRAM (0x1A40902B)
Will start programming at Sector 1 if possible, and conclude with Sector 0 to ensure that checksum is written last.
Erasing sector 0 first, to invalidate checksum. OK 
Sector 0: ..........................
Download Finished... taking 0 seconds
Now launching the brand new code
brad@ThinkBrad:~/Dropbox/Dev/lpc1114_blink (master)$</pre><p>Possible caveats: The chip will only attempt to enter the bootloader once.  If autobaud has been attempted and failed, you&#8217;ll need to reset your chip to attempt it again.  Also, in the programming command, we give it the speed (in kHz) of the RC oscillator, since that&#8217;s the oscillator that the bootloader will be using.</p>
<p>Let me know if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/tutorials/lpc1114fn28-with-open-source-tools/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Where are the 3D Printable Games?</title>
		<link>http://www.meatandnetworking.com/uncategorized/where-are-the-3d-printable-games/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=where-are-the-3d-printable-games</link>
		<comments>http://www.meatandnetworking.com/uncategorized/where-are-the-3d-printable-games/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 20:41:53 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3d printers]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=329</guid>
		<description><![CDATA[This year, I had the good fortune to visit GenCon after a 2 year hiatus. Not much has changed, although I was surprised at the number of KickStarted projects on the show floor.  There were a lot of really interesting independently funded games, including a few print-and-play games.  Print-and-play has been around forever, but with the [...]]]></description>
				<content:encoded><![CDATA[<p>This year, I had the good fortune to visit <a href="http://gencon.com/">GenCon</a> after a 2 year hiatus. Not much has changed, although I was surprised at the number of <a href="http://www.kickstarter.com/">KickStarted</a> projects on the show floor.  There were a lot of really interesting independently funded games, including a few print-and-play games.  Print-and-play has been around forever, but with the advent of the MakerBot, and the rising popularity of 3D printing, both at home and <a href="http://www.ponoko.com/">for contract</a>, I am surprised at the lack of 3D-print-and-play games.</p>
<div class="wp-caption alignright" style="width: 394px"><a href="http://thingiverse-production.s3.amazonaws.com/renders/b1/c9/a8/29/db/100_2394_display_medium.jpg"><img class="  " title="Pocket Tactics" src="http://thingiverse-production.s3.amazonaws.com/renders/b1/c9/a8/29/db/100_2394_display_medium.jpg" alt="" width="384" height="266" /></a><p class="wp-caption-text">Pocket Tactics</p></div>
<p>Maybe I&#8217;m biased, since I have nearly unfettered access to a 3D printer through the <a href="http://lvl1.org">LVL1 hackerspace</a>, but I strongly believe that this technology is our future.  In ten years, I truly think that everyone reading this article will have trivially easy access to a 3D printer, if they do not already have this access.  It astounds me that gamers haven&#8217;t adopted this technology in droves.  The maker crowd and the gamer crowd have a huge amount of overlap, so what gives?  Why aren&#8217;t there more 3D printable games?</p>
<p>Sure, there are a few examples of printable games on <a href="http://www.thingiverse.com/">thingiverse</a>, but most of these are <a href="http://www.thingiverse.com/thing:23721">clones</a> of other <a href="http://www.thingiverse.com/thing:11560">games</a>.  Not only is this a <a href="http://blog.makezine.com/2011/11/30/sweet-fdmfff-3d-printed-wargaming-minis/">legal</a> and moral gray area (at best), but it&#8217;s boring and unimaginative.  <a href="http://www.thingiverse.com/thing:27257">Pocket Tactics</a> is the best example of a printable game that I can find, and it&#8217;s a game in its infancy, at best (but serious props to these guys!).  There just aren&#8217;t a lot of 3D printable games.  Why?  The technology seems like a perfect match for the gaming community!  Everybody loves to invent and modify and tweak rules systems, and printable games make it simple to create your own game universe without relying on game pieces stolen from other games, or figuring out how to do injection molding in your garage.  The world of indy game publishing should be eating this up, since a small team can rapidly iterate on a game design, complete with unique tokens and artwork.  Wargamers especially should rejoice!  The huge barrier to entry for games like 40k is the cost of outfitting an army, and 3D printed parts are pennies on the dollar compared to ordinary wargaming miniatures.  A 3D printed wargame should be a no-brainer.</p>
<div id="attachment_330" class="wp-caption alignleft" style="width: 310px"><a href="http://www.meatandnetworking.com/wp-content/uploads/curiousity.jpg"><img class="size-medium wp-image-330" title="3D printed example" src="http://www.meatandnetworking.com/wp-content/uploads/curiousity-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">An Easy 3d Print</p></div>
<p>There are event successful business models that a prospective game maker could take advantage of.  There are already indy tabletop games releasing game guides and modules as for-profit eBooks.  3D printed games could use the same model, selling the rules and models in digitally distributed packages.  A game designer could give away the rules, and sell the models, or sell the rules and give away the models.  This sort of distribution makes it possible to give away a starter set of models, along with the rules in order to get people hooked.  Game designers could even adopt a &#8220;value-added&#8221; model, bootstrapping with 3D printed game parts, and selling nicer injection-molded parts later.</p>
<p>So, why aren&#8217;t there many 3D-print-and-play games?  Any ideas? I, for one, would very quickly purchase any compelling 3D printable game that came across my desk, as long as it wasn&#8217;t a clone of something else.  In fact, I&#8217;m printing out pocket tactics right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/uncategorized/where-are-the-3d-printable-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mind Over Melon!</title>
		<link>http://www.meatandnetworking.com/uncategorized/mind-over-melon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mind-over-melon</link>
		<comments>http://www.meatandnetworking.com/uncategorized/mind-over-melon/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 23:20:22 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.meatandnetworking.com/?p=325</guid>
		<description><![CDATA[Chris and I finally finished Mind Over Melon! For anyone who hasn&#8217;t heard us talk about this, this is a device that allows the user to explode watermelons with his/her mind!  We took it out to Bernheim Forest for Bernheim CONNECT, and let 40 people blow up 40 melons.  It was immensely popular!  Special thanks [...]]]></description>
				<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.meatandnetworking.com/wp-content/uploads/mindovermelon.jpg"><img class="aligncenter  wp-image-326" title="Mind Over Melon" src="http://www.meatandnetworking.com/wp-content/uploads/mindovermelon.jpg" alt="" width="491" height="344" /></a></p>
<p>Chris and I finally finished Mind Over Melon! For anyone who hasn&#8217;t heard us talk about this, this is a device that allows the user to explode watermelons with his/her mind!  We took it out to Bernheim Forest for <a href="http://www.bernheim.org/connect.html">Bernheim CONNECT</a>, and let 40 people blow up 40 melons.  It was immensely popular!  Special thanks to Bernheim for fronting the cost of the melons.  40 melons is a whole lot to fit in the back of a small hatchback!</p>
<p style="text-align: center;"><a href="http://www.meatandnetworking.com/wp-content/uploads/melonsincar.jpg"><img class="aligncenter  wp-image-327" title="Melons in Car" src="http://www.meatandnetworking.com/wp-content/uploads/melonsincar.jpg" alt="" width="512" height="384" /></a></p>
<p style="text-align: left;">I finished up the base station hardware at the very last minute, and Chris managed to get the thing on TV: http://www.whas11.com/great-day-live/video/Connect-Festival-at-Bernheim&#8211;167188425.html</p>
<p style="text-align: left;">We&#8217;ve posted <a href="http://wiki.lvl1.org/Mind_Over_Melon">some instructions</a> on the LVL1 wiki.  The instructions are rudimentary, but I&#8217;m happy to answer any questions if you want to build your own melon popping device.  In version 2, the melon will fight back!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meatandnetworking.com/uncategorized/mind-over-melon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
