<?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>gamaral - Software Engineer &#187; Projects</title>
	<atom:link href="/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>https://guillermoamaral.com</link>
	<description>Incredibly handsome engineer, gamedev and trekkie.</description>
	<lastBuildDate>Sun, 17 Nov 2013 03:45:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=167</generator>
	<item>
		<title>Xeno-GC Clone Mini</title>
		<link>https://guillermoamaral.com/read/xeno-gc-clone-mini/</link>
		<comments>https://guillermoamaral.com/read/xeno-gc-clone-mini/#comments</comments>
		<pubDate>Mon, 14 Oct 2013 19:43:28 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[OSH]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=885</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/10/IMG_2609_small-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2609_small" style="margin-bottom: 15px;" /></div>Xeno-GC Clone Mini Since I wasn&#8217;t satisfied with how I laid out it&#8217;s big bother, I decided to redo the board, the Xeno-GC Clone Mini is the end result. It&#8217;s about the size of a quarter dollar and twice as sexy. Check out the images above and see for yourself. Make your own! The mini model, like it&#8217;s big brother, uses 0805 SMD components. No rework station or solder paste required; Just a standard soldering iron and some whiskey (Ok, the whiskey is optional). Parts 2x 100nF 0805 ceramic capacitors. 2x 1k&ohm; 0805 resistors. 2x 330&ohm; 0805 resistors. 1x 100&ohm; 0805 resistor. 1x Red 0805 LED. 1x Green 0805 LED. 1x Atmel AVR ATmega8L 32-pin TQFP. Order You can order your boards directly from (OSH Park)[http://oshpark.com/shared_projects/XDNLoePV]. If you have any questions, feel free to email me. Now go get your homebrew on!]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/10/IMG_2609_small-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2609_small" style="margin-bottom: 15px;" /></div><h1>Xeno-GC Clone Mini</h1>

<p>Since I wasn&#8217;t satisfied with how I laid out it&#8217;s big bother, I decided to redo the board, the Xeno-GC Clone Mini is the end result. It&#8217;s about the size of a quarter dollar and twice as sexy. Check out the images above and see for yourself.</p>

<h1>Make your own!</h1>

<p>The mini model, like it&#8217;s big brother, uses 0805 SMD components. No rework station or solder paste required; Just a standard soldering iron and some whiskey <em>(Ok, the whiskey is optional)</em>.</p>

<h2>Parts</h2>

<ul>
<li><strong>2x</strong> 100nF 0805 ceramic capacitors.</li>
<li><strong>2x</strong> 1k&ohm; 0805 resistors.</li>
<li><strong>2x</strong> 330&ohm; 0805 resistors.</li>
<li><strong>1x</strong> 100&ohm; 0805 resistor.</li>
<li><strong>1x</strong> Red 0805 LED.</li>
<li><strong>1x</strong> Green 0805 LED.</li>
<li><strong>1x</strong> Atmel AVR ATmega8L 32-pin TQFP.</li>
</ul>

<h2>Order</h2>

