<?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>MightyOhm &#187; Wireless</title>
	<atom:link href="http://mightyohm.com/blog/tag/wireless/feed/" rel="self" type="application/rss+xml" />
	<link>http://mightyohm.com/blog</link>
	<description>Join the resistance.</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:07:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Retro Wireless Handset in Make: Magazine</title>
		<link>http://mightyohm.com/blog/2009/10/retro-wireless-handset-in-make-magazine/</link>
		<comments>http://mightyohm.com/blog/2009/10/retro-wireless-handset-in-make-magazine/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:45:23 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[makezine]]></category>
		<category><![CDATA[telephony]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.mightyohm.com/blog/?p=2501</guid>
		<description><![CDATA[Volume 20 of Make: magazine, which hits newsstands on November 15th, includes an article I wrote about DIY Telephony titled &#8220;Retro Wireless Handset.&#8221; The article is based on my Bluetooth Handset Hack and includes additional illustrations and step by step instructions to help you build one of your own. If you are a Make: subscriber, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.make-digital.com/make/vol20/?pg=153&amp;amp;pm=1&amp;amp;u1=friend"><img class="alignnone size-full wp-image-2504" title="DIY Telephony: Retro Wireless Handset" src="http://www.mightyohm.com/blog/wp-content/uploads/2009/10/retro_wireless_handset.jpg" alt="DIY Telephony: Retro Wireless Handset" width="500" height="445" /></a></p>
<p>Volume 20 of <a href="http://makezine.com/magazine/">Make: magazine</a>, which hits newsstands on November 15th, includes an article I wrote about DIY Telephony titled &#8220;Retro Wireless Handset.&#8221;</p>
<p>The article is based on my <a href="http://www.mightyohm.com/blog/2008/11/bluetooth-handset-hack/">Bluetooth Handset Hack</a> and includes additional illustrations and step by step instructions to help you build one of your own.</p>
<p>If you are a Make: subscriber, you can read the article via your <a href="https://pubsrv.texterity.com/cgi-bin/mk_request.cgi">digital edition subscription</a>.  Non-subscribers should be able to <a href="http://www.make-digital.com/make/vol20/?pg=153&amp;pm=1&amp;u1=friend">click here for a sneak preview</a>.</p>
<p>Make: is the one magazine I look forward to the most throughout the year.  I am very excited to be a part of Make: and hope to contribute again in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/10/retro-wireless-handset-in-make-magazine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sutro Tower no longer transmitting analog television</title>
		<link>http://mightyohm.com/blog/2009/06/sutro-tower-no-longer-transmitting-analog-television/</link>
		<comments>http://mightyohm.com/blog/2009/06/sutro-tower-no-longer-transmitting-analog-television/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 14:35:59 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DTV]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[san francisco]]></category>
		<category><![CDATA[Sutro Tower]]></category>
		<category><![CDATA[television]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1988</guid>
		<description><![CDATA[As part of the nationwide DTV transition, on Friday, June 12th, Sutro Tower ceased all analog television transmissions by powering down the three main analog TV antennas atop San Francisco&#8217;s iconic three-legged broadcast radio tower. This change is reflected by their status page, which now shows the top of the antenna mostly dark with the [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the nationwide <a href="http://www.nytimes.com/2009/06/14/business/media/14digital.html?hp">DTV transition</a>, on Friday, June 12th, <a href="http://en.wikipedia.org/wiki/Sutro_tower">Sutro Tower</a> ceased all analog television transmissions by powering down the three main analog TV antennas atop San Francisco&#8217;s <a href="http://www.flickr.com/groups/sutrotower/">iconic</a> three-legged broadcast radio tower.</p>
<p>This change is reflected by their <a href="http://sutrotower.com/about_status.html">status page</a>, which now shows the top of the antenna mostly dark with the exception of a few FM radio stations, as shown below.  The DTV mast in the center of the tower is providing temporary digital television service during the tower&#8217;s massive<a href="http://sutrotower.com/conversion.html"> DTV conversion project</a>.</p>
<p><a href="http://sutrotower.com/about_status.html"></a><a href="http://sutrotower.com/about_status.html"><img class="alignnone size-full wp-image-2020" title="Sutro Tower Antenna Status" src="http://mightyohm.com/blog/wp-content/uploads/2009/06/status-8text1.gif" alt="Sutro Tower Antenna Status" width="406" height="632" /></a></p>
<p>According to Gene Zastrow, Sutro&#8217;s general manager, the existing analog television antennas will be replaced with new primary DTV antennas over the next several weeks.  This could make for some great photo opportunities if the weather is decent, as I expect that given the size of the antennas there will be some serious equipment being used on and around the tower.</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/06/sutro-tower-no-longer-transmitting-analog-television/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Building a Wifi Radio &#8211; Part 10, Building the Box</title>
		<link>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-10-building-the-box/</link>
		<comments>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-10-building-the-box/#comments</comments>
		<pubDate>Fri, 29 May 2009 14:30:22 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[amplifier]]></category>
		<category><![CDATA[antenna]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[kc6qhp]]></category>
		<category><![CDATA[lcd]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WL-520GU]]></category>
		<category><![CDATA[woodworking]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1887</guid>
		<description><![CDATA[This is the tenth and final part of a series about building a low cost, open source streaming internet radio based on the ASUS WL-520gU Wireless Router.  If you haven’t already, check out the previous parts (see the links below) for some background about the project. Wow, we&#8217;ve come a long way since part one!  [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is the tenth and final part of a series about building a low cost, open source streaming internet radio based on the <a onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.dpbolvw.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023');" href="http://www.dpbolvw.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023" target="_top">ASUS WL-520gU Wireless Router</a><img src="http://www.ftjcfx.com/image-3238164-10440897" border="0" alt="" width="1" height="1" />.  If you haven’t already, check out the previous parts (see the links below) for some background about the project.</em></p>
<p>Wow, we&#8217;ve come a long way since part one!  To date, there have been nine parts in this series, each covering a different aspect of building the radio:</p>
<ol>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">Building a Wifi Radio &#8211; Part 1, Introduction</a></li>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">Building a Wifi Radio &#8211; Part 2, Choosing an Embedded Platform</a></li>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-3-hacking-the-asus-wl-520gu/">Building a Wifi Radio &#8211; Part 3, Hacking the Asus WL-520GU</a></li>
<li><a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-4-installing-openwrt/">Building a Wifi Radio &#8211; Part 4, Installing OpenWrt</a></li>
<li><a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-5-lets-make-some-noise/">Building a Wifi Radio &#8211; Part 5, Let’s Make Some Noise!</a></li>
<li><a href="http://mightyohm.com/blog/2008/12/building-a-wifi-radio-part-6-a-conversation-with-mpd/">Building a Wifi Radio &#8211; Part 6, A Conversation with Mpd</a></li>
<li><a href="http://mightyohm.com/blog/2008/12/building-a-wifi-radio-part-7-building-an-lcd-display/">Building a Wifi Radio &#8211; Part 7, Building an LCD Display</a></li>
<li><a href="http://mightyohm.com/blog/2009/02/building-a-wifi-radio-part-8-adding-a-tuning-control/">Building a Wifi Radio &#8211; Part 8, Adding a Tuning Control</a></li>
<li><a href="http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-9-a-few-odds-and-ends/">Building a Wifi Radio &#8211; Part 9, A Few Odds and Ends</a></li>
<li>You are here.</li>
</ol>
<h3>Preface to Part 10:</h3>
<p>In this part, I&#8217;m going to show you a few steps in the process I used to turn <a href="http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/">a wireless router</a>, a breadboard, and a pile of loose parts into a finished standalone internet streaming radio receiver.  Unlike the previous parts in the series, I&#8217;m not going to provide detailed step by step instructions.  This is primarily because I don&#8217;t think it&#8217;s realistic to expect everyone to have access to the same tools and materials as I do.  Think of it this way &#8211; this is your opportunity to customize your radio.  Maybe you don&#8217;t like wood veneer, but prefer brushed aluminum or carbon fiber?  Maybe you have a <a href="http://www.epiloglaser.com/">laser cutter</a> at your disposal and can turn a flat sheet of clear acrylic into a snap-together radio in less than 5 minutes?  This is your chance to express your creativity!  Go ahead and <a href="http://creativecommons.org/licenses/by-sa/3.0/us/">copy my design</a>, but don&#8217;t be afraid to go off into left field either&#8230;</p>
<h3>The Box:</h3>
<p>Some time ago, I posted a <a href="http://sketchup.google.com/">Google Sketchup</a> model of the radio enclosure that I created with the help of Tony, a good friend of mine who lives in Southern California.  The idea was to build a box out of wood to mimic the style of a <a href="http://images.google.com/images?hl=en&amp;client=firefox-a&amp;rls=org.mozilla:en-US:official&amp;hs=Qii&amp;q=vintage%20wood%20table%20radio&amp;um=1&amp;ie=UTF-8&amp;sa=N&amp;tab=wi">vintage table radio</a>.  All the components of the radio would be mounted inside the box, with the exception of the antenna (not shown).  We also wanted to add some custom touches to make the design look modern and unique, like black controls and flush mounted contoured speaker grilles and a minimalist front panel layout.</p>
<p>Here&#8217;s the model we came up with:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio Enclosure - Google Sketchup Model" href="http://www.flickr.com/photos/mightyohm/3306019406/"><img class="alignnone" src="http://farm4.static.flickr.com/3623/3306019406_7879de7ace.jpg" alt="Wifi Radio Enclosure - Google Sketchup Model" width="500" height="335" /></a></p>
<p>Tony and I spent a weekend in his garage near Los Angeles finalizing the design, cutting and bending sheets of plywood, making forms, and fitting various pieces of the box together.  Tony, who is far superior to me in the ways of woodworking and fabrication, did most of the work while I looked at stain colors and other details.</p>
<p>A few weeks later, Tony sent me this masterpiece.  Here&#8217;s the box, freshly stained and covered with many carefully sanded coats of polyurethane:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio Case Build" href="http://www.flickr.com/photos/mightyohm/3508538787/"><img class="alignnone" src="http://farm4.static.flickr.com/3324/3508538787_0e6721f96a.jpg" alt="Wifi Radio Case Build" width="500" height="375" /></a></p>
<p>Hopefully Tony will write a post about the process of fabricating the box &#8211; he can provide a lot more details than I can.  For now, check out <a href="http://www.flickr.com/photos/mightyohm/sets/72157607903511625/">my photostream</a> for some in-progress photos of the box.  Tony has <a href="http://www.flickr.com/photos/kc6qhp/3560876194/">some photos</a> as well.</p>
<p>Once it arrived in the mail, it was up to me to combine the empty box with the pile of parts on my workbench to finish the project.</p>
<h3>Finding an Audio Amplifier:</h3>
<p>I wanted a small, inexpensive, stereo <a href="http://en.wikipedia.org/wiki/Audio_amplifier">audio amplifier</a> to mount inside the radio.  Originally, my goal was to find a kit with a few watts of power per channel, single supply operation (preferably with a common supply voltage, like 12V), volume and tone controls, and a compact PCB.  I never found any kits that I really liked (although I may look at <a href="http://www.41hz.com/">41hz</a> for some future higher powered projects).  Eventually I gave up and bought a pair of used <a href="http://support.dell.com/support/edocs/acc/61408/Specs.htm">Altec Lansing ACS90 computer speakers </a>for $5 from <a href="http://weirdstuff.com/">Weird Stuff</a> in Sunnyvale, CA.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Altec Lansing PC Speakers" href="http://www.flickr.com/photos/mightyohm/3559664307/"><img class="alignnone" src="http://farm4.static.flickr.com/3600/3559664307_7c6a674fa3.jpg" alt="Altec Lansing PC Speakers" width="500" height="375" /></a></p>
<p>I took the speakers apart and threw away the plastic speaker boxes.  Inside one is a small stereo audio amplifier that runs on 12V @ &lt; 2A and delivers 4W per channel.  I couldn&#8217;t ask for a better amp for this project, especially for the price!  I also salvaged the hefty speakers for reuse in the radio.</p>
<h3>Building the LCD / Interface Circuit:</h3>
<p>I carefully transferred my AVR microcontroller-based LCD driver / tuner control circuit from my breadboard to a piece of electronics protoboard.  Here&#8217;s the &#8220;component side&#8221; of the perfboard, showing the AVR ATmega168 microcontroller (socketed), 16MHz crystal, contrast trimpot, <a href="http://en.wikipedia.org/wiki/In_Circuit_Serial_Programming_(ICSP)">ICSP</a> pins, and header socket for the LCD:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554113123/"><img class="alignnone" src="http://farm4.static.flickr.com/3305/3554113123_cac79cc8cd.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<p>The &#8220;solder side&#8221; is mostly just interconnect wiring.  The RESET button is in the lower left corner.  I had to notch the PCB to clear one of the control pots inside the radio box.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554920076/"><img class="alignnone" src="http://farm4.static.flickr.com/3580/3554920076_2ca4a8136e.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<p>Here&#8217;s the protoboard with the LCD installed and being tested.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554918518/"><img class="alignnone" src="http://farm3.static.flickr.com/2462/3554918518_a319b00f04.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<h3>Modifying the router:</h3>
<p>I removed the USB and DC power jacks from the WL-520gU PCB.  I&#8217;m planning to use the USB port solely to talk to my <a href="http://mightyohm.com/blog/2008/10/inside-the-syba-sd-cm-uaud-usb-stereo-audio-adapter/">SYBA USB-Audio adapter</a>, so I removed the USB connector from the SYBA as well and wired the USB lines directly to the router.  Some people may disagree with this, but wiring directly to the router simplified the wiring inside the radio and saved space by eliminating unnecessary USB connectors.  I can always put the USB jack back later if I want to connect other USB peripherals.  A pair of wires connects the DC power pins on the router to the radio&#8217;s 5V power supply.  Don&#8217;t attempt this unless you have a decent soldering iron &#8211; it&#8217;s easy to ruin the printed circuit board by overheating the traces.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554918950/"><img class="alignnone" src="http://farm4.static.flickr.com/3655/3554918950_65096001a8.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<h3>The power supply:</h3>
<p>To supply power to the radio, AVR microcontroller, and amplifier, I needed a power supply that could provide both 5V and 12VDC.  I found a used &#8220;brick&#8221; style power supply (also at Weird Stuff) rated at 5V and 12V @ 1.5A.  I believe this type of supply is very commonly used with external hard drive enclosures and shouldn&#8217;t be too hard to find.  Initially I was concerned that a <a href="http://en.wikipedia.org/wiki/Switched-mode_power_supply">switching supply</a> would be too noisy to use with an audio amplifier, but a quick test showed no unexpected noise from the amp.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio Power Supply" href="http://www.flickr.com/photos/mightyohm/3570652013/"><img class="alignnone" src="http://farm3.static.flickr.com/2460/3570652013_b31e23036a.jpg" alt="Wifi Radio Power Supply" width="375" height="500" /></a></p>
<h3>Final assembly:</h3>
<p>Mounting all of the components inside the radio box took a lot of time, epoxy, velcro, and hot glue.  Eventually I was able to get everything except the power supply to fit.  Although originally I had wanted to mount the supply inside the radio, keeping it external ensures that there is no 110V running around inside the box.  This is a nice safety feature, and I think it was a worthwhile compromise.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554925954/"><img class="alignnone" src="http://farm4.static.flickr.com/3405/3554925954_e6b941ff62.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<p>The router is mounted on the left side of the box.  I positioned it close to the back panel so that the antenna connector can pass through and the antenna can be attached.  The amplifier is on the right side.</p>
<p>Here&#8217;s a shot inside the box, showing the microcontroller circuit and LCD display.  The LCD is simply hot glued to the inside of the box.  You can also see the speakers mounted on either side of the display.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Wifi Radio - Final Assembly" href="http://www.flickr.com/photos/mightyohm/3554930936/"><img class="alignnone" src="http://farm4.static.flickr.com/3309/3554930936_b51388e53c.jpg" alt="Wifi Radio - Final Assembly" width="500" height="375" /></a></p>
<h3>The finished result:</h3>
<p>Here&#8217;s the front of the radio.  The LCD display is behind a thin sheet of smoked plexiglass that is press fit into the rectangular opening in the front panel.  The two smaller knobs are connected to potentiometers that I wired to the amplifier in place of the original controls.  The left knob controls volume, the right is for tone.  I originally wanted the volume knob to also be the power switch, but I couldn&#8217;t find a dual audio taper pot that included a switch as well.   The small knobs are from <a href="http://halted.com">HSC</a> in Sunnyvale.  The large knob in the center is the tuning control.  I spotted it at <a href="http://mouser.com">Mouser Electronics</a> (#<a href="http://mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMuiwDVLTMm01UmQJIldByZu8xNgsVCH7DA%3d">450-1755</a> / <a href="http://www.mouser.com/catalog/specsheets/EPD-200217.pdf">datasheet</a>) and couldn&#8217;t resist using it on the radio.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Finished Wifi Radio" href="http://www.flickr.com/photos/mightyohm/3567599841/"><img class="alignnone" src="http://farm4.static.flickr.com/3593/3567599841_c6666d770c.jpg" alt="Finished Wifi Radio" width="500" height="375" /></a></p>
<p>Here&#8217;s a closeup of the front panel with the LCD display powered on:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Finished Wifi Radio" href="http://www.flickr.com/photos/mightyohm/3567609195/"><img class="alignnone" src="http://farm3.static.flickr.com/2455/3567609195_79760d88fe.jpg" alt="Finished Wifi Radio" width="500" height="375" /></a></p>
<p>The back panel is made of fiberboard from Home Depot.  The Wi-Fi antenna is shown on the left.  The LAN ports and buttons of the router are accessible through cutouts in the back panel.  A 6-pin <a href="http://en.wikipedia.org/wiki/Mini-DIN">mini-DIN</a> power jack that matches the power supply I&#8217;m using and the power switch are shown on the right.  Four screws hold the back panel onto the box, so it&#8217;s easy to remove.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Finished Wifi Radio" href="http://www.flickr.com/photos/mightyohm/3568415386/"><img class="alignnone" src="http://farm4.static.flickr.com/3304/3568415386_c4b8b4506e.jpg" alt="Finished Wifi Radio" width="500" height="375" /></a></p>
<p>Here&#8217;s a side view showing the radio&#8217;s rounded corners and matching curved speaker grilles:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Finished Wifi Radio" href="http://www.flickr.com/photos/mightyohm/3568413842/"><img class="alignnone" src="http://farm4.static.flickr.com/3351/3568413842_ca6a2bc59d.jpg" alt="Finished Wifi Radio" width="500" height="375" /></a></p>
<p>Here&#8217;s a video of the radio in action, tuning between a few different preset stations, including <a href="http://www.slayradio.org/home.php">Slay Radio</a>, <a href="http://di.fm">di.fm</a>, and San Francisco&#8217;s <a href="http://somafm.com/">somafm</a> with <a href="http://somafm.com/play/groovesalad">Groove Salad</a>.</p>
<p><object width="500" height="375" data="http://vimeo.com/moogaloop.swf?clip_id=4855103&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4855103&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object></p>
<p>There are <a href="http://www.flickr.com/photos/mightyohm/sets/72157607903511625/">a lot more pictures</a> on Flickr.  Check them out and keep watching the <a href="http://www.flickr.com/groups/asushacks/">Asus Wireless Router Hacks</a> group for other people&#8217;s creations as well!</p>
<h3>Conclusion:</h3>
<p>This has been an epic journey.  Back in October, when I <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">first posted about this project</a>, I never anticipated how much interest there would be in creating a low-cost DIY wireless streaming radio.  I am really thankful for all of the encouragement I have received, both on this site and elsewhere.  Thanks to everyone who has visited from <a href="http://blog.makezine.com">Make</a> and <a href="http://hackaday.com/">Hack a Day</a>, as well as everyone who complimented me on <a href="http://vimeo.com/4714898">my talk</a> at <a href="http://notacon.org">NOTACON</a>.  You guys make it all worthwhile!</p>
<p>By the way, if you have questions or comments, join the <a href="http://mightyohm.com/forum/viewforum.php?f=2">forums</a>!</p>
<p>Thanks for reading, and until next time, happy hacking!</p>
<p>- Jeff Keyzer aka <em>mightyohm</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-10-building-the-box/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Building a Wifi Radio &#8211; Part 9, A Few Odds and Ends</title>
		<link>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-9-a-few-odds-and-ends/</link>
		<comments>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-9-a-few-odds-and-ends/#comments</comments>
		<pubDate>Wed, 27 May 2009 15:31:19 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1872</guid>
		<description><![CDATA[This is the ninth part of an ongoing series about building a low cost, open source streaming internet radio based on the ASUS WL-520gU Wireless Router.  If you haven’t already, check out the previous parts (see the links at the end of this article) for some background about the project. In part eight, we added [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is the ninth part of an ongoing series about building a low cost, open source streaming internet radio based on the <a onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.dpbolvw.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023');" href="http://www.dpbolvw.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023" target="_top">ASUS WL-520gU Wireless Router</a><img src="http://www.ftjcfx.com/image-3238164-10440897" border="0" alt="" width="1" height="1" />.  If you haven’t already, check out the previous parts (see the links at the end of this article) for some background about the project.</em></p>
<p>In <a href="http://mightyohm.com/blog/2009/02/building-a-wifi-radio-part-8-adding-a-tuning-control/">part eight</a>, we added a tuning control for the radio.  Now we can change to any of ten preset stations on the radio by adjusting the position of a potentiometer connected to our AVR microcontroller.   The LCD display we built in <a href="http://mightyohm.com/blog/2008/12/building-a-wifi-radio-part-7-building-an-lcd-display/">part seven</a> lets us know what stream we&#8217;re listening to and the artist and title of the current song.  This project is coming together very nicely!</p>
<p>Before we put the final touches on this project in part ten, there are a few miscellaneous chores to take care of:</p>
<h3>Fixing /etc/config/wireless:</h3>
<p><a href="http://mightyohm.com/blog/2009/02/building-a-wifi-radio-part-8-adding-a-tuning-control/">Last time</a>, we tweaked /etc/config/network to assign a static IP address to the LAN (ethernet) ports of the router.  This allowed us to directly connect a computer to the router via an ethernet cable and get a shell prompt, regardless of the state of the serial console or the wireless connection of the router.  Unfortunately, I made an omission in the setup instructions which may prevent this from working correctly.</p>
<p>To fix this, modify /etc/config/wireless as follows (changes are in bold, use your wireless network information in place of my example):</p>
<pre style="padding-left: 30px;">config wifi-device  wl0
    option type     broadcom
    option channel  3

    # REMOVE THIS LINE TO ENABLE WIFI:
    # option disabled 1

config wifi-iface
    option device   wl0
    option network  <strong>wan</strong>
    option mode     sta  # configures the router to connect to your network
    option ssid     MyNetwork # the SSID of your network
    option encryption wep  # the encryption mode of your network
    option key	XXXXXXXXXX  # add this line with your WEP key in place of X...X</pre>
<p>The only change is to set &#8220;option network&#8221; to &#8220;wan&#8221; instead of &#8220;lan&#8221;.  This minor change tells the router to separate the wireless interface of the router from the LAN/ethernet interface and allows the router to acquire two separate IP addresses, one for each interface.</p>
<h3>Launching mpd automatically at startup:</h3>
<p>Manually launching mpd every time the router boots is a drag.  You can automate this by creating a symbolic link to /etc/init.d/mpd from the /etc/rc.d directory, as follows:</p>
<pre style="padding-left: 30px;">root@OpenWrt:~# ln -s /etc/init.d/mpd /etc/rc.d/S93mpd</pre>
<p>Now every time the router boots, mpd will be started automatically as part of the boot process.  (That was easy!)</p>
<h3>Boot script for the user interface:</h3>
<p>Assuming we want a dedicated internet radio that doesn&#8217;t require user intervention to operate, the scripts for the LCD display and tuning control should also be launched at startup.  This will ensure that upon applying power, the radio will boot into a state where a stream is playing and the user interface is active.</p>
<p>First, we need to create a simple boot script.  Create the file /etc/init.d/AVR with the following contents:</p>
<pre style="padding-left: 30px;">#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org</pre>
<pre style="padding-left: 30px;">START=99
start() {
sleep 5    # make sure boot process is done, no more console messages
/root/interface.sh
}</pre>
<p>To launch the script at boot, create a symbolic link as follows:</p>
<pre style="padding-left: 30px;">root@OpenWrt:~# ln -s /etc/init.d/AVR /etc/rc.d/S99AVR</pre>
<p>Every time the router boots, the user interface will automatically start, mpd will start playing the selected stream based on the tuner position, and the AVR microcontroller (assuming it is still connected to the serial port) will update the LCD display and watch the potentiometer for any changes in position.</p>
<h3>Tweaking the firewall configuration:</h3>
<p>This is actually optional, but it can be pretty useful while hacking on the router.  As presently configured, the router blocks incoming requests on the WAN, which now includes the wireless interface.  This prevents us from using ssh or telnet to log into the router over our wireless network.  While we can still get a shell by connecting an ethernet cable to one of the LAN ports on the router, it is often more convenient to access the router across your wireless network.</p>
<p>The file /etc/config/firewall controls the firewall settings.  We&#8217;ll be modifying this file.</p>
<p>Open the file in vi and scroll down to this section:</p>
<pre style="padding-left: 30px;">config zone
    option name        wan
    option input    REJECT
    option output    ACCEPT
    option forward    REJECT
    option masq        1</pre>
<p>Edit the &#8220;option input&#8221; line so that it looks like this:</p>
<pre style="padding-left: 30px;">config zone
    option name        wan
   <strong> option input    ACCEPT</strong>
    option output    ACCEPT
    option forward    REJECT
    option masq        1</pre>
<p>Now restart the firewall (or just reboot the router):</p>
<pre style="padding-left: 30px;">root@OpenWrt:~# /etc/init.d/firewall restart</pre>
<p>You should now be able to ssh or telnet into the router over your wireless network.</p>
<h3>Enable SSH:</h3>
<p>By the way, if you want to access the router with <a href="http://en.wikipedia.org/wiki/Ssh">ssh</a> instead of <a href="http://en.wikipedia.org/wiki/Telnet">telnet</a>, just set a root password.  The telnet daemon will be disabled (for security reasons) and replaced with an <a href="http://matt.ucc.asn.au/dropbear/dropbear.html">SSH daemon</a> instead.  You can do this with the &#8220;passwd&#8221; command.</p>
<pre style="padding-left: 30px;">root@OpenWrt:~# passwd
Changing password for root
New password: *****
Retype password: *****
Password for root changed by root
root@OpenWrt:~#</pre>
<p>Log out of your telnet session and use ssh to log back in with your favorite ssh client (don&#8217;t forget to tell the client to use the username &#8220;root&#8221;).</p>
<h3>Stay tuned!</h3>
<p><a class="tt-flickr tt-flickr-Small" title="Wifi Radio Enclosure - Google Sketchup Model" href="http://www.flickr.com/photos/mightyohm/3306019406/"><img class="alignnone" src="http://farm4.static.flickr.com/3623/3306019406_7879de7ace_m.jpg" alt="Wifi Radio Enclosure - Google Sketchup Model" width="240" height="161" /></a></p>
<p>That&#8217;s it for now.  Stay tuned for the final part in this series, part ten, in which I&#8217;ll talk about what it took to turn this Sketchup model into a real wooden case for the radio!</p>
<p><strong>Update: </strong>Part ten (the final part in the series) <a href="http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-10-building-the-box/">is now online.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-9-a-few-odds-and-ends/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NOTACON slides now available for download</title>
		<link>http://mightyohm.com/blog/2009/04/notacon-slides-now-available-for-download/</link>
		<comments>http://mightyohm.com/blog/2009/04/notacon-slides-now-available-for-download/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 17:42:59 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[NOTACON]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WL-520GU]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1701</guid>
		<description><![CDATA[I just uploaded the slides from my talk at NOTACON about Hacking the Asus WL-520gU Wireless Router. Eventually a video of the talk will be available from the NOTACON media archive, but for now check out the slides to see some examples of what can be done with the Asus WL-520gU uber hacking platform. If [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mightyohm.com/files/wifiradio/Jeff_Keyzer-Hacking_the_Asus_WL520gU.pdf"><img class="alignnone size-full wp-image-1705" title="jeff_keyzer-hacking_the_asus_wl520gu_scaled" src="http://mightyohm.com/blog/wp-content/uploads/2009/04/jeff_keyzer-hacking_the_asus_wl520gu_scaled.jpg" alt="jeff_keyzer-hacking_the_asus_wl520gu_scaled" width="500" height="375" /></a></p>
<p>I just uploaded the <a href="http://mightyohm.com/files/wifiradio/Jeff_Keyzer-Hacking_the_Asus_WL520gU.pdf">slides</a> from my talk at <a href="http://notacon.org">NOTACON</a> about <a href="http://www.notacon.org/speakers.html#Keyzer">Hacking the Asus WL-520gU Wireless Router</a>.</p>
<p>Eventually a video of the talk will be available from the <a href="http://www.notaconmedia.com/index.shtml">NOTACON media archive</a>, but for now check out the slides to see some examples of what can be done with the <a href="http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/">Asus WL-520gU uber hacking platform</a>.</p>
<p>If you have any questions about the talk, you can ask them over on the <a href="http://mightyohm.com/forum/viewforum.php?f=2">forums</a> or <a href="http://mightyohm.com/blog/contact/">contact me directly</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/04/notacon-slides-now-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video: Hacking the ASUS router for the Tweet-a-Watt</title>
		<link>http://mightyohm.com/blog/2009/04/video-hacking-the-asus-router-for-the-tweet-a-watt/</link>
		<comments>http://mightyohm.com/blog/2009/04/video-hacking-the-asus-router-for-the-tweet-a-watt/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 15:20:08 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[adafruit]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WL-520GU]]></category>
		<category><![CDATA[xbee]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1655</guid>
		<description><![CDATA[As I mentioned last week, Adafruit Industries is hacking the Asus WL-520gU wireless router to talk to the Tweet-a-Watt. Their hack is based on the work I did to create my Wifi Radio project. Check out the video below to learn more about their cool hack!]]></description>
			<content:encoded><![CDATA[<p>As I mentioned <a href="http://mightyohm.com/blog/2009/03/tweet-a-watt-uses-wl-520gu-for-data-acquisition/">last week</a>, Adafruit Industries is <a href="http://www.adafruit.com/blog/2009/04/04/hacking-the-asus-router-for-the-tweet-a-watt/">hacking the Asus WL-520gU wireless router to talk to the Tweet-a-Watt</a>.</p>
<p>Their hack is based on the work I did to create my <a href="http://mightyohm.com/wifiradio/">Wifi Radio project</a>.</p>
<p>Check out the video below to learn more about their cool hack!</p>
<p><object width="500" height="375" data="http://blip.tv/play/g4Fg+IBvhq8E%2Em4v" type="application/x-shockwave-flash"><param name="src" value="http://blip.tv/play/g4Fg+IBvhq8E%2Em4v" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/04/video-hacking-the-asus-router-for-the-tweet-a-watt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Flickr Pool: Asus Wireless Router Hacks</title>
		<link>http://mightyohm.com/blog/2009/03/new-flickr-pool-asus-wireless-router-hacks/</link>
		<comments>http://mightyohm.com/blog/2009/03/new-flickr-pool-asus-wireless-router-hacks/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 20:18:29 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WL-520GU]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=1366</guid>
		<description><![CDATA[New projects utilizing Asus wireless routers as tiny Linux computers are popping up with increasing frequency, so I started a Flickr pool for these creative individuals to post and share their cool hacks.  Have you hacked an Asus wireless router, such as the WL-520gU or the WL-500g Premium V2, into something more?  Take some pics [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start of Flickr Badge --><a href="http://www.flickr.com/photos/ladyada/3318289854/">New projects</a> utilizing <a href="http://www.anrdoezrs.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023" target="_top">Asus wireless routers</a><img src="http://www.tqlkg.com/image-3238164-10440897" border="0" alt="" width="1" height="1" /> as <a href="http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/">tiny Linux computers</a> are popping up with increasing frequency, so I started a Flickr pool for these creative individuals to post and share their cool hacks.  Have you hacked an Asus wireless router, such as the WL-520gU or the WL-500g Premium V2, into something more?  Take some pics and <a href="http://www.flickr.com/groups/asushacks/">add them to the pool</a>!<br />
<!--<br />
#flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;}<br />
#flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;}<br />
#flickr_icon_td {padding:0 5px 0 0 !important;}<br />
.flickr_badge_image {text-align:center !important;}<br />
.flickr_badge_image img {border: 1px solid black !important;}<br />
#flickr_www {display:block; text-align:left; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}<br />
#flickr_badge_uber_wrapper a:hover,<br />
#flickr_badge_uber_wrapper a:link,<br />
#flickr_badge_uber_wrapper a:active,<br />
#flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}<br />
#flickr_badge_wrapper {background-color:#ffffff;border: solid 1px #000000}<br />
#flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}<br />
--></p>
<table id="flickr_badge_uber_wrapper" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td><a id="flickr_www" href="http://www.flickr.com">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a></p>
<table id="flickr_badge_wrapper" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr><script src="http://www.flickr.com/badge_code_v2.gne?show_name=1&amp;count=3&amp;display=random&amp;size=t&amp;layout=h&amp;context=in%2Fpool-asushacks%2F&amp;source=group&amp;group=995895%40N25" type="text/javascript"></script></p>
<td id="flickr_badge_source" align="center" valign="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="flickr_icon_td" width="10"><a href="http://www.flickr.com/groups/asushacks/pool/"><img id="flickr_badge_icon" src="http://farm4.static.flickr.com/3387/buddyicons/995895@N25.jpg?1235881613" alt="items in Asus Wireless Router Hacks" width="48" height="48" align="left" /></a></td>
<td id="flickr_badge_source_txt">More <a href="http://www.flickr.com/groups/asushacks/pool/">in Asus Wireless Router Hacks pool</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><!-- End of Flickr Badge --></p>
<p><a href="http://www.flickr.com/groups/asushacks/">Flickr: Asus Wireless Router Hacks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2009/03/new-flickr-pool-asus-wireless-router-hacks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Detailed specs for the Asus WL-520GU uber hacking platform</title>
		<link>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/</link>
		<comments>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 00:03:13 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wifi]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=470</guid>
		<description><![CDATA[In my previous post about the Wifi Radio project I&#8217;m working on, I concluded that the Asus WL-520GU wireless router was the perfect choice for an embedded wireless platform, thanks to its builtin 802.11g WiFi, Linux support, and extremely low cost. (In fact, the price after rebate has dropped since my last post &#8211; now [...]]]></description>
			<content:encoded><![CDATA[<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279643/"><img class="alignnone" src="http://farm4.static.flickr.com/3222/2950279643_374493fa81.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>In my <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">previous post</a> about the <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">Wifi Radio project</a> I&#8217;m working on, I concluded that the <a href="http://www.asus.com/products.aspx?l1=12&amp;l2=43&amp;l3=0&amp;l4=0&amp;model=1671&amp;modelmenu=1">Asus WL-520GU</a> wireless router was the perfect choice for an embedded wireless platform, thanks to its builtin 802.11g WiFi, Linux support, and <a href="http://www.jdoqocy.com/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&#038;cjsku=N82E16833320023" target="_top">extremely low cost</a><img src="http://www.tqlkg.com/image-3238164-10440897" width="1" height="1" border="0"/>.  (In fact, the price after rebate has dropped since my last post &#8211; now would probably be a good time to buy one if you&#8217;re thinking about hacking it into something eventually).</p>
<p>Here are the specs on this router, based on an inspection of the hardware and the stock firmware Linux kernel boot log (the complete log is <a href="http://mightyohm.com/blog/wp-content/uploads/2008/10/wl520gu-stock-firmware-boot.txt">here</a>).</p>
<ul>
<li>CPU: <a href="http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM5354">Broadcom BCM5354KFBG SoC</a> @ 200MHz (240MHz?)
<ul>
<li>Builtin 802.11g wireless transceiver</li>
<li>Builtin 10/100 ethernet switch</li>
<li>Core supports 2 serial ports, only 1 is available on the PCB (installed 4 pin header shown in photo above)</li>
</ul>
</li>
<li>RAM: 16MB Samsung K4S281632I SRAM</li>
<li>Flash: 4MB MX 29LV320CB</li>
<li>One USB 1.1 port (<a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Asus/WL520GU">USB 2.0 support is broken</a> according to the folks at OpenWRT)</li>
<li><a href="http://www.sige.com/">SiGe Semiconductor</a> <a href="http://www.sige.com/uploads/briefs/DST-00074_SiGe_SE2528L_brief_Rev_Sep-10-2008.pdf">2528L</a> discrete RF Power Amplifier IC</li>
<li>One external TX/RX whip antenna (RPSMA), internal diversity RX antenna on PCB</li>
<li>Internal 3.3V DC-DC converter</li>
<li>PCB Dimensions: 4.0&#8243; x 5.6&#8243;</li>
<li>Supply: 5V @ &lt;2A</li>
</ul>
<p>Here are some images of the PCB, click for a larger version.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279305/"><img class="alignnone" src="http://farm4.static.flickr.com/3148/2950279305_9982c60573.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a> <a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279477/"><img class="alignnone" src="http://farm4.static.flickr.com/3244/2950279477_6197e58763.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>Here&#8217;s a closeup of the <a href="http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM5354">Broadcom BCM5354 SoC</a> &#8211; the brains of the router.  It is surrounded by a 4MB MX flash chip above and a Samsung 4MB SRAM chip on the right.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2951132866/"><img class="alignnone" src="http://farm4.static.flickr.com/3275/2951132866_6d8d72ebc8.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>Overall this is a great little router and an even better platform to build an embedded Linux system, provided you don&#8217;t need USB 2.0 support.  If you do, look at the <a href="http://www.asus.com/products.aspx?l1=12&amp;l2=43&amp;l3=0&amp;l4=0&amp;model=1712&amp;modelmenu=2">WL-500gP v2</a> instead, it has two working USB 2.0 ports (in addition to much more flash storage and RAM).</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Building a Wifi Radio &#8211; Part 1, Introduction</title>
		<link>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/</link>
		<comments>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:16:01 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Streaming Radio]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=333</guid>
		<description><![CDATA[This article is the first of a series that will document the development of a low cost, open source wireless streaming internet radio receiver.  All construction details, including schematics, source code, and even the design process itself will be documented on this blog. Comments and (constructive) criticism are welcome. Click here to post a comment. [...]]]></description>
			<content:encoded><![CDATA[<p><em>This article is the first of a series that will document the development of a low cost, open source wireless streaming internet radio receiver.  All construction details, including schematics, source code, and even the design process itself will be documented on this blog.</em></p>
<p><em>Comments and (constructive) criticism are welcome. </em> <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/#respond"><em>Click here to post a comment.</em></a></p>
<h3>Table of Contents:</h3>
<ol>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">Building a Wifi Radio &#8211; Part 1, Introduction</a> (you are here)<a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/"><br />
</a></li>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">Building a Wifi Radio &#8211; Part 2, Choosing an Embedded Platform</a></li>
<li><a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-3-hacking-the-asus-wl-520gu/">Building a Wifi Radio &#8211; Part 3, Hacking the Asus WL-520GU</a></li>
<li><a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-4-installing-openwrt/">Building a Wifi Radio &#8211; Part 4, Installing OpenWrt</a></li>
<li><a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-5-lets-make-some-noise/">Building a Wifi Radio &#8211; Part 5, Let’s Make Some Noise!</a></li>
<li><a href="http://mightyohm.com/blog/2008/12/building-a-wifi-radio-part-6-a-conversation-with-mpd/">Building a Wifi Radio &#8211; Part 6, A Conversation with Mpd</a></li>
<li><a href="http://mightyohm.com/blog/2008/12/building-a-wifi-radio-part-7-building-an-lcd-display/">Building a Wifi Radio &#8211; Part 7, Building an LCD Display</a></li>
<li><a href="http://mightyohm.com/blog/2009/02/building-a-wifi-radio-part-8-adding-a-tuning-control/">Building a Wifi Radio &#8211; Part 8, Adding a Tuning Control</a></li>
<li><a href="http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-9-a-few-odds-and-ends/">Building a Wifi Radio &#8211; Part 9, A Few Odds and Ends</a></li>
<li><a href="http://mightyohm.com/blog/2009/05/building-a-wifi-radio-part-10-building-the-box/">Building a Wifi Radio &#8211; Part 10, Building the Box</a></li>
</ol>
<h3>Some background:</h3>
<p><a href="http://en.wikipedia.org/wiki/Streaming_radio">According to Wikipedia</a>, in 1993 the first internet radio program began distribution.  At that time, radio programs were manually downloaded to be played later on the user&#8217;s home computer; the user experience was far from that of listening to a <a href="http://en.wikipedia.org/wiki/Radio">traditional</a> broadcast radio receiver.  It was not until several years later that <a href="http://en.wikipedia.org/wiki/Streaming_radio#Streaming">streaming radio</a> became common, giving birth to <a href="http://www.di.fm/">internet radio stations</a> that could be listened to much like traditional radio, but with several advantages.  Most notably, internet radio stations were (and still are for the most part) largely devoid of on-air advertising, and stations anywhere on the globe could be received by anyone with access to the internet.  Over time, improvements in audio compression (such as <a href="http://en.wikipedia.org/wiki/MP3">MP3</a>) and larger end user bandwidth improved the fidelity and reliability of internet radio.  The birth of common standards like <a href="http://www.shoutcast.com/">Shoutcast</a> made it possible to listen to many stations with a single player program, like <a href="http://www.winamp.com/">Winamp</a>.</p>
<p>Today, most music playback software supports streaming radio in some way.  <a href="http://www.apple.com/itunes/">iTunes</a> features thousands of streaming radio stations and <a href="http://en.wikipedia.org/wiki/ITunes#Internet_radio">even supports Shoutcast streams</a> so that users can easily add additional stations of their own.</p>
<p>The beautiful thing about streaming radio is the huge diversity in programming that is available.  Many college radio stations have a streaming server, like <a href="http://www.kdvs.org/listen/">KDVS</a>.  <a href="http://www.di.fm/">Digitally Imported</a> hosts many electronic and dance music streams that give the listener the choice to listen to specific genres like <a href="http://www.di.fm/mp3/ambient.pls">ambient</a> or <a href="http://www.di.fm/mp3/gabber.pls">gabber hardcore</a> <em>(whoa)</em>.  Broadcast radio usually lumps all electronic dance music into one category, much to the dismay of their listeners (who probably tuned out during the commercial break, anyway).  Gems like <a href="http://www.slayradio.org">Slay Radio</a> specialize in music you would never hear on broadcast FM, like <a href="http://en.wikipedia.org/wiki/C64">Commodore 64</a> <a href="http://remix.kwed.org/">remixes</a>.</p>
<p>In the past couple years, products have started to appear that mimic the form and function of a traditional radio, but play internet radio instead.  Good examples of these are the <a href="http://www.roku.com/products_soundbridgeradio.php">Roku SoundbridgeRadio</a> and the <a href="http://www.amazon.com/Asus-INTERNET-RADIO-AIR-WOOD/dp/B000Y9TRFQ/ref=sr_1_2?ie=UTF8&amp;s=electronics&amp;qid=1223601330&amp;sr=8-2">ASUS Internet Air</a>.  Remote speaker devices, such as the <a href="http://www.apple.com/airportexpress/">Apple Airport Express</a>, require a PC to receive and relay streaming radio but achieve a similar end result (but don&#8217;t really look much like a radio).</p>
<h3><strong>The Wifi Radio project:<br />
</strong></h3>
<p>I have been wanting to build a streaming radio for some time.  I frequently work in my garage, where I occasionally use my <a href="http://www.apple.com/macbook/">Macbook</a> to play music through a small amplifier and bookshelf speakers.  The problem is that my laptop is not always set up in the garage, and greasy fingers are not a good thing to have around a white laptop, period.  I could simply <a href="http://www.amazon.com/s?ie=UTF8&amp;tag=mozilla-20&amp;index=blended&amp;link_code=qs&amp;field-keywords=internet%20radio">buy</a> an internet radio, but I couldn&#8217;t stomach the $150-$300 price tag on most players for such a luxury.</p>
<p>So I decided to build one instead.</p>
<p>I started the design process by drafting an outline of desired features, and then breaking them down into wants and needs, while trying to keep the project scope under control.</p>
<p><em>Requirements:</em></p>
<ul>
<li>Wireless connectivity through existing Wifi network</li>
<li>Audio output (preferably 44kHz, 16 bit stereo)</li>
<li>An integrated amplifier and speaker(s)</li>
<li>Shoutcast/MP3 streaming audio decode</li>
<li>Several builtin station presets</li>
<li>A display to indicate the station and currently playing song</li>
<li>Simple user interface, using standard radio controls (volume, tune, etc)</li>
<li>110VAC operation</li>
</ul>
<p><em>Optional features:</em></p>
<ul>
<li>Line output (to connect to a receiver/amplifier)</li>
<li>Web server for configuration/management</li>
<li>Ability to play files off a USB stick or iTunes server</li>
</ul>
<p><em>Definitely<strong> won&#8217;t </strong>be a feature:</em></p>
<ul>
<li>Any kind of over-the-air radio tuner</li>
<li>Commercials</li>
<li>Pledge season</li>
<li>Morning DJ&#8217;s</li>
<li><em>&#8220;Blah, blah, blah.&#8221;</em></li>
</ul>
<p>Now that we&#8217;ve defined the project&#8230;  it&#8217;s time for a commercial break.  That&#8217;s it for part 1 of this series.  Stay tuned for <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">part 2</a>, where I&#8217;ll talk about choosing an embedded platform for the design and why Linux is so awesome!</p>
<p><strong>Update:</strong> <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">Part two is now available, click here to see it!</a></p>
<p><strong>Update 2:</strong> There is a new <a href="http://mightyohm.com/forum/viewforum.php?f=2">Wifi Radio Discussion Forum</a>, hop over there to ask questions about the project or see what other people are working on!  (<em>4/12/09)</em></p>
<p><strong>Update 3 (6/1/09):</strong> I finally added a table of contents to the top of this post to help everyone (including me) navigate the series!<em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
<enclosure url="http://www.di.fm/mp3/ambient.pls" length="189" type="audio/x-scpls" />
<enclosure url="http://www.di.fm/mp3/gabber.pls" length="196" type="audio/x-scpls" />
		</item>
	</channel>
</rss>

