{"id":333,"date":"2008-10-09T18:16:01","date_gmt":"2008-10-10T01:16:01","guid":{"rendered":"http:\/\/mightyohm.com\/blog\/?p=333"},"modified":"2015-09-26T11:11:12","modified_gmt":"2015-09-26T18:11:12","slug":"building-a-wifi-radio-part-1-introduction","status":"publish","type":"post","link":"https:\/\/mightyohm.com\/blog\/2008\/10\/building-a-wifi-radio-part-1-introduction\/","title":{"rendered":"Building a Wifi Radio &#8211; Part 1, Introduction"},"content":{"rendered":"<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.\u00a0 All construction details, including schematics, source code, and even the design process itself will be documented on this blog.<\/em><\/p>\n<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>\n<h3>Table of Contents:<\/h3>\n<ol>\n<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 \/>\n<\/a><\/li>\n<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>\n<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>\n<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>\n<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\u2019s Make Some Noise!<\/a><\/li>\n<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>\n<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>\n<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>\n<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>\n<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>\n<\/ol>\n<h3>Some background:<\/h3>\n<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Streaming_radio\">According to Wikipedia<\/a>, in 1993 the first internet radio program began distribution.\u00a0 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.\u00a0 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.\u00a0 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.\u00a0 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.\u00a0 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>\n<p>Today, most music playback software supports streaming radio in some way.\u00a0 <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>\n<p>The beautiful thing about streaming radio is the huge diversity in programming that is available.\u00a0 Many college radio stations have a streaming server, like <a href=\"http:\/\/www.kdvs.org\/listen\/\">KDVS<\/a>.\u00a0 <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>.\u00a0 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).\u00a0 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>\n<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.\u00a0 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>.\u00a0 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>\n<h3><strong>The Wifi Radio project:<br \/>\n<\/strong><\/h3>\n<p>I have been wanting to build a streaming radio for some time.\u00a0 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.\u00a0 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.\u00a0 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>\n<p>So I decided to build one instead.<\/p>\n<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>\n<p><em>Requirements:<\/em><\/p>\n<ul>\n<li>Wireless connectivity through existing Wifi network<\/li>\n<li>Audio output (preferably 44kHz, 16 bit stereo)<\/li>\n<li>An integrated amplifier and speaker(s)<\/li>\n<li>Shoutcast\/MP3 streaming audio decode<\/li>\n<li>Several builtin station presets<\/li>\n<li>A display to indicate the station and currently playing song<\/li>\n<li>Simple user interface, using standard radio controls (volume, tune, etc)<\/li>\n<li>110VAC operation<\/li>\n<\/ul>\n<p><em>Optional features:<\/em><\/p>\n<ul>\n<li>Line output (to connect to a receiver\/amplifier)<\/li>\n<li>Web server for configuration\/management<\/li>\n<li>Ability to play files off a USB stick or iTunes server<\/li>\n<\/ul>\n<p><em>Definitely<strong> won&#8217;t <\/strong>be a feature:<\/em><\/p>\n<ul>\n<li>Any kind of over-the-air radio tuner<\/li>\n<li>Commercials<\/li>\n<li>Pledge season<\/li>\n<li>Morning DJ&#8217;s<\/li>\n<li><em>&#8220;Blah, blah, blah.&#8221;<\/em><\/li>\n<\/ul>\n<p>Now that we&#8217;ve defined the project&#8230;\u00a0 it&#8217;s time for a commercial break.\u00a0 That&#8217;s it for part 1 of this series.\u00a0 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>\n<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>\n<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!\u00a0 (<em>4\/12\/09)<\/em><\/p>\n<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 \/>\n<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is the first of a series that will document the development of a low cost, open source wireless streaming internet radio receiver.\u00a0 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. &hellip; <a href=\"https:\/\/mightyohm.com\/blog\/2008\/10\/building-a-wifi-radio-part-1-introduction\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Building a Wifi Radio &#8211; Part 1, Introduction<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":5694,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,443],"tags":[36,72,66,24,71,162,73],"class_list":["post-333","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-projects-2","tag-diy","tag-embedded","tag-linux","tag-project","tag-streaming-radio","tag-wifiradio","tag-wireless"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/mightyohm.com\/blog\/wp-content\/uploads\/2008\/10\/3567609195_26d2582df5_o.jpg","jetpack_shortlink":"https:\/\/wp.me\/pioCd-5n","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":367,"url":"https:\/\/mightyohm.com\/blog\/2008\/10\/building-a-wifi-radio-part-2-choosing-an-embedded-platform\/","url_meta":{"origin":333,"position":0},"title":"Building a Wifi Radio &#8211; Part 2, Choosing an Embedded Platform","author":"Jeff","date":"October 17, 2008","format":false,"excerpt":"This is the second part of an ongoing series about building a low cost, open source streaming internet radio.\u00a0 if you haven't already, check out part one for some background about the project. Onward... In part one, I discussed the merits of streaming internet radio and the motivations for my\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/mightyohm.com\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2008\/10\/hammer_01-large-150x150.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1887,"url":"https:\/\/mightyohm.com\/blog\/2009\/05\/building-a-wifi-radio-part-10-building-the-box\/","url_meta":{"origin":333,"position":1},"title":"Building a Wifi Radio &#8211; Part 10, Building the Box","author":"Jeff","date":"May 29, 2009","format":false,"excerpt":"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.\u00a0 If you haven\u2019t already, check out the previous parts (see the links below) for some background about the project. Wow, we've come a\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/mightyohm.com\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"http:\/\/www.ftjcfx.com\/image-3238164-10440897","width":350,"height":200},"classes":[]},{"id":1902,"url":"https:\/\/mightyohm.com\/blog\/2009\/05\/sneak-peak-at-my-finished-wifi-radio-project\/","url_meta":{"origin":333,"position":2},"title":"Sneak peek at my finished Wifi Radio project!","author":"Jeff","date":"May 28, 2009","format":false,"excerpt":"While I'm busy working on part ten of my series on building a wireless router-based DIY streaming internet radio, I couldn't resist sharing a few photos of the finished project. If you want to see the radio in person, stop by Expo Hall Booth 166 at the Maker Faire in\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/mightyohm.com\/blog\/category\/electronics\/"},"img":{"alt_text":"Finished Wifi Radio","src":"https:\/\/i0.wp.com\/mightyohm.com\/files\/flickr\/3567609195_79760d88fe.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2081,"url":"https:\/\/mightyohm.com\/blog\/2009\/07\/building-a-wifi-radio-leave-a-comment-here\/","url_meta":{"origin":333,"position":3},"title":"Building a Wifi Radio?  Leave a comment here!","author":"Jeff","date":"July 7, 2009","format":false,"excerpt":"Did my Wifi Radio project inspire you to buy a wireless router and start hacking?\u00a0 If so, I'd like to hear from you! Leave a comment below and let me know how your project is coming along.\u00a0 Even if you're not building a Wifi Radio but used my firmware or\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/mightyohm.com\/blog\/category\/projects-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":598,"url":"https:\/\/mightyohm.com\/blog\/2008\/11\/building-a-wifi-radio-part-5-lets-make-some-noise\/","url_meta":{"origin":333,"position":4},"title":"Building a Wifi Radio &#8211; Part 5, Let&#8217;s Make Some Noise!","author":"Jeff","date":"November 8, 2008","format":false,"excerpt":"This is the fifth part of an ongoing series at mightyOhm about building a low cost, open source streaming internet radio.\u00a0 If you haven't already, check out the previous parts below for some background about the project. Building a Wifi Radio - Part 1, Introduction Building a Wifi Radio -\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/mightyohm.com\/blog\/category\/projects-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1872,"url":"https:\/\/mightyohm.com\/blog\/2009\/05\/building-a-wifi-radio-part-9-a-few-odds-and-ends\/","url_meta":{"origin":333,"position":5},"title":"Building a Wifi Radio &#8211; Part 9, A Few Odds and Ends","author":"Jeff","date":"May 27, 2009","format":false,"excerpt":"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.\u00a0 If you haven\u2019t already, check out the previous parts (see the links at the end of this article) for some background about the project.\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/mightyohm.com\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"http:\/\/www.ftjcfx.com\/image-3238164-10440897","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":44,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":4991,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions\/4991"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/media\/5694"}],"wp:attachment":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}