<p>You can order your boards directly from (OSH Park)[http://oshpark.com/shared_projects/XDNLoePV]. If you have any questions, feel free to email me. Now go get your homebrew on!</p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/xeno-gc-clone-mini/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>ITeadStudio Vs. OSH Park &#8211; Raspberry Pi PSU PCBs</title>
		<link>https://guillermoamaral.com/read/iteadstudio_vs_oshpark/</link>
		<comments>https://guillermoamaral.com/read/iteadstudio_vs_oshpark/#comments</comments>
		<pubDate>Sun, 06 Oct 2013 04:16:46 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[OSH]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=873</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/10/IMG_2563-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Populated PCBs" style="margin-bottom: 15px;" /></div>So is it worth it ordering from China based ITeadStudio versus tried and tested OSH Park? Watch the video and find out! I&#8217;ll be giving away some Raspberry Pi PSU PCBs, subscribe and/or comment on YouTube for a chance to win your own! It works! Click here to watch it in action!]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/10/IMG_2563-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Populated PCBs" style="margin-bottom: 15px;" /></div><p>So is it worth it ordering from China based <a href="http://blog.iteadstudio.com/">ITeadStudio</a> versus tried and tested <a href="http://oshpark.com/">OSH Park</a>? Watch the video and find out!</p>

<p>I&#8217;ll be giving away some Raspberry Pi PSU PCBs, subscribe and/or comment on YouTube for a chance to win your own!</p>

<h1>It works!</h1>

<div id="attachment_875" style="width: 310px" class="wp-caption aligncenter"><a href="/wp-content/uploads/2013/10/IMG_2563.jpg" rel="prettyphoto[873]"><img src="/wp-content/uploads/2013/10/IMG_2563-300x200.jpg" alt="Populated PCBs" width="300" height="200" class="size-medium wp-image-875" /></a><p class="wp-caption-text">Populated PCBs</p></div>

<p><center><a href="http://youtu.be/LZMlZWQTFWQ">Click here to watch it in action!</a></center></p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/iteadstudio_vs_oshpark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make your own Raspberry Pi – PSU [R3]</title>
		<link>https://guillermoamaral.com/read/rpi-psu-r3/</link>
		<comments>https://guillermoamaral.com/read/rpi-psu-r3/#comments</comments>
		<pubDate>Mon, 23 Sep 2013 21:05:02 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[OSH]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=860</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2559-small-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2559-small" style="margin-bottom: 15px;" /></div>Here&#8217;s the Raspberry Pi R3 PCB TH (Through-Hole) model fully populated. The R3 board is shared on OSH Park which means you can order your own boards which you can assemble yourself! Components Here&#8217;s the current layout and component values. All parts are fairly common, specially the passives. Here are a few suppliers for the parts you may have a hard time finding. ATTiny85 SparkFun: COM-09378 Mouser: 556-ATTINY85-20PU Programming You will need a way to program the ATTiny, I suggest getting yourself an Atmel AVR mkII, a Pocket AVR Programmer or if you already own an Arduino you can make an ArduinoISP. LD33V SparkFun: COM-00526 Mouser: 511-LD1117V33 TIP125 Mouser: 511-TIP125 PN2222 Adafruit: 756 Mouser: 512-PN2222ABU Resources OSH Park: http://oshpark.com/shared_projects/MmabtNcO]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2559-small-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2559-small" style="margin-bottom: 15px;" /></div><p>Here&#8217;s the Raspberry Pi R3 PCB TH (Through-Hole) model fully populated.</p>

<p>The R3 board is <a href="http://oshpark.com/shared_projects/MmabtNcO"><strong>shared on OSH Park</strong></a> which means <strong>you can order your own boards</strong> which you can assemble yourself!</p>

<h1>Components</h1>

<p>Here&#8217;s the current layout and component values.</p>

<p><a href="/wp-content/uploads/2013/09/rpi-psu-r3.png" rel="prettyphoto[860]"><img src="/wp-content/uploads/2013/09/rpi-psu-r3-300x261.png" alt="rpi-psu-r3" width="300" height="261" class="aligncenter size-medium wp-image-863" /></a>
 All parts are fairly common, specially the passives. Here are a few suppliers for the parts you may have a hard time finding.</p>

<h2>ATTiny85</h2>

<p>SparkFun: <a href="https://www.sparkfun.com/products/9378">COM-09378</a></p>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/Atmel/ATtiny85-20PU/?qs=8jWQYweyg6NCiiaOb5GI9Q==">556-ATTINY85-20PU</a></p>

<h3>Programming</h3>

<p>You will need a way to program the ATTiny, I suggest getting yourself an <a href="http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=2mdvTlUeTfBRoycsKqwYpg==">Atmel AVR mkII</a>, a <a href="https://www.sparkfun.com/products/9825">Pocket AVR Programmer</a> or if you already own an Arduino you can make an <a href="http://arduino.cc/en/Tutorial/ArduinoISP">ArduinoISP</a>.</p>

<h2>LD33V</h2>

<p>SparkFun: <a href="https://www.sparkfun.com/products/526">COM-00526</a></p>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/STMicroelectronics/LD1117V33/?qs=arR7071FstdSYX/AthFGRA==">511-LD1117V33</a></p>

<h2>TIP125</h2>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/STMicroelectronics/TIP125/?qs=ljbEvF4DwOOVTDztFiRz8A==">511-TIP125</a></p>

<h2>PN2222</h2>

<p>Adafruit: <a href="http://www.adafruit.com/products/756">756</a></p>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/Fairchild-Semiconductor/PN2222ABU/?qs=sGAEpiMZZMshyDBzk1%2fWi8oN7VHZ91Oksd99mJbzy1A%3d">512-PN2222ABU</a></p>

<h1>Resources</h1>

<p>OSH Park: <a href="http://oshpark.com/shared_projects/MmabtNcO">http://oshpark.com/shared_projects/MmabtNcO</a></p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/rpi-psu-r3/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Make your own Raspberry Pi – PSU [R2]</title>
		<link>https://guillermoamaral.com/read/rpi-psu-r2/</link>
		<comments>https://guillermoamaral.com/read/rpi-psu-r2/#comments</comments>
		<pubDate>Tue, 17 Sep 2013 01:56:34 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[OSH]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=802</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2530-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="RPi-PSU R2" style="margin-bottom: 15px;" /></div>I received my Raspberry Pi PSU Revision 2 PCBs in the mail last week and I got a chance to populate and test them during the weekend. The R2 board is shared on OSH Park which means you can order your own boards and assemble for yourself. Components Here&#8217;s the board, fully populated and with all the parts values highlighted. All parts are fairly common, specially the passives. Here are a few suppliers for the parts you may have a hard time finding. ATTiny85 SparkFun: COM-09378 Mouser: 556-ATTINY85-20PU Programming You will need a way to program the ATTiny, I suggest getting yourself an Atmel AVR mkII, a Pocket AVR Programmer or if you already own an Arduino you can make an ArduinoISP. LD33V SparkFun: COM-00526 Mouser: 511-LD1117V33 TIP125 Mouser: 511-TIP125 2N2222A Mouser: 511-2N2222A Digi-Key: 497-2598-ND OBSOLITE R3 replaces this component with the 2N3904 and PN2222 Resources OSH Park: http://oshpark.com/shared_projects/clqtxZaD Video: http://youtu.be/xgsn7Mpjh7g]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2530-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="RPi-PSU R2" style="margin-bottom: 15px;" /></div><p>I received my Raspberry Pi PSU Revision 2 PCBs in the mail last week and I got a chance to populate and test them during the weekend.</p>

<p>The R2 board is <a href="http://oshpark.com/shared_projects/clqtxZaD">shared on OSH Park</a> which means you can order your own boards and assemble for yourself.</p>

<h1>Components</h1>

<p>Here&#8217;s the board, fully populated and with all the parts values highlighted.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2530-notes.jpg" rel="prettyphoto[802]"><img src="/wp-content/uploads/2013/09/IMG_2530-notes-300x200.jpg" alt="RPi-PSU R2 - Components" width="300" height="200" class="aligncenter size-medium wp-image-803" /></a></p>

<p>All parts are fairly common, specially the passives. Here are a few suppliers for the parts you may have a hard time finding.</p>

<h2>ATTiny85</h2>

<p>SparkFun: <a href="https://www.sparkfun.com/products/9378">COM-09378</a>
Mouser: <a href="http://www.mouser.com/ProductDetail/Atmel/ATtiny85-20PU/?qs=8jWQYweyg6NCiiaOb5GI9Q==">556-ATTINY85-20PU</a></p>

<h3>Programming</h3>

<p>You will need a way to program the ATTiny, I suggest getting yourself an <a href="http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=2mdvTlUeTfBRoycsKqwYpg==">Atmel AVR mkII</a>, a <a href="https://www.sparkfun.com/products/9825">Pocket AVR Programmer</a> or if you already own an Arduino you can make an <a href="http://arduino.cc/en/Tutorial/ArduinoISP">ArduinoISP</a>.</p>

<h2>LD33V</h2>

<p>SparkFun: <a href="https://www.sparkfun.com/products/526">COM-00526</a>
Mouser: <a href="http://www.mouser.com/ProductDetail/STMicroelectronics/LD1117V33/?qs=arR7071FstdSYX/AthFGRA==">511-LD1117V33</a></p>

<h2>TIP125</h2>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/STMicroelectronics/TIP125/?qs=ljbEvF4DwOOVTDztFiRz8A==">511-TIP125</a></p>

<h2>2N2222A</h2>

<p>Mouser: <a href="http://www.mouser.com/ProductDetail/STMicroelectronics/2N2222A/?qs=UMEuL5FsraBzcgM1cdcH3A==">511-2N2222A</a>
Digi-Key: <a href="http://www.digikey.com/product-detail/en/2N2222A/497-2598-ND/603623">497-2598-ND</a></p>

<p><strong>OBSOLITE</strong> R3 replaces this component with the 2N3904 and PN2222</p>

<h1>Resources</h1>

<p>OSH Park: <a href="http://oshpark.com/shared_projects/clqtxZaD">http://oshpark.com/shared_projects/clqtxZaD</a>
Video: <a href="http://youtu.be/xgsn7Mpjh7g">http://youtu.be/xgsn7Mpjh7g</a></p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/rpi-psu-r2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>GameCube Modchip (Xeno-GC Clone)</title>
		<link>https://guillermoamaral.com/read/xeno-gc-clone/</link>
		<comments>https://guillermoamaral.com/read/xeno-gc-clone/#comments</comments>
		<pubDate>Sun, 15 Sep 2013 22:09:35 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[OSH]]></category>
		<category><![CDATA[OSS]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=761</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2522-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2522" style="margin-bottom: 15px;" /></div>Background I&#8217;ve been really getting into making homebrew games. I got my game engine running on the Wii last year and I thought why not give the GameCube a shot. It&#8217;s a similar architecture, Broadway (Wii) is pretty much a faster Gekko (GC). Open-Source to the rescue I remembered reading about how the more popular modchips (or drivechips) for the GC and Wii worked, so I started looking into making my own. After some digging I found that the Xeno-GC modchip had been open-sourced a couple of years back, so I only needed to compile it and build some compatible hardware. This little guy is the final result. I want to keep tweaking the firmware, so I made the board be just the right size to fit a small gap in the back of the GC; This would make it easy to flash and test on the actual hardware. I also made it big enough to allow for easier circuit board population. I wired the bottom of the drive unit and ran a few tests. Everything checked out fine so I soldered in the modchip and crossed my fingers. :) I proceeded to flash the modchip and it immediately came to life! I then popped in a homebrew game I burned earlier and it worked without a hitch, no laser adjustments needed or anything! I cut of a tab in the back of the console cover, this is where the modchip will be placed. You can see it here, snug and tight. That&#8217;s pretty much it! Now I move on to porting my game engine and making a demo. Issues I noticed that the modchip would sometimes fail to boot up correctly, I changed the fuses on the AVR so that the modchip would start 64ms after powering up, giving the drive unit some time to setup. I used the following fuse values: 0xE4 0xD9 Make your own! You can order 3 boards directly from OSH Park and get all the required components from Mouser or Digi-Key. The board and schematic files are available on GitHub. The modchip firmware can be found in here. Mini I also made a smaller version of the modchip, you can also order it from OSH Park.]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_2522-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2522" style="margin-bottom: 15px;" /></div><h1>Background</h1>

<p>I&#8217;ve been really getting into making homebrew games. I got my game engine running on the Wii last year and I thought why not give the GameCube a shot. It&#8217;s a similar architecture, <em><a href="http://en.wikipedia.org/wiki/Broadway_(microprocessor)" title="Broadway microprocessor" target="_blank">Broadway</a></em> (Wii) is pretty much a faster <em><a href="http://en.wikipedia.org/wiki/Gekko_(microprocessor)" title="Gekko microprocessor" target="_blank">Gekko</a></em> (GC).</p>

<h1>Open-Source to the rescue</h1>

<p>I remembered reading about how the more popular modchips (or drivechips) for the GC and Wii worked, so I started looking into making my own. After some digging I found that the Xeno-GC modchip had been open-sourced a couple of years back, so I only needed to compile it and build some compatible hardware.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2511.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2511-300x200.jpg" alt="IMG_2511" width="300" height="200" class="aligncenter size-medium wp-image-768" /></a></p>

<p>This little guy is the final result. I want to keep tweaking the firmware, so I made the board be just the right size to fit a small gap in the back of the GC; This would make it easy to flash and test on the actual hardware. I also made it big enough to allow for easier circuit board population.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2513.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2513-300x200.jpg" alt="IMG_2513" width="300" height="200" class="aligncenter size-medium wp-image-763" /></a></p>

<p>I wired the bottom of the drive unit and ran a few tests. Everything checked out fine so I soldered in the modchip and crossed my fingers. :)</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2514.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2514-300x200.jpg" alt="IMG_2514" width="300" height="200" class="aligncenter size-medium wp-image-762" /></a></p>

