{"id":23314,"date":"2017-01-11T09:00:26","date_gmt":"2017-01-11T13:00:26","guid":{"rendered":"http:\/\/swling.com\/blog\/?p=23314"},"modified":"2017-01-11T22:03:43","modified_gmt":"2017-01-12T02:03:43","slug":"guest-post-richard-builds-a-wifi-radio-with-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/swling.com\/blog\/2017\/01\/guest-post-richard-builds-a-wifi-radio-with-the-raspberry-pi\/","title":{"rendered":"Guest Post: Richard builds a WiFi radio with the Raspberry Pi"},"content":{"rendered":"<p><em>Many thanks to SWLing Post contributor,\u00a0Richard Schreiber (KE7KRF), who shares the following guest post:<\/em><\/p>\n<hr \/>\n<h2><a href=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2017\/01\/RaspberryPi-WiFi-Internet-Radio-copy.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23321\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2017\/01\/RaspberryPi-WiFi-Internet-Radio-copy.jpg\" alt=\"\" width=\"640\" height=\"348\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2017\/01\/RaspberryPi-WiFi-Internet-Radio-copy.jpg 640w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2017\/01\/RaspberryPi-WiFi-Internet-Radio-copy-300x163.jpg 300w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2017\/01\/RaspberryPi-WiFi-Internet-Radio-copy-624x339.jpg 624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a>Yet Another Internet Radio!<\/h2>\n<p style=\"text-align: right;\"><strong>by\u00a0Richard Schreiber (KE7KRF)<\/strong><\/p>\n<p>After deciding that an internet radio could be an important source of entertainment in our household, we formulated a few general guidelines:<\/p>\n<ul>\n<li>We opted not to use an aggregator but would pick and choose stations we enjoyed and discover the URL&#8217;s ourselves. Also would be satisfied with a couple of dozen stations. Based on a recent decision to pare down the number of TV channels we were paying for, having access to hundreds of stations seemed impractical and unnecessary.<\/li>\n<li>The price had to be affordable, thus eliminating many stand-alone, commercially available internet radios.<\/li>\n<li>We already owned a quality portable speaker (Bose SoundLink Mini) so the internet radio didn&#8217;t need to duplicate that component.<\/li>\n<li>Didn&#8217;t want to tie up nor be tethered to a laptop, tablet, or netbook. We predicted that would eventually lead to less and less use of the radio.<\/li>\n<\/ul>\n<p>After some research, coupled with the fact I already had some experience with Raspberry Pi computers, that small device appeared to be our best choice. I had recently purchased the newer 2 B model, which has plenty of computing power, and had installed Ubuntu Linaro as the OS. (As an aside, this OS has not to my knowledge been upgraded for the latest Raspberry Pi 3). There are several other operating systems that will work just as well including the official Raspbian OS available through the Raspberry Pi Foundation.<\/p>\n<p>I installed the MPD music player daemon and its client MPC, which is used to add to and delete station URL&#8217;s from the playlist, control volume, etc. An important find was the iPhone app called MPod which provides remote wireless access to the features of MPC. At the moment it is a free app for the iPhone (in my case the iPod Touch).<\/p>\n<p>For portability, my Raspberry Pi is being used &#8220;headless&#8221;, meaning it is not connected to a monitor, keyboard or mouse. If maintenance is required you can use PuTTY, a SSH and telnet client, wirelessly from a Windows (or MAC?) PC, using a command-line interface. Mainly this is needed to shut down the Raspberry Pi properly before turning off the power, but it boots completely on its own when powered up. The MPod app will then load the playlist of stations and let you start playing the radio without direct access to the Raspberry Pi.<\/p>\n<p>The sound output of my Raspberry Pi is connected to the auxiliary port of our Bose SoundLink Mini Bluetooth speaker. But instead of trying to implement Bluetooth on the Raspberry Pi, I took the easy way out and use a direct connection. The sound reproduction from this setup is very good, though audiophiles might be somewhat more critical.<\/p>\n<p>The above represents a minimal investment if you already have a good speaker on hand. It does require some on-line research and learning at least enough to install the OS and software. The good news is that there are many websites and forums providing step-by-step instructions and helpful hobbyists willing to explain some of the more cryptic aspects. A few of the websites that I found to be helpful:<\/p>\n<p><a href=\"http:\/\/www.instructables.com\/id\/Arduino-Raspberry-Pi-Internet\" target=\"_blank\">http:\/\/www.instructables.com\/id\/Arduino-Raspberry-Pi-Internet<\/a><\/p>\n<p><a href=\"http:\/\/cagewebdev.com\/raspberry-pi-playing-internet-radio\" target=\"_blank\">http:\/\/cagewebdev.com\/raspberry-pi-playing-internet-radio<\/a><\/p>\n<p><a href=\"https:\/\/learn.adafruit.com\/raspberry-pi-radio-player-with-touchscreen\" target=\"_blank\">https:\/\/learn.adafruit.com\/raspberry-pi-radio-player-with-touchscreen<\/a><\/p>\n<p>A couple of these also explain how to add a display to your Raspberry Pi internet radio.<\/p>\n<p>Our Raspberry Pi radio is on each evening and has been trouble free. It is worth mentioning that this is a very portable setup, and can even be powered by a battery pack (the kind used for recharging tablets and cell phones) for a few hours. Of course you need to be near a wifi hotspot.<\/p>\n<hr \/>\n<p><em>Thank you, Richard! What a great way to use the inexpensive Raspberry Pi. I have a spare Pi2 and an amplified speaker here at the house. Though I don&#8217;t need another WiFi radio, it would be fun putting this little system together.\u00a0<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many thanks to SWLing Post contributor,\u00a0Richard Schreiber (KE7KRF), who shares the following guest post: Yet Another Internet Radio! by\u00a0Richard Schreiber (KE7KRF) After deciding that an internet radio could be an important source of entertainment in our household, we formulated a few general guidelines: We opted not to use an aggregator but would pick and choose [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,3194,627,3,4652],"tags":[4342,999,2627,5818,4887,5819,5795,5335],"class_list":["post-23314","post","type-post","status-publish","format-standard","hentry","category-articles","category-guest-posts","category-how-to","category-news","category-wifi-radio","tag-guest-posts","tag-internet-radio","tag-raspberry-pi","tag-raspberry-pi-internet-radio","tag-raspberry-pi-radio-projects","tag-raspberry-pi-wifi-radio","tag-richard-schreiber-ke7krf","tag-wifi-radios"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pn3uc-642","jetpack-related-posts":[{"id":24305,"url":"https:\/\/swling.com\/blog\/2017\/03\/raspberry-pi-wifi-radio-with-touch-screen\/","url_meta":{"origin":23314,"position":0},"title":"Raspberry Pi WiFi Radio with touch screen","author":"Thomas","date":"March 1, 2017","format":false,"excerpt":"For those of us who like to tinker with the Raspberry Pi, this looks like a fun weekend project. It's multi-step, but I believe this project could be completed by almost anyone--you wouldn't have to be a Raspberry Pi or Python guru (code snippets can be downloaded, for example). Here's\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/swling.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2017\/02\/projects_Raspberry_Pi_Radio.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2017\/02\/projects_Raspberry_Pi_Radio.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2017\/02\/projects_Raspberry_Pi_Radio.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2017\/02\/projects_Raspberry_Pi_Radio.jpg?resize=700%2C400 2x"},"classes":[]},{"id":51692,"url":"https:\/\/swling.com\/blog\/2022\/01\/guest-post-pavels-raspberry-pi-based-homemade-multimedia-internet-radios\/","url_meta":{"origin":23314,"position":1},"title":"Guest Post: Pavel&#8217;s Raspberry Pi-based homemade multimedia internet radios","author":"Thomas","date":"January 28, 2022","format":false,"excerpt":"Many thanks to SWLing Post contributor,\u00a0Pavel Kraus, who shares the following guest post: Raspberry and internet radio by Pavel Kraus Raspberry and Volumio I recently read an article about a Raspberry microcomputer here and I would like to introduce you to an idea that is easy to implement, not too\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/swling.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Kodi2-1.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Kodi2-1.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Kodi2-1.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Kodi2-1.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Kodi2-1.jpeg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":34707,"url":"https:\/\/swling.com\/blog\/2018\/11\/build-a-433-mhz-radio-chat-device-with-the-raspberry-pi\/","url_meta":{"origin":23314,"position":2},"title":"Build a 433 MHz radio chat device with the Raspberry Pi","author":"Thomas","date":"November 3, 2018","format":false,"excerpt":"(Source: Southgate ARC) Build a Secret Radio Chat Device An article in Raspberry Pi magazine MagPi by PJ Evans of Milton Keynes shows how you can build a 433 MHz radio chat device to send wireless messages without needing WiFi \"Sure, WiFi is all well and good, but is it\u2026","rel":"","context":"In &quot;News&quot;","block_context":{"text":"News","link":"https:\/\/swling.com\/blog\/category\/news\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-1024x535.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-1024x535.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-1024x535.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":31786,"url":"https:\/\/swling.com\/blog\/2018\/04\/turning-the-raspberry-pi-3-b-into-a-stand-alone-sdr\/","url_meta":{"origin":23314,"position":3},"title":"Turning the Raspberry Pi 3 B+ into a stand-alone SDR","author":"Thomas","date":"April 27, 2018","format":false,"excerpt":"(Source: RTL-SDR.com) Nexmon SDR: Using the WiFi chip on a Raspberry Pi 3B+ as a TX capable SDR Back in March of this year\u00a0we posted\u00a0about\u00a0Nexmon SDR\u00a0which is code that you can use to turn a\u00a0Broadcom\u00a0BCM4339 802.11ac WiFi chip into a TX capable SDR that is capable of transmitting any arbitrary\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/swling.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-Plus.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-Plus.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-Plus.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2018\/04\/Raspberry-Pi-3-B-Plus.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":44522,"url":"https:\/\/swling.com\/blog\/2020\/07\/radio-globe-a-handy-way-to-explore-the-world-of-internet-radio\/","url_meta":{"origin":23314,"position":4},"title":"Radio Globe: A handy way to explore the world of Internet radio","author":"Thomas","date":"July 28, 2020","format":false,"excerpt":"Many thanks to SWLing Post contributor, Dennis Dura, who shares a link to this fascinating project on the excellent Hackday site: [...]RadioGlobe lets the user tune in over 2000 stations from around the world by spinning a real globe. It works by using two absolute rotary encoders that each have\u2026","rel":"","context":"In &quot;News&quot;","block_context":{"text":"News","link":"https:\/\/swling.com\/blog\/category\/news\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2020\/07\/Radio-Globe-e1595935532147.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2020\/07\/Radio-Globe-e1595935532147.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2020\/07\/Radio-Globe-e1595935532147.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2020\/07\/Radio-Globe-e1595935532147.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":17910,"url":"https:\/\/swling.com\/blog\/2016\/03\/lets-talk-raspberry-pi-3-radio-projects\/","url_meta":{"origin":23314,"position":5},"title":"Let&#8217;s talk Raspberry Pi 3 radio projects&#8230;","author":"Thomas","date":"March 24, 2016","format":false,"excerpt":"I just received the recently released Raspberry Pi 3 that I ordered from MCM a couple weeks ago. Now I'm plotting a few potential radio projects! Recommendations anyone? I'd love some input from SWLing Post readers as I'd like to feature a few Raspberry Pi projects here (and I'd certainly\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/swling.com\/blog\/category\/accessories\/"},"img":{"alt_text":"RaspberryPi3-Box","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/03\/RaspberryPi3-Box.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/03\/RaspberryPi3-Box.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/03\/RaspberryPi3-Box.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/03\/RaspberryPi3-Box.jpg?resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts\/23314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/comments?post=23314"}],"version-history":[{"count":0,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts\/23314\/revisions"}],"wp:attachment":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/media?parent=23314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/categories?post=23314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/tags?post=23314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}