<?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>Jacob Pierce &#187; How-To</title>
	<atom:link href="http://www.jacobpierce.com/blog/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jacobpierce.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 01:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Make your old Apple TV better than new</title>
		<link>http://www.jacobpierce.com/blog/2010/10/10/better-than-new-apple-tv/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=better-than-new-apple-tv</link>
		<comments>http://www.jacobpierce.com/blog/2010/10/10/better-than-new-apple-tv/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 22:52:57 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.jacobpierce.com/blog/?p=98</guid>
		<description><![CDATA[The 2nd generation Apple TV is selling faster than imagined and offers features seemingly impossible for the 1st gen ATV, but with a minimal ~$50 investment and some simple hacks you can turn Apple&#8217;s old &#8220;hobby&#8221; into something quite special: a HDTV appliance running XBMC (and Boxee). Note that Netflix streaming is technologically possible, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jacobpierce.com/blog/wp-content/uploads/2010/10/appletv-xbmc-boxee.png" rel="lightbox[98]"><img class="alignright size-full wp-image-114" title="appletv-xbmc-boxee" src="http://www.jacobpierce.com/blog/wp-content/uploads/2010/10/appletv-xbmc-boxee.png" alt="" width="200" height="200" /></a>The 2nd generation Apple TV is selling faster than imagined and offers features seemingly impossible for the 1st gen ATV, but with a minimal ~$50 investment and some simple hacks you can turn Apple&#8217;s old &#8220;hobby&#8221; into something quite special: a<strong> HDTV appliance running </strong><strong><a href="http://en.wikipedia.org/wiki/XBMC" target="_blank">XBMC</a> (and <a href="http://www.boxee.tv/" target="_blank">Boxee</a></strong><strong>)</strong>. Note that Netflix streaming is <em>technologically </em>possible, but not available at the time of this post.</p>
<p>To be more specific: out of the box Apple TV only decodes H264 video and has some really old hardware, however by replacing the Wifi card with a brand-new 1-watt hardware decoder called the &#8220;Broadcom Crystal HD&#8221; you can start playing very high quality video for other codecs such as DivX, Xvid, WMV, and so on. As for a video library, personally I&#8217;ve opted to stream video from a NAS in my house, but others have upgraded the internal hard drive on the Apple TV to hold more videos.</p>
<p><strong>For this project you&#8217;ll need:</strong></p>
<p>- 1st Gen Apple TV (40GB or 160GB)<br />
- Torx T8 and T10 screwdrivers (to install Crystal HD)<br />
- Broadcom Crystal HD BCM970015 (~$50)<br />
- Non-wifi connectivity for your Apple TV (we&#8217;re replacing the wifi card)<br />
- About 45-90 minutes depending on your comfort level</p>
<p>Alright, let&#8217;s get started&#8230;<span id="more-98"></span></p>
<p>1.) <strong>Install the Broadcom Crystal HD BCM970015</strong> (or the inferior but okay BCM970012 or Habey HB-VD904). <a href="http://www.logicsupply.com/products/bcm970015">Logic Supply</a> has some as of Oct 2010.</p>
<p>2.) Follow <a href="http://gizmodo.com/5082130/how-to-max-out-apple-tvs-potential-with-boxee" target="_blank">Gizmodo&#8217;s well-written guide</a> to <strong>hack your Apple TV</strong> for Boxee, except on step 6 just install XBMC as well as Boxee (it&#8217;s in the same place).</p>
<p>3.) <strong>Install custom Crystal HD drivers</strong> [<a href="http://crystalhd-for-osx.googlecode.com/" target="_blank">source</a>] by running the following commands in the <a href="http://en.wikipedia.org/wiki/Apple_Terminal" target="_blank">Terminal</a> in Mac OS X (or whatever you want in Windows) [<a href="http://forum.xbmc.org/showthread.php?t=69321" target="_blank">credits</a>]:</p>
<pre>ssh frontrow@appletv.local</pre>
<p>The default password is &#8220;frontrow&#8221;. Now enter this command into the terminal once the password is accepted to add a menu item for downloading the drivers:</p>
<pre dir="ltr">defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://crystalhd.sartori.at/files/crystalhd.plist</pre>
<p>Also add a menu item for the nightly build of XBMC; this makes the very most recent version available rather than just major releases:</p>
<pre dir="ltr">defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://mirrors.xbmc.org/nightlies/osx/update_urls.plist</pre>
<p>Finally, go to the Launcher menu and then Downloads in the main Apple TV menu and select &#8220;Crystal HD r171 (20101009)&#8221;. Do the same for the nightly build (e.g. &#8220;XBMC svn r33778&#8243;). These two downloads will install the driver and update XBMC respectively. Reboot the Apple TV afterwards.</p>
<p>4.) <strong>Launch XBMC and confirm</strong> the setup worked by navigating to System -&gt; Video -&gt; Playback and the second item down should say &#8220;allow hardware acceleration (crystalhd)&#8221;.</p>
<p>5.) <strong>Profit</strong>.</p>
<p>That&#8217;s all! Enjoy the 720p and 1080p HDTV video. Btw, <a href="http://code.google.com/p/xbmc-focus/">(re)focus</a> is a really well-designed skin for XBMC that works more fluidly on the Apple TV.</p>
<p>PS: You can remove the extra download menu items we added in step 4 by using the following Terminal command after SSHing into the Apple TV:</p>
<pre dir="ltr">defaults delete com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jacobpierce.com/blog/2010/10/10/better-than-new-apple-tv/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Arduino: Hello World&#8230; a first sketch, with 384 LEDs</title>
		<link>http://www.jacobpierce.com/blog/2009/10/11/arduino-hello-world-with-384-leds/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arduino-hello-world-with-384-leds</link>
		<comments>http://www.jacobpierce.com/blog/2009/10/11/arduino-hello-world-with-384-leds/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 03:58:31 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.jacobpierce.com/blog/?p=47</guid>
		<description><![CDATA[I picked up an Arduino recently after about two years of lusting for one &#8212; just never had time. The standard first program sketch is a blinking LED (see this great Make Magazine video), but the same time I ordered the Arduino I also bought a $10 (shipped from China) 24&#215;16 LED Matrix from Sure [...]]]></description>
			<content:encoded><![CDATA[<p>I picked up an <a href="http://www.arduino.cc" target="_blank">Arduino</a> recently after about two years of lusting for one &#8212; just never had time. The standard first program sketch is a blinking LED (see this great <a title="make" href="http://www.youtube.com/watch?v=pMV2isNm8JU" target="_blank">Make Magazine video</a>), but the same time I ordered the Arduino I also bought a $10 (shipped from China) <a href="http://www.sureelectronics.net/goods.php?id=142" target="_blank">24&#215;16 LED Matrix</a> from <a href="http://www.sure-electronics.com/">Sure Electronics</a> on eBay. So since more is better, of course I want to make all <em>384</em> <em>LEDs</em> blink (at random).</p>
<p>Let&#8217;s hook it up!</p>
<div id="attachment_49" class="wp-caption aligncenter" style="width: 417px"><a href="http://www.jacobpierce.com/blog/wp-content/uploads/2009/10/24x16_led_matrix_wiring.gif" rel="lightbox[47]"><img class="size-full wp-image-49" title="24x16 LED Matrix Wiring" src="http://www.jacobpierce.com/blog/wp-content/uploads/2009/10/24x16_led_matrix_wiring.gif" alt="24x16 LED Matrix Wiring (Fritzing)" width="407" height="525" /></a><p class="wp-caption-text">24x16 LED Matrix Wiring (made using Fritzing)</p></div>
<p><span id="more-47"></span></p>
<p>If you reverse the GND and 5V wiring you will probably blow up the display. The pin numbers are on the back of the display, so be sure to reference those. The connections:</p>
<p>- Arduino Digital <strong>Output 12</strong> to <strong>pin 1</strong> of the display connector (CS).<br />
- Digital <strong>Output 11</strong> goes to <strong>pin 5</strong> of the display (WRCLK)<br />
- Digital <strong>Output 10</strong> goes to <strong>pin 7</strong> of the display (DATA)<br />
- Digital <strong>GND</strong> goes to <strong>pin 11</strong> of the display (GND)<br />
- Power <strong>5v</strong> goes to <strong>pin 12</strong> of the display (+5V)</p>
<p><a href="http://www.jacobpierce.com/blog/wp-content/uploads/2009/10/arudino_ledmatrix.jpg" rel="lightbox[47]"><img class="aligncenter size-full wp-image-52" title="arudino_ledmatrix" src="http://www.jacobpierce.com/blog/wp-content/uploads/2009/10/arudino_ledmatrix.jpg" alt="arudino_ledmatrix" width="450" height="284" /></a></p>
<p>Now to the <strong>software</strong>. I found a post by westfw (<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1225239439/90" target="_blank">#94</a>) on Arduino.cc with some sample code that goes through a variety of demos on the display using various contributors&#8217; code. I&#8217;m a novice programmer at best, but I took his demo and cut out just the core parts for the display and wrote my own implementation to have the whole matrix select and toggle random LEDs on and off. <a href="http://www.jacobpierce.com/blog/wp-content/uploads/2009/10/blinker24x16.zip">Download the whole thing here.</a> It&#8217;s not pretty, but here&#8217;s my hasty code:</p>
<blockquote><p>void setup ()<br />
{<br />
ht1632_setup();<br />
randomSeed(analogRead(0)); //get some analog static from pin 0 for the random number generator<br />
}</p>
<p>void loop ()<br />
{<br />
int x, y, p;</p>
<p>x=random(24);            //pick a random X coordinate<br />
y=random(16);            //pick a random Y coordinate<br />
p=random(2);             //pick on/off (1 or 0, respectively)</p>
<p>plot(x,y,p);             //tell the display to execute the randomness</p>
<p>}</p></blockquote>
<p>So if you&#8217;re vaguely familiar with Arudino (like me at this point) you should be able to plug wires in, run the code, and watch some LEDs blink randomly. Behold the awesome power of microcontrollers!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=7058472&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=7058472&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><em>Related links:</em></p>
<p>- <a href="http://www.sureelectronics.net/pdfs/DE-DP016.pdf">Sure Electronics DE-DP016 Data Sheet</a><br />
- <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1225239439/0">Arduino.cc Forum Post on the DE-DP016</a> (and related displays)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jacobpierce.com/blog/2009/10/11/arduino-hello-world-with-384-leds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pull Apart: External USB MacBook Air SuperDrive</title>
		<link>http://www.jacobpierce.com/blog/2008/06/01/tear-down-external-usb-macbook-air-superdrive/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tear-down-external-usb-macbook-air-superdrive</link>
		<comments>http://www.jacobpierce.com/blog/2008/06/01/tear-down-external-usb-macbook-air-superdrive/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 05:13:43 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[12.5mm]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[DVD-R/W]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[Macbook Air]]></category>
		<category><![CDATA[Macbook Pro]]></category>
		<category><![CDATA[Pull Apart]]></category>
		<category><![CDATA[Superdrive]]></category>
		<category><![CDATA[Tear Down]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.jacobpierce.com/blog/?p=4</guid>
		<description><![CDATA[I needed a replacement Superdrive and I&#8217;ve been really curious as to what exactly is inside the Apple Macbook Air External USB Superdrive. So I bought one for $108 at my local Apple Store and proceeded to destroy the case by opening it using metal clippers to ensure nothing inside got damaged. However, now knowing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jacobpierce.com/blog/wp-content/uploads/2008/06/macbookair_superdrive.jpg" rel="lightbox[4]"><img class="alignright size-full wp-image-9" title="macbookair_superdrive" src="http://www.jacobpierce.com/blog/wp-content/uploads/2008/06/macbookair_superdrive.jpg" alt="MacBook Air SuperDrive" width="195" height="60" /></a></p>
<p>I needed a replacement Superdrive and I&#8217;ve been really curious as to what exactly is inside the Apple Macbook Air External USB Superdrive. So I bought one for $108 at my local <a href="http://www.apple.com/retail/">Apple Store</a> and proceeded to destroy the case by opening it using metal clippers to ensure nothing inside got damaged. However, now knowing more about how it is encased using tabs, I&#8217;ve written instructions here on how to open it without damaging anything.</p>
<p>While the MacBook Air SuperDrive only works externally with the MacBook Air possibly due to the USB adapter (<b>Update:</b> <a href="http://tnkgrl.wordpress.com/2008/06/24/macbook-air-superdrive-for-all/" target="blank">confirmed</a>), the internal drive component isÂ interchangeableÂ with the internal 12.7mm 17&#8243; Macbook Pro and most G4 PowerBook drives. It will not work with 15&#8243; MacBook Pro or 13.3&#8243; MacBook models since they need a slimmer 9.5mm SuperDrive.</p>
<p>Since it appears nobody has written a pull apart anywhere else, you can view the gory details after the jump&#8230;</p>
<p><span id="more-4"></span><br />
<strong>Pull apart instructions&#8230;</strong></p>
<p><em>Difficulty:</em> Easy/Intermediate.</p>
<p><em>Requirements:</em>Â <a title="Apple Store Macbook Air SuperDrive" href="http://store.apple.com/us/product/MB397G/A" target="_blank">MacBook Air SuperDrive</a>, old ID or credit card (or similar), and a tiny phillips screwdriver.</p>
<p><em>Warning</em>: Opening the case will no doubt void the warranty on the whole product. But this can be our little secret.</p>
<p><strong>Step 1: </strong>With the bottom facing up, gently insert a credit card (a screwdriver is pictured, but in retrospect a credit card is less damaging since the metal is very pliable). There are three tabs (Update: <a href="http://www.flickr.com/photos/tnkgrl/2606522285/in/set-72157605790040071/">better view</a>) that need to be popped out and then you can pull one side of the undercarriage free, then the other.</p>
<p><img src="http://www.jacobpierce.com/blog/wp-content/uploads/2008/06/1_insert-creditcard.jpg" rel=â€lightbox[macbook_air_superdrive]" alt="" /></p>
<p><strong>Step 2:</strong> Remove three (3) screws and disconnect the USB adapter board (shown below).</p>
<p><img src="http://www.jacobpierce.com/blog/wp-content/uploads/2008/06/3_screws.jpg" rel=â€lightbox[macbook_air_superdrive]" alt="" /></p>
<p><strong>Step 3:</strong> All done &#8211; now one can use it to replace essentially any 12.7mm height slot drive or even create your own external USB case. As of June &#8217;08, you could even put the bare drive on eBay and turn a profit.</p>
<p><img src="http://www.jacobpierce.com/blog/wp-content/uploads/2008/06/4_disconnect.jpg" rel=â€lightbox[macbook_air_superdrive]" alt="" /></p>
<p>If you need instructions on pulling apart various Macs and iPods, check out <a href="http://www.ifixit.com/Guide/">ifixit.com/Guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jacobpierce.com/blog/2008/06/01/tear-down-external-usb-macbook-air-superdrive/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