<p>I proceeded to flash the modchip and it immediately came to life! I then popped in a homebrew game I burned earlier and it worked without a hitch, no laser adjustments needed or anything!</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2520.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2520-300x200.jpg" alt="IMG_2520" width="300" height="200" class="aligncenter size-medium wp-image-764" /></a></p>

<p>I cut of a tab in the back of the console cover, this is where the modchip will be placed.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2521.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2521-300x200.jpg" alt="IMG_2521" width="300" height="200" class="aligncenter size-medium wp-image-766" /></a></p>

<p>You can see it here, snug and tight.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_2522.jpg" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/IMG_2522-300x200.jpg" alt="IMG_2522" width="300" height="200" class="aligncenter size-medium wp-image-765" /></a></p>

<p>That&#8217;s pretty much it! Now I move on to porting my game engine and making a demo.</p>

<h1>Issues</h1>

<p>I noticed that the modchip would sometimes fail to boot up correctly, I changed the fuses on the AVR so that the modchip would start 64ms after powering up, giving the drive unit some time to setup. I used the following fuse values: <strong>0xE4</strong> <strong>0xD9</strong></p>

<h1>Make your own!</h1>

<p>You can order 3 boards <a href="http://oshpark.com/shared_projects/FV4wrWMl">directly from OSH Park</a> and get all the required components from Mouser or Digi-Key. The board and schematic files are <a href="https://github.com/gamaral/XenoGC">available on GitHub</a>.</p>

