<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>gamaral - Software Engineer</title>
	
	<link>http://guillermoamaral.com</link>
	<description>Blessed is he who expects nothing, for he shall never be disappointed.</description>
	<lastBuildDate>Sun, 14 Apr 2013 21:38:15 +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>
		<feedburner:info uri="gamaral" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://guillermoamaral.com/feed" /><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Fguillermoamaral.com%2Ffeed" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:browserFriendly>Software Desperado</feedburner:browserFriendly><item>
		<title>Raspberry Pi Buildroot – 3.8.6 Kernel Branch</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/ajVYY8PR7Og/</link>
		<comments>http://guillermoamaral.com/read/rpi-buildroot-3-8/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 21:38:15 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=692</guid>
		<description><![CDATA[I&#8217;ve added a new branch to rpi-buildroot. The 3.8 branch uses the new 3.8.6 Linux kernel provided by the Raspberry Pi Foundation. This distro is based on Buildroot, that means it very flexible and well suited for numerous customized embedded... <a href="http://guillermoamaral.com/read/rpi-buildroot-3-8/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve added a new branch to <a href="https://github.com/gamaral/rpi-buildroot/tree/rpi-3.8">rpi-buildroot</a>. The <strong>3.8</strong> branch uses the new <a href="https://github.com/raspberrypi/linux/tree/rpi-3.8.y">3.8.6 Linux kernel provided by the Raspberry Pi Foundation</a>.</p>
<p>This distro is based on <a href="http://buildroot.uclibc.org/">Buildroot</a>, that means it very flexible and well suited for numerous customized embedded linux applications. Makers will find it extremely useful since it can be used to create powerful custom deployments &#8211; Want to control a robot using a Raspberry Pi? then this is the distro for you &#8211; Please keep in mind that the default configuration builds a system with nothing more than the bare essentials.</p>
<p>Please checkout the <a href="https://github.com/gamaral/rpi-buildroot/blob/rpi/README.md">README file</a> for more information.</p>
<p>You may download the <strong>test-drive</strong> SD-card image here: <a href="http://dl.guillermoamaral.com/rpi/sdcard-3.8.img.xz">http://dl.guillermoamaral.com/rpi/sdcard-3.8.img.xz</a> <strong>(user root &#8211; no password)</strong></p>
<h3>How to build it yourself!</h3>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; git clone --depth 1 -b rpi-3.8 git://github.com/gamaral/rpi-buildroot.git<br />
&nbsp; cd rpi-buildroot<br />
&nbsp; make raspberrypi_defconfig<br />
&nbsp; make</div></td></tr></tbody></table></div>
<h3>How to flash</h3>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; wget http://dl.guillermoamaral.com/rpi/sdcard-3.8.img.xz<br />
&nbsp; xz -d sdcard-3.8.img.xz<br />
&nbsp; sudo dd if=sdcard-3.8.img of=/dev/**YOUR-DEV-NODE**</div></td></tr></tbody></table></div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=ajVYY8PR7Og:JmuYrInwuSk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=ajVYY8PR7Og:JmuYrInwuSk:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=ajVYY8PR7Og:JmuYrInwuSk:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/ajVYY8PR7Og" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/rpi-buildroot-3-8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/rpi-buildroot-3-8/</feedburner:origLink></item>
		<item>
		<title>Gameinis VIDEOGAMES 2 Taredown</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/noSJcOilXms/</link>
		<comments>http://guillermoamaral.com/read/videogames2-taredown/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 04:04:09 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[taredown]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=636</guid>
		<description><![CDATA[I found this little console while lounging around a Walmart as I waited for a movie to start at the cinema. I should point out it was a Mexican Walmart, I&#8217;m not sure if the US ones would/could actually carry... <a href="http://guillermoamaral.com/read/videogames2-taredown/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I found <a href="http://www.gameinis.com/console/console4.html">this little console</a> while lounging around a Walmart as I waited for a movie to start at the cinema. I should point out it was a Mexican Walmart, I&#8217;m not sure if the US ones <strong>would/could</strong> actually carry this little device since it has plenty of <em>probably</em> unlicensed ROMs lurking inside it&#8217;s crappy interior. Priced at 10 USD (120 MXN) who could resist!</p>
<p>After purchasing it, kids kept walking up to me and asked about the console, clearly excited about all the old-school games inside. They where aware it was not a PS3 or an XBOX 360, they didn&#8217;t care, it was true 8-bit love. I have to admit, that made me very happy.</p>
<h1>Taredown</h1>
<p>I started by removing the easily accessible screws underneath the console.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2466.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2466-300x200.jpg" alt="IMG_2466" width="300" height="200" class="aligncenter size-medium wp-image-639" /></a></p>
<p>Exposing what I pretty much expected, an extremely simple system held together with hot glue.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2467.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2467-300x200.jpg" alt="IMG_2467" width="300" height="200" class="aligncenter size-medium wp-image-642" /></a></p>
<p>From this angle you can tell that the two single sided boards on each end are just breakout boards for the different connectors required by the system; with the exception of the L7805CV regulator and it&#8217;s accompanying decoupling capacitors.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2468.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2468-300x200.jpg" alt="IMG_2468" width="300" height="200" class="aligncenter size-medium wp-image-643" /></a></p>
<p>The boards seem to have been screen printed, the traces also look a little oddly shaped. If you look closely, you can still see quite a lot of flux residue, dirty.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2469.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2469-300x200.jpg" alt="IMG_2469" width="300" height="200" class="aligncenter size-medium wp-image-649" /></a></p>
<p>The other board doesn&#8217;t look any better sadly. Also, they went and soldered all the TH components and jumpers on the bottom side. Not really sure why&#8230;</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2473.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2473-300x200.jpg" alt="IMG_2473" width="300" height="200" class="aligncenter size-medium wp-image-646" /></a></p>
<p>The top side of the <strong>main</strong> board looks pretty much as you would expect, one big cartridge slot, what looks like a 21 Mhz crystal oscillator and a few capacitors.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2470.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2470-300x200.jpg" alt="IMG_2470" width="300" height="200" class="aligncenter size-medium wp-image-648" /></a></p>
<p>The real action is on the bottom. It looks to be some sort of <strong>chip-on-board</strong> design, this little guy in the middle is why I took so long to post this tare down; I wanted to maybe try to dissolve the epoxy but I kept getting distracted by work. In the end I decided against it, since I don&#8217;t have a powerful enough microscope for it to really be worth busting out the acid.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2472.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2472-300x200.jpg" alt="IMG_2472" width="300" height="200" class="aligncenter size-medium wp-image-647" /></a></p>
<h1>Bonus</h1>
<p>The cartridge seems to be another breakout-like board for what looks to be a NAND flash. I&#8217;m going to try to get some data off the flash memory, I&#8217;ll post and update when and if I&#8217;m successful. :)</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2476.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2476-300x200.jpg" alt="IMG_2476" width="300" height="200" class="aligncenter size-medium wp-image-645" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2477.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/03/IMG_2477-300x200.jpg" alt="IMG_2477" width="300" height="200" class="aligncenter size-medium wp-image-644" /></a></p>
<h1>What now?</h1>
<p>I&#8217;m going to put it back together and give it away to the first kid to walk up to me at the mall next week. :)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=noSJcOilXms:UtDdpiOffMk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=noSJcOilXms:UtDdpiOffMk:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=noSJcOilXms:UtDdpiOffMk:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/noSJcOilXms" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/videogames2-taredown/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/videogames2-taredown/</feedburner:origLink></item>
		<item>
		<title>Marshmallow at SCaLE 11x</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/VKlKPHe2puk/</link>
		<comments>http://guillermoamaral.com/read/marshmallow-at-scale-11x/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 21:38:17 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[scale11x]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=590</guid>
		<description><![CDATA[I&#8217;m back from another great Southern California Linux Expo, I&#8217;m quite happy with the turnout to both the Marshmallow booth and my talk. I got tons of positive feedback, beer, magic shows and game ideas; one of my favorites involved... <a href="http://guillermoamaral.com/read/marshmallow-at-scale-11x/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m back from another great <a href="http://www.socallinuxexpo.org/" title="Southern California Linux Expo">Southern California Linux Expo</a>, I&#8217;m quite happy with the turnout to both the <a href="http://marshmallow.me/" title="Marshmallow Project">Marshmallow</a> booth and <a href="http://www.socallinuxexpo.org/scale11x/presentations/open-source-retro-video-game-console" title="Open-Source Retro Video Game Console">my talk</a>. I got tons of positive feedback, beer, magic shows and game ideas; one of my favorites involved hunting down Bill Gates with drones (a reverse Duck Hunt if you will).</p>
<p><a href="http://www.socallinuxexpo.org/"><img src="http://guillermoamaral.com/wp-content/uploads/2013/02/8966j5e_20-294x300.jpeg" alt="SCaLE 11x" width="294" height="300" class="aligncenter size-medium wp-image-595" /></a></p>
<p>I had some schwag for the event, this included t-shirts, bookmarks, stickers, buttons and random booth paraphernalia. Most of which was gone by Sunday morning due to a herd of middle-schoolers that swamped the booth on Saturday.</p>
<p><img src="http://guillermoamaral.com/wp-content/uploads/2013/02/718A7FA6-CCCE-4EDF-BA71-EBDE4936BFA6-300x225.jpg" alt="718A7FA6-CCCE-4EDF-BA71-EBDE4936BFA6" width="300" height="225" class="aligncenter size-medium wp-image-616" /></p>
<p>People kept trying to buy the booth Marshmallows off me, I guess I will have to make some extra ones for next year. :)</p>
<h1>Talk</h1>
<p>I was surprised to see that the room was packed when I walked in about 10 minutes prior to show time. It went well considering I lost my voice earlier that week. My throat was killing me since I had to go mic-less due to some &#8220;technological differences&#8221; (Idiocracy, 2006), I was worried it was going to start bleeding, luckily it didn&#8217;t.</p>
<p>If you&#8217;re interested in trying out the demo used during my talk, it&#8217;s available in both <a href="http://downloads.marshmallow.me/scale11x/marshmallow_demo_x86.tar.bz2" title="Marshmallow Demo 32bit">32-bit</a> or <a href="http://downloads.marshmallow.me/scale11x/marshmallow_demo_x86_64.tar.bz2" title="Marshmallow Demo 64bit">64-bit</a> versions of Linux. Simply extract and execute the <em>&#8220;run&#8221;</em> script found inside the resulting <em>marshmallow_demo</em> directory.</p>
<p><em>The demo requires a recent version of the Linux kernel along with a working OpenGL setup.</em></p>
<h1>Thank You</h1>
<p>I&#8217;d like to thank the SCaLE organizers for their support and I hope we get invited back next year. I&#8217;ll leave you with a quote from an email I got soon after arriving home.</p>
<blockquote><p>
Yours was my favorite booth at SCALE; low budget, and I got to learn<br />
about something I hadn&#8217;t heard of before.  Keep up the good work on the<br />
project!</p>
<p>-Jim Garrison
</p></blockquote>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=VKlKPHe2puk:33qHrguoZyA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=VKlKPHe2puk:33qHrguoZyA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=VKlKPHe2puk:33qHrguoZyA:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/VKlKPHe2puk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/marshmallow-at-scale-11x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/marshmallow-at-scale-11x/</feedburner:origLink></item>
		<item>
		<title>Custom NES Controller</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/VwaddisGOs4/</link>
		<comments>http://guillermoamaral.com/read/custom-nes-controller/#comments</comments>
		<pubDate>Wed, 09 Jan 2013 20:03:17 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[nes]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=543</guid>
		<description><![CDATA[Mission I recently found myself with a surplus of Adafruit Industries components, I decided to put a few of them to good use by making a custom NES controller. Objectives Use a thru-hole 5-way navigation switch. Use some square tactile... <a href="http://guillermoamaral.com/read/custom-nes-controller/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<h1>Mission</h1>
<p>I recently found myself with a surplus of <a href="http://www.adafruit.com/">Adafruit Industries</a> components, I decided to put a few of them to good use by making a custom NES controller.</p>
<h1>Objectives</h1>
<ul>
<li>Use a <a href="http://www.adafruit.com/products/504">thru-hole 5-way navigation switch</a>.</li>
<li>Use some <a href="http://www.adafruit.com/products/1010">square tactile buttons</a>.</li>
<li>Create a custom <a href="https://github.com/gamaral/eagle">Eagle device for the navigation switch</a>.</li>
<li>Use a strip of SMD 0603 10k resistors.</li>
<li>Use a single-sided 65&#215;65 MM square board (since I have a bunch of them).</li>
</ul>
<h1>Design</h1>
<p>The design is fairly simple, the only difference between it and a standard controller would be the use of the Center pin on the navigation switch as the Select button.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2013/01/diagram.png"><img src="http://guillermoamaral.com/wp-content/uploads/2013/01/diagram-300x132.png" alt="NES Controller Diagram" width="300" height="132" class="aligncenter size-medium wp-image-544" /></a><br />
</center></p>
<h1> PCB</h1>
<p>I had to resort to using quite a lot of jumper wires since the board is pretty small, it should also work fine on a double sided board (just not very efficiently).</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2013/01/board.png"><img src="http://guillermoamaral.com/wp-content/uploads/2013/01/board-300x300.png" alt="NES Controller PCB" width="300" height="300" class="aligncenter size-medium wp-image-545" /></a><br />
Replace the bottom layer (blue lines) with jumper wire.<br />
</center></p>
<h1>Results</h1>
<p>The controller works great! Though it could use some routing to make it more comfortable.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2458.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2458-300x200.jpg" alt="Front" width="300" height="200" class="aligncenter size-medium wp-image-559" /></a><br />
Back &#8211; Start Button<br />
</center></p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2457.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2457-300x200.jpg" alt="Back" width="300" height="200" class="aligncenter size-medium wp-image-560" /></a><br />
Front<br />
</center></p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2459.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2013/01/IMG_2459-300x200.jpg" alt="In Action" width="300" height="200" class="aligncenter size-medium wp-image-558" /></a><br />
Use<br />
</center></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=VwaddisGOs4:6GtCSlooOXo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=VwaddisGOs4:6GtCSlooOXo:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=VwaddisGOs4:6GtCSlooOXo:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/VwaddisGOs4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/custom-nes-controller/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/custom-nes-controller/</feedburner:origLink></item>
		<item>
		<title>Raspberry Pi Buildroot update!</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/Fkoafb4H0vs/</link>
		<comments>http://guillermoamaral.com/read/rpi-buildroot/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 22:10:51 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=525</guid>
		<description><![CDATA[RPI-Buildroot My custom Raspberry Pi distro is now sporting an up-to-date userland along side a 3.6.10 kernel and a few more tweaks (including that colorful /etc/issue you see above). This distro is based on Buildroot, that means it very flexible... <a href="http://guillermoamaral.com/read/rpi-buildroot/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<h2>RPI-Buildroot</h2>
<p><a href="https://github.com/gamaral/rpi-buildroot">My custom Raspberry Pi distro</a> is now sporting an <strong>up-to-date</strong> <a href="https://github.com/raspberrypi/userland">userland</a> along side a  <a href="https://github.com/raspberrypi/linux">3.6.10 kernel</a> and a few more tweaks (including that colorful <strong>/etc/issue</strong> you see above).</p>
<p>This distro is based on <a href="http://buildroot.uclibc.org/">Buildroot</a>, that means it very flexible and well suited for numerous customized embedded linux applications. Makers will find it extremely useful since it can be used to create powerful custom deployments &#8211; Want to control a robot using a Raspberry Pi? then this is the distro for you &#8211; Please keep in mind that the default configuration builds a system with nothing more than the bare essentials.</p>
<p>Please checkout the <a href="https://github.com/gamaral/rpi-buildroot/blob/rpi/README.md">README file</a> for more information.</p>
<p>You may download the test-drive image here: <a href="http://dl.guillermoamaral.com/rpi/sdcard.img.xz">http://dl.guillermoamaral.com/rpi/sdcard.img.xz</a> <strong>(user root &#8211; no password)</strong></p>
<h3>How to flash</h3>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;">
<div>1<br />2<br />3</div>
</td>
<td>
<div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget http://dl.guillermoamaral.com/rpi/sdcard.img.xz<br />
xz -d sdcard.img.xz<br />
sudo dd if=sdcard.img of=/dev/**YOUR-DEV-NODE**</div>
</td>
</tr>
</tbody>
</table>
</div>
<h2>MES</h2>
<p><a href="http://guillermoamaral.com/read/mes">Marshmallow Entertainment System</a> demo image was also updated, now with <em>(buggy)</em> ALSA support!</p>
<p>Raspberry Pi ALSA leaves a lot to be desired, so don&#8217;t expect too much. :)</p>
<p>You may download the platformer demo image here: <a href="http://downloads.marshmallow.me/sdcard.img.xz">http://downloads.marshmallow.me/sdcard.img.xz</a></p>
<h3>How to flash</h3>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;">
<div>1<br />2<br />3</div>
</td>
<td>
<div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget http://downloads.marshmallow.me/sdcard.img.xz<br />
xz -d sdcard.img.xz<br />
sudo dd if=sdcard.img of=/dev/**YOUR-DEV-NODE**</div>
</td>
</tr>
</tbody>
</table>
</div>
<h2>Thanks</h2>
<p>I would like to thanks you all your great emails, the support is much appreciated!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=Fkoafb4H0vs:-SJOWNpmlOY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=Fkoafb4H0vs:-SJOWNpmlOY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=Fkoafb4H0vs:-SJOWNpmlOY:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/Fkoafb4H0vs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/rpi-buildroot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/rpi-buildroot/</feedburner:origLink></item>
		<item>
		<title>Cleaning NES 72-pin connector</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/aglVu0cHRP8/</link>
		<comments>http://guillermoamaral.com/read/clean-nes-72/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 09:58:01 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[nes]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=467</guid>
		<description><![CDATA[Introduction I was planning on replacing the 72-pin connector in an NES, since my NES has been doing the red square of death tango for a while now, but after busting it open I found that the contacts where in... <a href="http://guillermoamaral.com/read/clean-nes-72/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<h1>Introduction</h1>
<p>I was planning on replacing the 72-pin connector in an NES, since my NES has been doing the red square of death tango for a while now, but after busting it open I found that the contacts where in good condition, so I opted to give them a good cleaning.</p>
<p>But first, some legalese. The content in this post is informational and in no event shall I be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including but not limited to loss of use, data or profits; or business interruption) however caused and on any theory of liability, strict liability or tort (including negligence or otherwise) arising in anyway out of the use of this information, even if advised of the possibly of such damages.</p>
<h1>Cleaning</h1>
<p><center></p>
<p><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/red-square-of-death.gif" alt="" title="red-square-of-death" width="300" height="169" class="aligncenter size-full wp-image-478" /></p>
<p>Start by <strong>unplugging</strong> your NES, then remove the top cover.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120002.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120002-300x168.jpg" alt="" title="NES slot cover" width="300" height="168" class="aligncenter size-medium wp-image-468" /></a></p>
<p>After you remove the shielding covering the cartridge slot, you will see the 72-pin connector <strong>mocking</strong> you.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120003.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120003-300x168.jpg" alt="" title="NES slot uncovered" width="300" height="168" class="aligncenter size-medium wp-image-469" /></a></p>
<p>Get a small brush and plenty of alcohol.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120004.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120004-300x168.jpg" alt="" title="Cleaning Supplies" width="300" height="168" class="aligncenter size-medium wp-image-477" /></a></p>
<p>Soak the brush bristles, they have to be almost dripping.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120005.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120005-300x168.jpg" alt="" title="Wet Brush" width="300" height="168" class="aligncenter size-medium wp-image-489" /></a></p>
<p>Get any disposable game from your collection (In my case, that was <em>&#8220;Defender of the Crown&#8221;</em> by ULTRA) and clean it&#8217;s contacts with the brush, once you are certain they are clean, soak then with the brush, <strong>don&#8217;t dry them afterwards</strong>.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120006.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120006-300x168.jpg" alt="" title="Wet Cartridge" width="300" height="168" class="aligncenter size-medium wp-image-491" /></a></p>
<p>Brush and soak the 72-pin connector, <strong>get ready to insert the cartridge from before</strong>.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120007.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120007-300x168.jpg" alt="" title="Soak 72-pin Connector" width="300" height="168" class="aligncenter size-medium wp-image-496" /></a></p>
<p>Slide the cartridge <strong>in and out then giggle it around a little</strong> while pressing down on the connector end (<em>yes, I know how that sounded</em>).</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120010.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120010-300x168.jpg" alt="" title="Pressing Down on Cartridge" width="300" height="168" class="aligncenter size-medium wp-image-498" /></a></p>
<p>Slide out the cartridge and <strong>clean it&#8217;s contacts thoroughly</strong>, then repeat the last 5 steps util you&#8217;re satisfied. Once you&#8217;re done, dry the cartridge contacts and leave it standing to make sure any stray alcohol finds it&#8217;s way out of it.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120011.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120011-300x168.jpg" alt="" title="Take Out Cartridge" width="300" height="168" class="aligncenter size-medium wp-image-500" /></a></p>
<p>After letting the 72-pin connector dry, test out the NES, the usual pressing of the RESET button after powering on may still apply, but you should have a working system. Finally cover it up and get a <strong>beer from the fridge</strong>.</p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/12/12120017.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/12/12120017-300x168.jpg" alt="" title="Success!" width="300" height="168" class="aligncenter size-medium wp-image-509" /></a><br />
</center></p>
<h1>Bonus</h1>
<p>If you have some thin cleaning wipes, you can stick one between the cartridge and the NES connector, it really helps with stuck on dirt.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=aglVu0cHRP8:1xM_wF9Ay9k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=aglVu0cHRP8:1xM_wF9Ay9k:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=aglVu0cHRP8:1xM_wF9Ay9k:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/aglVu0cHRP8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/clean-nes-72/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/clean-nes-72/</feedburner:origLink></item>
		<item>
		<title>MakeyMakey NES Controller Shield</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/SZkhWctZJaY/</link>
		<comments>http://guillermoamaral.com/read/makeymakey-nes-controller-shield/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 10:45:31 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[gamaral]]></category>
		<category><![CDATA[makeymakey]]></category>
		<category><![CDATA[nes]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=415</guid>
		<description><![CDATA[Idea Today I decided to do something fun, I went to my local flea market for inspiration and found it! It came in the form of a dead but in good-condition NES controller. After closer inspection, the problem was a... <a href="http://guillermoamaral.com/read/makeymakey-nes-controller-shield/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<h1>Idea</h1>
<p>Today I decided to do something fun, I went to my local flea market for inspiration and found it! It came in the form of a dead but in good-condition NES controller. After closer inspection, the problem was a dead 4021 p2s IC.</p>
<p>I was about to convert it to a TV controller when I remembered it was <a href="http://makeymakey.com">MakeyMakey</a> Monday!</p>
<h1>Resurrection</h1>
<p>I started by cleaning the device and figuring out how I was gonna go about wiring the buttons to the MakeyMakey. I then got a few of my <a href="https://www.adafruit.com/products/400">Adafruit Extra-long break-away headers</a> and an old red pen (I needed the ink, you will see why in a moment).</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110021.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110021-300x168.jpg" alt="" title="Taredown" width="300" height="168" class="aligncenter size-medium wp-image-436" /></a><br />
</center></p>
<p>I inked the top of the headers with the red pen&#8217;s ink and then placed the NES Controller back on-top of the headers; This gave me a clear idea of there I should drill.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110026.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110026-300x168.jpg" alt="" title="Header Inking" width="300" height="168" class="aligncenter size-medium wp-image-435" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110027.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110027-300x168.jpg" alt="" title="Inking" width="300" height="168" class="aligncenter size-medium wp-image-434" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110029.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110029-300x168.jpg" alt="" title="12110029" width="300" height="168" class="aligncenter size-medium wp-image-433" /></a><br />
</center></p>
<p>I got my trusty hand drill and fitted the headers to the back of the NES Controller. Afterwards, I testing the header locations to make sure the MakeyMakey fit correctly. It did!</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110031.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110031-300x168.jpg" alt="" title="Drilling" width="300" height="168" class="aligncenter size-medium wp-image-431" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110034.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110034-300x168.jpg" alt="" title="Test headers" width="300" height="168" class="aligncenter size-medium wp-image-428" /></a><br />
</center></p>
<p>My attention them moved over to the PCB, I cut the wires for the controller cable and desoldered the whole thing, IC and all.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110035.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110035-300x168.jpg" alt="" title="Pre-Desolder" width="300" height="168" class="aligncenter size-medium wp-image-427" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110037.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110037-300x168.jpg" alt="" title="Desoldered" width="300" height="168" class="aligncenter size-medium wp-image-426" /></a><br />
</center></p>
<p>I then soldered a few wires from the headers to the controller PCB.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110039.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110039-300x168.jpg" alt="" title="Wire headers" width="300" height="168" class="aligncenter size-medium wp-image-425" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110040.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110040-300x168.jpg" alt="" title="12110040" width="300" height="168" class="aligncenter size-medium wp-image-424" /></a><br />
</center></p>
<p>And finally cut the pull-up resistor traces; this step is extremely important! Failing to cut them will result in all buttons getting triggered.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110041.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110041-300x168.jpg" alt="" title="Cutting traces" width="300" height="168" class="aligncenter size-medium wp-image-423" /></a><br />
</center></p>
<p>I then cleaned up and closed the controller making sure I didn&#8217;t bend any of the internal wires.</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110042.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110042-300x168.jpg" alt="" title="12110042" width="300" height="168" class="aligncenter size-medium wp-image-422" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/11/IMG_2432.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/IMG_2432-300x200.jpg" alt="" title="IMG_2432" width="300" height="200" class="aligncenter size-medium wp-image-419" /></a><br />
</center></p>
<p>Tested it by playing some <strong>minecraft</strong>.</p>
<h1>Mapping</h1>
<p>Up Arrow = W<br />
Left Arrow = A<br />
Down Arrow = S<br />
Right Arrow = D</p>
<p>Select = F<br />
Start = G</p>
<p>B = RIGHT CLICK<br />
A = LEFT CLICK</p>
<h1>Video</h1>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/esLfn5qHh38?rel=0" frameborder="0" allowfullscreen></iframe></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=SZkhWctZJaY:xbUGCoxNM6g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=SZkhWctZJaY:xbUGCoxNM6g:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=SZkhWctZJaY:xbUGCoxNM6g:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/SZkhWctZJaY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/makeymakey-nes-controller-shield/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/makeymakey-nes-controller-shield/</feedburner:origLink></item>
		<item>
		<title>Marshmallow Entertainment System</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/1KNd8m3JRbs/</link>
		<comments>http://guillermoamaral.com/read/mes/#comments</comments>
		<pubDate>Mon, 12 Nov 2012 06:58:37 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=347</guid>
		<description><![CDATA[Back when I was a kid, I decided I wanted to make my own game console. Granted I also wanted to be an astronaut and the first man on Mars, but I had to draw the line somewhere. Marshmallow Game... <a href="http://guillermoamaral.com/read/mes/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Back when I was a kid, I decided I wanted to make my own game console. Granted I also wanted to be an astronaut and the first man on Mars, but I had to draw the line somewhere.</p>
<p><a href="http://marshmallow.me/" title="Marshmallow Game Engine">Marshmallow Game Engine</a> started as a way for me to keep my cross-platform game engine chops up during my spare time (not that I have that much spare time mind you). But with the advent of both powerful and affordable hardware like the <a href="http://raspberrypi.org/" title="RaspberryPi - An ARM GNU/Linux box for $25. Take a byte!">Raspberry Pi</a>, I started looking into creating my own game console again, and I have to admit, I&#8217;m very excited.</p>
<p><span id="more-347"></span></p>
<h1>MES</h1>
<p>Thanks to the wonderful <a href="http://raspberrypi.org/" title="RaspberryPi - An ARM GNU/Linux box for $25. Take a byte!">Raspberry Pi</a>, I&#8217;m finally able to create an affordable <strong>DIY console kit</strong> for my game engine.</p>
<p>The following are some common components in game consoles, I&#8217;ll go through the list so you can get an idea of how the end product will work.</p>
<h2>Controllers &amp; Ports</h2>
<p>Luckily the RPI has a couple of built in USB ports. A simple USB port hub or something like the <a href="http://www.mayflash.com/?Products/NINTENDOWiiGC/PC045.html">Mayflash Wii classic controller pro to PC</a> which can handle two controllers per USB slot can be used to add more ports when needed.</p>
<p>Not all USB controllers will be supported, but I will target the most common ones in the beginning, user submitted mappings will soon follow.</p>
<h2>Reliable power cycle</h2>
<p>Since we can&#8217;t have people cut power to the running system willy-nilly, I created a little board to take care of the power distribution.</p>
<p><center><br />
<a target="blank" href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110014.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110014-300x168.jpg" alt="" title="Raspberry Pi - Power Button Assembly (Back)" width="300" height="168" class="size-medium wp-image-388" /></a><br />
Back<br />
</center></p>
<p>An ATtiny85 MCU is the brains behind the board, it will later on output debug messages via the indicator LED, but for now it flashes at two different frequencies for boot and shutdown, it also signals the main board when it&#8217;s time to shutdown properly.</p>
<p><center><br />
<a target="blank" href="http://guillermoamaral.com/wp-content/uploads/2012/11/12110013.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/11/12110013-300x168.jpg" alt="" title="Raspberry Pi - Power Button Assembly (Front)" width="300" height="168" class="size-medium wp-image-389" /></a><br />
Front<br />
</center></p>
<p>The board is powered by a 5V@2A power supply which is forwarded to the main board when the console is turned on, the rest of the board runs on 3V3 and consumes about 0.007ma in stand-by mode, and about 10ma when the indicator light is on.</p>
<p>Hardware specs and source code can be found on my <a href="http://github.com/gamaral">GitHub account</a>, all covered under the BSD and CERN OH licenses.</p>
<h2>Media Slot</h2>
<p>Since I&#8217;m planning on having mainly downloadable content, an optical media drive or cartage slot would not make much sense (fun as it may be). I might add external USB storage support.</p>
<h2>Enclosure</h2>
<p>No definitive case design yet. I&#8217;m considering laser cut PCB.</p>
<h2>Operating System</h2>
<p>Since speed and boot time are very high priority when it comes to game consoles, <a href="https://github.com/gamaral/rpi-buildroot" title="BuildRoot for Raspberry Pi">I decided to build my own distro</a>. It&#8217;s lean, mean and comes in one single flavor, COUGAR.</p>
<p><center><br />
You can see it boot here, don&#8217;t look away or you might not see it boot up at all.</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/4Fjfqz6FxC8?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p></center></p>
<p>I found that on some LCD displays, screen settling takes longer than the actual system boot, which is pretty awesome. The game engine waits for the screen to be ready before it continues running, this applies for first boot and for video output switching (HDMI &lt;=> Composite).</p>
<h2>Game Engine</h2>
<p>I&#8217;m using <a href="http://marshmallow.me/" title="Marshmallow Game Engine">my own game engine</a> which is still under heavy development, I&#8217;m trying to get people interested in helping out with port maintenance (specially the Windows and MacOS X ports). If you&#8217;re interested <a href="mailto:g@maral.me" title="Contact me now!!!">please contact me</a>.</p>
<h1>See it in action</h1>
<p>I showed off my progress on <a href="http://www.adafruit.com/" title="Adafruit Industries">Adafruit Industries Show and Tell</a></p>
<p><center></p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/mC_pRx3V0W8?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Fast-forward to the 11 minute mark.<br />
</center></p>
<p><center></p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/yz6-13c7W2c?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Using real marshmallows and the <strong>MakeyMakey</strong><br />
</center></p>
<h1>Try it out!</h1>
<p>If you want to try out the demo, just follow the instructions below:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;">
<div>1<br />2<br />3</div>
</td>
<td>
<div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget http://downloads.marshmallow.me/sdcard.img.xz<br />
xz -d sdcard.img.xz<br />
sudo dd if=sdcard.img of=/dev/**YOUR-DEV-NODE**</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>After it&#8217;s done, insert the sdcard in your Raspberry Pi and plug it in!</p>
<h3>Notes</h3>
<p>You will need to have a keyboard handy since the odds you have a supported gamepad/joystick is pretty thin (donations welcome!).</p>
<p><strong>F1</strong> &#8211; restarts the demo<br />
<strong>ESC</strong> &#8211; kills the demo<br />
<strong>SPACE</strong> &#8211; Jumps<br />
<strong>LEFT</strong> &#8211; Move left<br />
<strong>RIGHT</strong> &#8211; Move right<br />
<strong>LSHIFT</strong> &#8211; Run</p>
<h1>Donations</h1>
<p>You are probably asking yourself <strong>&#8220;How can I help?&#8221;</strong>, well I&#8217;m glad you asked!</p>
<p>I&#8217;m currently taking hardware and PayPal donations, if you have a game controller you want supported, a Raspberry Pi laying around or too much cash in your bank account and want to fund further development, <a href="mailto:g@maral.me" title="Contact me now!!!">feel free to contact me</a> or hit that nifty <em>PayPal Donate</em> button <a href="http://guillermoamaral.com/">on my site</a>.</p>
<hr />
<p>Thanks for your interest in my project, please feel free to leave comments or suggestions below.</p>
<p>Also, I&#8217;m usually around on <a href="http://webchat.freenode.net/?channels=#marshmallow_h" title="Connect to freenode IRC">IRC #marshmallow_h @ freenode</a></p>
<p><strong>G</strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=1KNd8m3JRbs:I9TFaP1tqRo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=1KNd8m3JRbs:I9TFaP1tqRo:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=1KNd8m3JRbs:I9TFaP1tqRo:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/1KNd8m3JRbs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/mes/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/mes/</feedburner:origLink></item>
		<item>
		<title>Spot the defect</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/I_cTkLzLBIs/</link>
		<comments>http://guillermoamaral.com/read/spot-the-defect-01/#comments</comments>
		<pubDate>Mon, 15 Oct 2012 01:35:09 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=327</guid>
		<description><![CDATA[Right after I finished soldering I noticed a flaw that made me bust out laughing, durp. Can you spot it? (it&#8217;s not the power jack, I ran out so I hacked something else in it&#8217;s place)]]></description>
				<content:encoded><![CDATA[<p>Right after I finished soldering I noticed a flaw that made me bust out laughing, <strong>durp</strong>. Can you spot it?</p>
<p><center><br />
<a href="http://guillermoamaral.com/wp-content/uploads/2012/10/12100016.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/10/12100016-300x168.jpg" alt="" title="12100016" width="300" height="168" class="aligncenter size-medium wp-image-328" /></a></p>
<p><a href="http://guillermoamaral.com/wp-content/uploads/2012/10/12100015.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/10/12100015-300x168.jpg" alt="" title="12100015" width="300" height="168" class="aligncenter size-medium wp-image-329" /></a><br />
</center></p>
<p>(it&#8217;s not the power jack, I ran out so I hacked something else in it&#8217;s place)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=I_cTkLzLBIs:CK3dHAvtnQY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=I_cTkLzLBIs:CK3dHAvtnQY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=I_cTkLzLBIs:CK3dHAvtnQY:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/I_cTkLzLBIs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/spot-the-defect-01/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/spot-the-defect-01/</feedburner:origLink></item>
		<item>
		<title>Marshmallow Raspberry Pi Power Button – PCB R1</title>
		<link>http://feedproxy.google.com/~r/gamaral/~3/MrFojjoT4ho/</link>
		<comments>http://guillermoamaral.com/read/rpi-pwrbtn-pcb-r1/#comments</comments>
		<pubDate>Mon, 08 Oct 2012 03:38:33 +0000</pubDate>
		<dc:creator>gamaral</dc:creator>
				<category><![CDATA[Quicky]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Marshmallow]]></category>

		<guid isPermaLink="false">http://guillermoamaral.com/?p=317</guid>
		<description><![CDATA[First demo PCB board, single-side with 3 jumpers. It&#8217;s freshly exposed and ready for drilling. I used a copper board I had laying around, it was a bit scuffed so excuse the pockmarks. I&#8217;ll expose the double-sided version later this... <a href="http://guillermoamaral.com/read/rpi-pwrbtn-pcb-r1/">Read More &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>First demo PCB board, single-side with 3 jumpers. It&#8217;s freshly exposed and ready for drilling. I used a copper board I had laying around, it was a bit scuffed so excuse the pockmarks.</p>
<p><center><a href="http://guillermoamaral.com/wp-content/uploads/2012/10/IMG_2172.jpg"><img src="http://guillermoamaral.com/wp-content/uploads/2012/10/IMG_2172-300x200.jpg" alt="" title="RPI-PWRBTN PCB" width="300" height="200" class="aligncenter size-medium wp-image-318" /></a></center></p>
<p>I&#8217;ll expose the double-sided version later this week, after I hit the electronics store.</p>
<p>The <em>rpi-pwrbtn</em> repository on GitHub includes the double sided board schem and the MCU code: <a href="https://github.com/gamaral/rpi-pwrbtn">https://github.com/gamaral/rpi-pwrbtn</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/gamaral?a=MrFojjoT4ho:rGM13ulncOc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/gamaral?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=MrFojjoT4ho:rGM13ulncOc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/gamaral?a=MrFojjoT4ho:rGM13ulncOc:cGdyc7Q-1BI"><img src="http://feeds.feedburner.com/~ff/gamaral?d=cGdyc7Q-1BI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/gamaral/~4/MrFojjoT4ho" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://guillermoamaral.com/read/rpi-pwrbtn-pcb-r1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://guillermoamaral.com/read/rpi-pwrbtn-pcb-r1/</feedburner:origLink></item>
	</channel>
</rss>