<p>The modchip firmware <a href="https://code.google.com/p/xenogcfork/">can be found in here</a>.</p>

<h1>Mini</h1>

<p><a href="/wp-content/uploads/2013/09/snap0000.png" rel="prettyphoto[761]"><img src="/wp-content/uploads/2013/09/snap0000-192x300.png" alt="xeno-gc-mini" width="192" height="300" class="aligncenter size-medium wp-image-857" /></a></p>

<p>I also made a smaller version of the modchip, <a href="http://oshpark.com/shared_projects/XDNLoePV">you can also order it from OSH Park</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/xeno-gc-clone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi &#8211; PSU (rpi-pwrbtn)</title>
		<link>https://guillermoamaral.com/read/rpi-psu/</link>
		<comments>https://guillermoamaral.com/read/rpi-psu/#comments</comments>
		<pubDate>Sat, 07 Sep 2013 05:59:56 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[OSH]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=721</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_0359-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_0359" style="margin-bottom: 15px;" /></div>PCBs I&#8217;ve recently received the first and second revisions of my Raspberry Pi &#8211; PSU Through-Hole PCB. They came out pretty well if I do say so myself. There are a couple of issues with the R1 and R2 designs that have already been addressed in R3, but since the R3 is not here yet, let&#8217;s populate an R2 board and test it out. We will need to start with the power rail. It&#8217;s pretty straight forward &#8211; Just like my original prototype, the board takes in 5V which is used to power the Raspberry Pi directly. The micro-controller is powered by a 3v3 rail (hence the LD33V), this reduces power consumption but more importantly makes the micro compatible with the Raspberry Pi&#8217;s GPIO. Programming After I filled in the power stage, I proceeded to flash the micro using my MKII and some pogo pins. I tested the board and since it all checked out fine, I proceeded to populate the rest of the components. Moment of Truth I pulled out one of my RPis and hooked up the fully populated PSU. No blue smoke came out, which is always good, hooray! :) Revision 3 The third revision of the PSU PCB has already been sent to the fab and is under production at the moment of writing, I&#8217;ll record a video as soon as I get it showing how it works and how you can build your own! Update I got my Rev3 board in, check it out by clicking the link below: Make your own Raspberry Pi – PSU [R3] OSHW The source code, schematic and board layout for this project is publicly available on GitHub. GitHub Repository]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/09/IMG_0359-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_0359" style="margin-bottom: 15px;" /></div><h1>PCBs</h1>

<p>I&#8217;ve recently received the first and second revisions of my Raspberry Pi &#8211; PSU Through-Hole PCB. They came out pretty well if I do say so myself.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_0352.jpg" rel="prettyphoto[721]"><img src="/wp-content/uploads/2013/09/IMG_0352-300x225.jpg" alt="RPI-PSU R1" width="300" height="225" class="aligncenter size-medium wp-image-732" /></a></p>

<p>There are a couple of issues with the R1 and R2 designs that have already been addressed in R3, but since the R3 is not here yet, let&#8217;s populate an R2 board and test it out.</p>

<p>We will need to start with the power rail. It&#8217;s pretty straight forward &#8211; Just like my <a href="http://youtu.be/CFEbk3u_A14">original prototype</a>, the board takes in 5V which is used to power the Raspberry Pi directly. The micro-controller is powered by a 3v3 rail (hence the LD33V), this reduces power consumption but more importantly makes the micro compatible with the Raspberry Pi&#8217;s GPIO.</p>

<h1>Programming</h1>

<p>After I filled in the power stage, I proceeded to flash the micro using my MKII and some pogo pins.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_0354.jpg" rel="prettyphoto[721]"><img src="/wp-content/uploads/2013/09/IMG_0354-300x225.jpg" alt="IMG_0354" width="300" height="225" class="aligncenter size-medium wp-image-734" /></a></p>

<p>I tested the board and since it all checked out fine, I proceeded to populate the rest of the components.</p>

<h1>Moment of Truth</h1>

<p>I pulled out one of my RPis and hooked up the fully populated PSU.</p>

<p><a href="/wp-content/uploads/2013/09/IMG_0359.jpg" rel="prettyphoto[721]"><img src="/wp-content/uploads/2013/09/IMG_0359-300x225.jpg" alt="IMG_0359" width="300" height="225" class="aligncenter size-medium wp-image-727" /></a></p>

<p>No blue smoke came out, which is always good, hooray! :)</p>

<p><a href="/wp-content/uploads/2013/09/IMG_0361.jpg" rel="prettyphoto[721]"><img src="/wp-content/uploads/2013/09/IMG_0361-225x300.jpg" alt="IMG_0361" width="225" height="300" class="aligncenter size-medium wp-image-726" /></a></p>

<h1>Revision 3</h1>

<p>The third revision of the PSU PCB has already been sent to the fab and is under production at the moment of writing, I&#8217;ll record a video as soon as I get it showing how it works and how you can build your own!</p>

<p><a href="/wp-content/uploads/2013/09/rpi-psu-board.png" rel="prettyphoto[721]"><img src="/wp-content/uploads/2013/09/rpi-psu-board-300x261.png" alt="RPI-PSU R3" width="300" height="261" class="aligncenter size-medium wp-image-728" /></a></p>

<h3>Update</h3>

<p>I got my Rev3 board in, check it out by clicking the link below:</p>

<p><a href="/read/rpi-psu-r3/">Make your own Raspberry Pi – PSU [R3]</a></p>

<h1>OSHW</h1>

<p>The source code, schematic and board layout for this <a href="https://github.com/gamaral/rpi-pwrbtn">project is publicly available on GitHub</a>.</p>

<p><strong><a href="https://github.com/gamaral/rpi-pwrbtn">GitHub Repository</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/rpi-psu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi Buildroot &#8211; 3.8.6 Kernel Branch</title>
		<link>https://guillermoamaral.com/read/rpi-buildroot-3-8/</link>
		<comments>https://guillermoamaral.com/read/rpi-buildroot-3-8/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 21:38:15 +0000</pubDate>
		<dc:creator><![CDATA[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">https://guillermoamaral.com/?p=692</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2012/11/IMG_2429-e1379609746295-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Marshmallow on the Raspberry Pi" style="margin-bottom: 15px;" /></div>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 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. Please checkout the README file for more information. You may download the test-drive SD-card image here: http://dl.guillermoamaral.com/rpi/sdcard-3.8.img.xz (user root &#8211; no password) How to build it yourself! 1234&#160; git clone --depth 1 -b rpi-3.8 git://github.com/gamaral/rpi-buildroot.git &#160; cd rpi-buildroot &#160; make raspberrypi_defconfig &#160; make How to flash 123&#160; wget http://dl.guillermoamaral.com/rpi/sdcard-3.8.img.xz &#160; xz -d sdcard-3.8.img.xz &#160; sudo dd if=sdcard-3.8.img of=/dev/**YOUR-DEV-NODE**]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2012/11/IMG_2429-e1379609746295-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Marshmallow on the Raspberry Pi" style="margin-bottom: 15px;" /></div><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>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/rpi-buildroot-3-8/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Custom NES Controller</title>
		<link>https://guillermoamaral.com/read/custom-nes-controller/</link>
		<comments>https://guillermoamaral.com/read/custom-nes-controller/#comments</comments>
		<pubDate>Wed, 09 Jan 2013 20:03:17 +0000</pubDate>
		<dc:creator><![CDATA[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">https://guillermoamaral.com/?p=543</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/01/IMG_2459-e13796098062781-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2459-e1379609806278" style="margin-bottom: 15px;" /></div>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 buttons. Create a custom Eagle device for the navigation switch. Use a strip of SMD 0603 10k resistors. Use a single-sided 65&#215;65 MM square board (since I have a bunch of them). Design 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. PCB 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). Replace the bottom layer (blue lines) with jumper wire. Results The controller works great! Though it could use some routing to make it more comfortable. Back &#8211; Start Button Front Use]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/01/IMG_2459-e13796098062781-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="IMG_2459-e1379609806278" style="margin-bottom: 15px;" /></div><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>
<a href="/wp-content/uploads/2013/01/diagram.png" rel="prettyphoto[543]"><img src="/wp-content/uploads/2013/01/diagram-300x132.png" alt="NES Controller Diagram" width="300" height="132" class="aligncenter size-medium wp-image-544" /></a>
</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>
<a href="/wp-content/uploads/2013/01/board.png" rel="prettyphoto[543]"><img src="/wp-content/uploads/2013/01/board-300x300.png" alt="NES Controller PCB" width="300" height="300" class="aligncenter size-medium wp-image-545" /></a>
Replace the bottom layer (blue lines) with jumper wire.
</center></p>

<h1>Results</h1>

<p>The controller works great! Though it could use some routing to make it more comfortable.</p>

<p><center>
<a href="/wp-content/uploads/2013/01/IMG_2458.jpg" rel="prettyphoto[543]"><img src="/wp-content/uploads/2013/01/IMG_2458-300x200.jpg" alt="Front" width="300" height="200" class="aligncenter size-medium wp-image-559" /></a>
Back &#8211; Start Button
</center></p>

<p><center>
<a href="/wp-content/uploads/2013/01/IMG_2457.jpg" rel="prettyphoto[543]"><img src="/wp-content/uploads/2013/01/IMG_2457-300x200.jpg" alt="Back" width="300" height="200" class="aligncenter size-medium wp-image-560" /></a>
Front
</center></p>

<p><center>
<a href="/wp-content/uploads/2013/01/IMG_2459.jpg" rel="prettyphoto[543]"><img src="/wp-content/uploads/2013/01/IMG_2459-300x200.jpg" alt="In Action" width="300" height="200" class="aligncenter size-medium wp-image-558" /></a>
Use
</center></p>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/custom-nes-controller/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi Buildroot update!</title>
		<link>https://guillermoamaral.com/read/rpi-buildroot/</link>
		<comments>https://guillermoamaral.com/read/rpi-buildroot/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 22:10:51 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=525</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/01/B817C44C-9644-4E72-A229-00186D4CCB38-1-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="RPI-issue" style="margin-bottom: 15px;" /></div>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 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. Please checkout the README file for more information. You may download the test-drive image here: http://dl.guillermoamaral.com/rpi/sdcard.img.xz (user root &#8211; no password) How to flash 123wget http://dl.guillermoamaral.com/rpi/sdcard.img.xz xz -d sdcard.img.xz sudo dd if=sdcard.img of=/dev/**YOUR-DEV-NODE** MES Marshmallow Entertainment System demo image was also updated, now with (buggy) ALSA support! Raspberry Pi ALSA leaves a lot to be desired, so don&#8217;t expect too much. :) You may download the platformer demo image here: http://downloads.marshmallow.me/sdcard.img.xz How to flash 123wget http://downloads.marshmallow.me/sdcard.img.xz xz -d sdcard.img.xz sudo dd if=sdcard.img of=/dev/**YOUR-DEV-NODE** Thanks I would like to thanks you all your great emails, the support is much appreciated!]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2013/01/B817C44C-9644-4E72-A229-00186D4CCB38-1-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="RPI-issue" style="margin-bottom: 15px;" /></div><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<br /></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="/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<br /></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>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/rpi-buildroot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MakeyMakey NES Controller Shield</title>
		<link>https://guillermoamaral.com/read/makeymakey-nes-controller-shield/</link>
		<comments>https://guillermoamaral.com/read/makeymakey-nes-controller-shield/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 10:45:31 +0000</pubDate>
		<dc:creator><![CDATA[gamaral]]></dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[MakeyMakey]]></category>
		<category><![CDATA[NES]]></category>

		<guid isPermaLink="false">https://guillermoamaral.com/?p=415</guid>
		<description><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2012/11/12110042-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="12110042" style="margin-bottom: 15px;" /></div>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 dead 4021 p2s IC. I was about to convert it to a TV controller when I remembered it was MakeyMakey Monday! Resurrection 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 Adafruit Extra-long break-away headers and an old red pen (I needed the ink, you will see why in a moment). 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. 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! My attention them moved over to the PCB, I cut the wires for the controller cable and desoldered the whole thing, IC and all. I then soldered a few wires from the headers to the controller PCB. And finally cut the pull-up resistor traces; this step is extremely important! Failing to cut them will result in all buttons getting triggered. I then cleaned up and closed the controller making sure I didn&#8217;t bend any of the internal wires. Tested it by playing some minecraft. Mapping Up Arrow = W Left Arrow = A Down Arrow = S Right Arrow = D Select = F Start = G B = RIGHT CLICK A = LEFT CLICK Video]]></description>
				<content:encoded><![CDATA[<div><img width="150" height="150" src="/wp-content/uploads/2012/11/12110042-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="12110042" style="margin-bottom: 15px;" /></div><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>
<a href="/wp-content/uploads/2012/11/12110021.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110021-300x168.jpg" alt="" title="Taredown" width="300" height="168" class="aligncenter size-medium wp-image-436" /></a>
</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>
<a href="/wp-content/uploads/2012/11/12110026.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/12110027.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/12110029.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110029-300x168.jpg" alt="" title="12110029" width="300" height="168" class="aligncenter size-medium wp-image-433" /></a>
</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>
<a href="/wp-content/uploads/2012/11/12110031.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/12110034.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110034-300x168.jpg" alt="" title="Test headers" width="300" height="168" class="aligncenter size-medium wp-image-428" /></a>
</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>
<a href="/wp-content/uploads/2012/11/12110035.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/12110037.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110037-300x168.jpg" alt="" title="Desoldered" width="300" height="168" class="aligncenter size-medium wp-image-426" /></a>
</center></p>

<p>I then soldered a few wires from the headers to the controller PCB.</p>

<p><center>
<a href="/wp-content/uploads/2012/11/12110039.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/12110040.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110040-300x168.jpg" alt="" title="12110040" width="300" height="168" class="aligncenter size-medium wp-image-424" /></a>
</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>
<a href="/wp-content/uploads/2012/11/12110041.jpg" rel="prettyphoto[415]"><img src="/wp-content/uploads/2012/11/12110041-300x168.jpg" alt="" title="Cutting traces" width="300" height="168" class="aligncenter size-medium wp-image-423" /></a>
</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>
<a href="/wp-content/uploads/2012/11/12110042.jpg" rel="prettyphoto[415]"><img src="/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="/wp-content/uploads/2012/11/IMG_2432.jpg" rel="prettyphoto[415]"><img src="/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>
</center></p>

<p>Tested it by playing some <strong>minecraft</strong>.</p>

<h1>Mapping</h1>

<p>Up Arrow = W
Left Arrow = A
Down Arrow = S
Right Arrow = D</p>

<p>Select = F
Start = G</p>

<p>B = RIGHT CLICK
A = LEFT CLICK</p>

<h1>Video</h1>

<iframe width="560" height="315" src="http://www.youtube.com/embed/esLfn5qHh38?rel=0" frameborder="0" allowfullscreen></iframe>
]]></content:encoded>
			<wfw:commentRss>https://guillermoamaral.com/read/makeymakey-nes-controller-shield/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
