Raspberry PI Radio V5.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Raspberry PI Radio V5.Pdf Raspberry Pi Internet Radio Constructors Manual A definitive guide to building Internet radios using the Raspberry Pi Bob Rathbone Computer Consultancy www.bobrathbone.com 15th of November 2017 Version 5.12 Bob Rathbone |Raspberry PI Internet Radio - Introduction 1 Contents Introduction .......................................................................................................................................... 15 Examples ........................................................................................................................................... 16 Vintage Radio Conversion ................................................................................................................. 19 Building in a IR sensor and remote control ....................................................................................... 20 Hardware .............................................................................................................................................. 21 LCD and switches interface board The HD44780 LCD display .......................................................... 21 Raspberry PI computer ..................................................................................................................... 21 Raspberry Pi Zero and Pi Zero W ...................................................................................................... 22 Radio variants ................................................................................................................................... 23 Housing the radio .............................................................................................................................. 24 Wiring .................................................................................................................................................... 26 Version 2, 3 or model B+ boards ....................................................................................................... 29 Version 1 boards (early boards) ........................................................................................................ 29 Rotary encoder wiring ....................................................................................................................... 30 LCD Module Wiring ........................................................................................................................... 31 Power supply considerations ............................................................................................................ 33 Selecting an audio amplifier ............................................................................................................. 34 GPIO Hardware Notes ........................................................................................................................... 35 Parts List ................................................................................................................................................ 36 Construction HD44780 LCD................................................................................................................... 37 Building the LCD and pushbuttons interface board .......................................................................... 37 Construction using an Adafruit LCD plate ............................................................................................. 39 Introduction ...................................................................................................................................... 39 Using other switches ......................................................................................................................... 40 Using the Adafruit LCD plate with the model B+, 2B and 3B ............................................................ 40 Using alternatives to the Adafruit display ........................................................................................ 40 Construction using an I2C LCD backpack .............................................................................................. 41 Adafruit I2C Backpack ....................................................................................................................... 41 Arduino PCF8574 I2C backpacks ....................................................................................................... 42 Creating the interface board for the I2C back pack .......................................................................... 42 Construction using the PiFace CAD ....................................................................................................... 43 Bob Rathbone |Raspberry PI Internet Radio - Introduction 2 Installing an IR sensor and remote control ........................................................................................... 44 IR Sensor........................................................................................................................................... 44 Remote control ................................................................................................................................. 44 Remote Control Activity LED ............................................................................................................. 45 Construction using a HiFiBerry DAC ...................................................................................................... 46 HiFiBerry DAC using the P5 connector .......................................................................................... 46 The HifBerry DAC Plus using the 40 Pin Connector ...................................................................... 47 Construction using IQAudio products ................................................................................................... 48 Construction using JustBoom DAC products .................................................................................... 49 Conventions used in this tutorial .......................................................................................................... 50 System Software installation ................................................................................................................ 51 SD card creation ................................................................................................................................ 51 Upgrading from Raspbian Jessie to Stretch ...................................................................................... 51 Log into the system ........................................................................................................................... 51 Using SSH to log into the Raspberry PI ............................................................................................. 51 Add a file called ssh to boot sector ............................................................................................... 52 Enabling ssh in raspi-config ........................................................................................................... 52 Preparing the Operating System for software installation ............................................................... 53 Update to the latest the packages ................................................................................................ 53 Disable booting to the desktop environment ............................................................................... 53 Setting the time zone .................................................................................................................... 54 Changing the system hostname and password ............................................................................ 56 Installing the radio Software ................................................................................................................. 58 Music Player Daemon Installation .................................................................................................... 58 Install the Radio Daemon .................................................................................................................. 58 Options 1, 2, 3, 4 directly connected LCD or 9 Retro radio .......................................................... 60 Option 6 or 7 I2C backpack selection ............................................................................................ 60 Options 5, 6 or 7 I2C devices ......................................................................................................... 61 Option 8 PiFace CAD ..................................................................................................................... 63 Configure the audio output .............................................................................................................. 64 Reboot to enable the software ..................................................................................................... 65 Setting the mixer volume .................................................................................................................. 66 Configuring other sound devices ...................................................................................................... 66 Configuring a USB sound device ................................................................................................... 67 Bob Rathbone |Raspberry PI Internet Radio - Introduction 3 Configuring a Sound Card ............................................................................................................
Recommended publications
  • Excesss Karaoke Master by Artist
    XS Master by ARTIST Artist Song Title Artist Song Title (hed) Planet Earth Bartender TOOTIMETOOTIMETOOTIM ? & The Mysterians 96 Tears E 10 Years Beautiful UGH! Wasteland 1999 Man United Squad Lift It High (All About 10,000 Maniacs Candy Everybody Wants Belief) More Than This 2 Chainz Bigger Than You (feat. Drake & Quavo) [clean] Trouble Me I'm Different 100 Proof Aged In Soul Somebody's Been Sleeping I'm Different (explicit) 10cc Donna 2 Chainz & Chris Brown Countdown Dreadlock Holiday 2 Chainz & Kendrick Fuckin' Problems I'm Mandy Fly Me Lamar I'm Not In Love 2 Chainz & Pharrell Feds Watching (explicit) Rubber Bullets 2 Chainz feat Drake No Lie (explicit) Things We Do For Love, 2 Chainz feat Kanye West Birthday Song (explicit) The 2 Evisa Oh La La La Wall Street Shuffle 2 Live Crew Do Wah Diddy Diddy 112 Dance With Me Me So Horny It's Over Now We Want Some Pussy Peaches & Cream 2 Pac California Love U Already Know Changes 112 feat Mase Puff Daddy Only You & Notorious B.I.G. Dear Mama 12 Gauge Dunkie Butt I Get Around 12 Stones We Are One Thugz Mansion 1910 Fruitgum Co. Simon Says Until The End Of Time 1975, The Chocolate 2 Pistols & Ray J You Know Me City, The 2 Pistols & T-Pain & Tay She Got It Dizm Girls (clean) 2 Unlimited No Limits If You're Too Shy (Let Me Know) 20 Fingers Short Dick Man If You're Too Shy (Let Me 21 Savage & Offset &Metro Ghostface Killers Know) Boomin & Travis Scott It's Not Living (If It's Not 21st Century Girls 21st Century Girls With You 2am Club Too Fucked Up To Call It's Not Living (If It's Not 2AM Club Not
    [Show full text]
  • A High-Level Programming Language for Multimedia Streaming
    Liquidsoap: a High-Level Programming Language for Multimedia Streaming David Baelde1, Romain Beauxis2, and Samuel Mimram3 1 University of Minnesota, USA 2 Department of Mathematics, Tulane University, USA 3 CEA LIST – LMeASI, France Abstract. Generating multimedia streams, such as in a netradio, is a task which is complex and difficult to adapt to every users’ needs. We introduce a novel approach in order to achieve it, based on a dedi- cated high-level functional programming language, called Liquidsoap, for generating, manipulating and broadcasting multimedia streams. Unlike traditional approaches, which are based on configuration files or static graphical interfaces, it also allows the user to build complex and highly customized systems. This language is based on a model for streams and contains operators and constructions, which make it adapted to the gen- eration of streams. The interpreter of the language also ensures many properties concerning the good execution of the stream generation. The widespread adoption of broadband internet in the last decades has changed a lot our way of producing and consuming information. Classical devices from the analog era, such as television or radio broadcasting devices have been rapidly adapted to the digital world in order to benefit from the new technologies available. While analog devices were mostly based on hardware implementations, their digital counterparts often consist in software implementations, which po- tentially offers much more flexibility and modularity in their design. However, there is still much progress to be done to unleash this potential in many ar- eas where software implementations remain pretty much as hard-wired as their digital counterparts.
    [Show full text]
  • Tamil Flac Songs Free Download Tamil Flac Songs Free Download
    tamil flac songs free download Tamil flac songs free download. Get notified on all the latest Music, Movies and TV Shows. With a unique loyalty program, the Hungama rewards you for predefined action on our platform. Accumulated coins can be redeemed to, Hungama subscriptions. You can also login to Hungama Apps(Music & Movies) with your Hungama web credentials & redeem coins to download MP3/MP4 tracks. You need to be a registered user to enjoy the benefits of Rewards Program. You are not authorised arena user. Please subscribe to Arena to play this content. [Hi-Res Audio] 30+ Free HD Music Download Sites (2021) ► Read the definitive guide to hi-res audio (HD music, HRA): Where can you download free high-resolution files (24-bit FLAC, 384 kHz/ 32 bit, DSD, DXD, MQA, Multichannel)? Where to buy it? Where are hi-res audio streamings? See our top 10 and long hi-res download site list. ► What is high definition audio capability or it’s a gimmick? What is after hi-res? What's the highest sound quality? Discover greater details of high- definition musical formats, that, maybe, never heard before. The explanation is written by Yuri Korzunov, audio software developer with 20+ years of experience in signal processing. Keep reading. Table of content (click to show). Our Top 10 Hi-Res Audio Music Websites for Free Downloads Where can I download Hi Res music for free and paid music sites? High- resolution music free and paid download sites Big detailed list of free and paid download sites Download music free online resources (additional) Download music free online resources (additional) Download music and audio resources High resolution and audiophile streaming Why does Hi Res audio need? Digital recording issues Digital Signal Processing What is after hi-res sound? How many GB is 1000 songs? Myth #1.
    [Show full text]
  • Opus, a Free, High-Quality Speech and Audio Codec
    Opus, a free, high-quality speech and audio codec Jean-Marc Valin, Koen Vos, Timothy B. Terriberry, Gregory Maxwell 29 January 2014 Xiph.Org & Mozilla What is Opus? ● New highly-flexible speech and audio codec – Works for most audio applications ● Completely free – Royalty-free licensing – Open-source implementation ● IETF RFC 6716 (Sep. 2012) Xiph.Org & Mozilla Why a New Audio Codec? http://xkcd.com/927/ http://imgs.xkcd.com/comics/standards.png Xiph.Org & Mozilla Why Should You Care? ● Best-in-class performance within a wide range of bitrates and applications ● Adaptability to varying network conditions ● Will be deployed as part of WebRTC ● No licensing costs ● No incompatible flavours Xiph.Org & Mozilla History ● Jan. 2007: SILK project started at Skype ● Nov. 2007: CELT project started ● Mar. 2009: Skype asks IETF to create a WG ● Feb. 2010: WG created ● Jul. 2010: First prototype of SILK+CELT codec ● Dec 2011: Opus surpasses Vorbis and AAC ● Sep. 2012: Opus becomes RFC 6716 ● Dec. 2013: Version 1.1 of libopus released Xiph.Org & Mozilla Applications and Standards (2010) Application Codec VoIP with PSTN AMR-NB Wideband VoIP/videoconference AMR-WB High-quality videoconference G.719 Low-bitrate music streaming HE-AAC High-quality music streaming AAC-LC Low-delay broadcast AAC-ELD Network music performance Xiph.Org & Mozilla Applications and Standards (2013) Application Codec VoIP with PSTN Opus Wideband VoIP/videoconference Opus High-quality videoconference Opus Low-bitrate music streaming Opus High-quality music streaming Opus Low-delay
    [Show full text]
  • Tiny Disco: a Cost-Effective, High-Fidelity Wireless Audio System ​ Quarter / Year Submitted: Winter 2020 ​ Student: (Print Name) ______(Sign) ______
    Tiny Disco: A Cost-Effective, High-Fidelity Wireless Audio System A Senior Project Report presented to the Faculty of California Polytechnic State University San Luis Obispo In Partial Fulfillment of the Requirements for the Degree Bachelor of Science in Computer Engineering By Luke Liberatore February 2020 Date of Submission: February 25, 2020 Senior Project Advisor: Hugh Smith Abstract The Tiny Disco is a WiFi based concert system, featuring improvements on popular “Silent Disco” concerts. Rather than being tied to compression and bandwidth restrictions present in traditional silent disco systems, the Tiny Disco system can deliver 320kbps+ audio quality, and allows listeners to bring their own headphones, further lending to the high quality audio experience. Tiny Disco uses a Raspberry Pi as the audio server, and Espressif ESP32 microcontrollers as audio receivers/clients. The Tiny Disco is primarily geared toward smaller concerts and niche events where audio quality is valued, though due to its WiFi-based architecture, it can be expanded to events of a few hundred people fairly easily. The Tiny Disco system was developed and tested, and performed successfully using a test setup. Only one client was tested due to cost constraints, but load testing was performed against the Raspberry Pi server, as well as bandwidth/audio quality analysis. 2 Table of Contents Abstract 2 Table of Contents 3 Introduction 5 Stakeholders 7 Project Goals and Objectives 7 Project Deliverables 8 Project Outcomes 8 Background 9 Experimentation to help develop
    [Show full text]
  • Uk Top 40 Songs Free Download 2014
    Uk top 40 songs free download 2014 LINK TO DOWNLOAD 8tracks radio. Online, everywhere. - stream 19 uk top 40 playlists including top 40, uk, and Clean Bandit music from your desktop or mobile device. Uk Top Number 1's (Piano Versions) Songs Download- Listen Uk Top Number 1's (Piano Versions) MP3 songs online free. Play Uk Top Number 1's (Piano Versions) album songs MP3 by Lang Project and download Uk Top Number 1's (Piano Versions) songs on . Hassle free Creative Commons music. Search and download free high quality music for podcasts, phone messages, background music for your business, YouTube videos No sign up required! · UK Singles Top 40 The Top 40 songs in the United Kingdom. UK Top40 is compiled by renuzap.podarokideal.ru (Sales, Downloads & Airplay) Weekly chart archive since Follow Subscribe PDF: Prev: TW: LW: Video: SONG / ARTIST: PP: WC: TWC: 1: 1: Head & Heart. Joel Corry & MNEK 1 6 2: 2: Savage Love. Jawsh & Jason Derulo 1 9 3: 3: Lighter. Nathan Dawe & KSI 3 3 . The Official UK Top 40 Singles Of Share to Facebook; Tweet to Twitter ; Share to Google plus; See where the biggest tunes of the year including Clean Bandit's mighty 'Rather Be' and Pharrell. · 01 January The Official Top 40 Most Streamed Songs of Songs from Clean Bandit, Sam Smith and Mr Probz are among the most streamed songs this year as the number of audio streams doubles. uk top 40 music free download - UK Top 40 Music Chart, my9 Top UK alt rock music charts, UK - Top 40 Radio Stations (Top 40 Music Hits), and many more programs.
    [Show full text]
  • 4920 10 Cc D22-01 2Pac D43-01 50 Cent 4877 Abba 4574 Abba
    ALDEBARAN KARAOKE Catálogo de Músicas - Por ordem de INTÉRPRETE Código INTÉRPRETE MÚSICA TRECHO DA MÚSICA 4920 10 CC I´M NOT IN LOVE I´m not in love so don´t forget it 19807 10000 MANIACS MORE THAN THIS I could feel at the time there was no way of D22-01 2PAC DEAR MAMA You are appreciated. When I was young 9033 3 DOORS DOWN HERE WITHOUT YOU A hundred days had made me older 2578 4 NON BLONDES SPACEMAN Starry night bring me down 9072 4 NON BLONDES WHAT´S UP Twenty-five years and my life is still D36-01 5 SECONDS OF SUMMER AMNESIA I drove by all the places we used to hang out D36-02 5 SECONDS OF SUMMER HEARTBREAK GIRL You called me up, it´s like a broken record D36-03 5 SECONDS OF SUMMER JET BLACK HEART Everybody´s got their demons even wide D36-04 5 SECONDS OF SUMMER SHE LOOKS SO PERFECT Simmer down, simmer down, they say we D43-01 50 CENT IN DA CLUB Go, go, go, go, shawty, it´s your birthday D54-01 A FLOCK OF SEAGULLS I RAN I walk along the avenue, I never thought I´d D35-40 A TASTE OF HONEY BOOGIE OOGIE OOGIE If you´re thinkin´ you´re too cool to boogie D22-02 A TASTE OF HONEY SUKIYAKI It´s all because of you, I´m feeling 4970 A TEENS SUPER TROUPER Super trouper beams are gonna blind me 4877 ABBA CHIQUITITA Chiquitita tell me what´s wrong 4574 ABBA DANCING QUEEN Yeah! You can dance you can jive 19333 ABBA FERNANDO Can you hear the drums Fernando D17-01 ABBA GIMME GIMME GIMME Half past twelve and I´m watching the late show D17-02 ABBA HAPPY NEW YEAR No more champagne and the fireworks 9116 ABBA I HAVE A DREAM I have a dream a song to sing…
    [Show full text]
  • Practical Papers, Articles, and Application Notes
    emcsNL_spring06_2ndhalf.qxd 5/30/06 2:51 PM Page 77 Practical Papers, Articles and Application Notes Robert G. Olsen, Technical Editor n this issue you will find three practical papers on the end. The second and third papers were first presented at the topic, “EMC and Wireless Devices” that should be of EMC Europe Workshop 2005 entitled, “Electromagnetic Iinterest to members of the EMC community. The first Compatibility of Wireless Systems” in Rome, Italy and is a short editorial paper entitled, “Coexistence of Con- have been reprinted here by permission of the Workshop verged Wireless Communications Devices” by M. Foegelle. Committee. In this paper Dr. Foegelle discusses a different kind of EMC The purpose of this section is to disseminate practical issue in which the testing focuses on degradation in perfor- information to the EMC community. In some cases the mate- mance of one wireless link due to the interference from the rial is entirely original. In others, the material is not new but other types of wireless radios. The second paper is entitled, has been made either more understandable or accessible to the “Challenging Research Domains in Future EMC Basic community. In others, the material has been previously pre- Standards for Different Applications” by N. van Dijk, P. sented at a conference but has been deemed especially worthy Stenumgaard, P. Beeckman, K. Wiklundh and M. Stecher. of wider dissemination. Readers wishing to share such infor- In this paper, the authors discuss some of the problems in mation with colleagues in the EMC community are encour- developing standards that are relevant for emerging wire- aged to submit papers or application notes for this section of less technologies.
    [Show full text]
  • Release 0.23~Git Max Kellermann
    Music Player Daemon Release 0.23~git Max Kellermann Sep 24, 2021 CONTENTS: 1 User’s Manual 1 1.1 Introduction...............................................1 1.2 Installation................................................1 1.3 Configuration...............................................4 1.4 Advanced configuration......................................... 12 1.5 Using MPD................................................ 14 1.6 Advanced usage............................................. 16 1.7 Client Hacks............................................... 18 1.8 Troubleshooting............................................. 18 2 Plugin reference 23 2.1 Database plugins............................................. 23 2.2 Storage plugins.............................................. 24 2.3 Neighbor plugins............................................. 25 2.4 Input plugins............................................... 25 2.5 Decoder plugins............................................. 27 2.6 Encoder plugins............................................. 32 2.7 Resampler plugins............................................ 33 2.8 Output plugins.............................................. 35 2.9 Filter plugins............................................... 42 2.10 Playlist plugins.............................................. 43 2.11 Archive plugins.............................................. 44 3 Developer’s Manual 45 3.1 Introduction............................................... 45 3.2 Code Style...............................................
    [Show full text]
  • Cook Inlet Navigational Safety Forum Proceedings
    Proceedings of the Cook Inlet Navigational Safety Forum Table of Contents INTRODUCTION .............................................................................................................3 PARTICIPANTS ..............................................................................................................3 Steering Committee ........................................................................................................................................................ 3 Attendees.......................................................................................................................................................................... 4 FORUM PROCEEDINGS ................................................................................................4 Welcome and Opening Remarks (noon)...................................................................................................................... 4 Session 1--Cook Inlet Navigational Safety: Identifying the Risks............................................................................ 5 Session 2--Cook Inlet Navigational Safety: Understanding the Impacts and Potential Consequences of Accidents, Spills, and Groundings.............................................................................................................................. 10 Session 3--Cook Inlet Navigational Safety: Identifying the Interventions............................................................ 14 Session 4—Recent Studies and Projects on Cook Inlet Navigation Issues...........................................................
    [Show full text]
  • Dan Blaze's Karaoke Song List
    Dan Blaze's Karaoke Song List - By Artist 112 Peaches And Cream 411 Dumb 411 On My Knees 411 Teardrops 911 A Little Bit More 911 All I Want Is You 911 How Do You Want Me To Love You 911 More Than A Woman 911 Party People (Friday Night) 911 Private Number 911 The Journey 10 cc Donna 10 cc I'm Mandy 10 cc I'm Not In Love 10 cc The Things We Do For Love 10 cc Wall St Shuffle 10 cc Dreadlock Holiday 10000 Maniacs These Are The Days 1910 Fruitgum Co Simon Says 1999 Man United Squad Lift It High 2 Evisa Oh La La La 2 Pac California Love 2 Pac & Elton John Ghetto Gospel 2 Unlimited No Limits 2 Unlimited No Limits 20 Fingers Short Dick Man 21st Century Girls 21st Century Girls 3 Doors Down Kryptonite 3 Oh 3 feat Katy Perry Starstrukk 3 Oh 3 Feat Kesha My First Kiss 3 S L Take It Easy 30 Seconds To Mars The Kill 38 Special Hold On Loosely 3t Anything 3t With Michael Jackson Why 4 Non Blondes What's Up 4 Non Blondes What's Up 5 Seconds Of Summer Don't Stop 5 Seconds Of Summer Good Girls 5 Seconds Of Summer She Looks So Perfect 5 Star Rain Or Shine Updated 08.04.2015 www.blazediscos.com - www.facebook.com/djdanblaze Dan Blaze's Karaoke Song List - By Artist 50 Cent 21 Questions 50 Cent Candy Shop 50 Cent In Da Club 50 Cent Just A Lil Bit 50 Cent Feat Neyo Baby By Me 50 Cent Featt Justin Timberlake & Timbaland Ayo Technology 5ive & Queen We Will Rock You 5th Dimension Aquarius Let The Sunshine 5th Dimension Stoned Soul Picnic 5th Dimension Up Up and Away 5th Dimension Wedding Bell Blues 98 Degrees Because Of You 98 Degrees I Do 98 Degrees The Hardest
    [Show full text]
  • 2 3 10000 Maniacs
    A A 10000 Maniacs - Candy Everybody Wants 3 Doors Down - Here Without You AIN0101/8 4 Non Blondes - What’s Up DKK086/7 6 - Promise’ve MM6313/2 DKK082/4 3 Doors Down - Kryptonite AIN0103/11 0.666666666666667 - Sukiyaki DKK089/16 911 - All I Want Is You SF121/7 10cc - Donna SF090/15 3 Doors Down - Let Me Go NM2061/1 411 - Dumb EZH039/5 911 - How Do You Want Me To Love You 10cc - Dreadlock Holiday SF023/12 3 Doors Down - Loser CB40211/8 411 - Teardrops SF225/6 ET012/10 10cc - I’m Mandy SF079/3 3 Doors Down - Road I’m On SC8817/10 411 And Ghostface - On My Knees EZH035/5 911 - Little Bit More SF130/4 10cc - I’m Not In Love DKK082/14 3 Doors Down - So I Need You CB40211/10 42nd Stand - Lullabye Of Broadway LEGBR02/8 911 - More Than A Woman ET015/3 10cc - Rubber Bullets EK026/17 3 Doors Down - When I’m Gone AIN0064-2/5 4him - Basics Of Life CBSE5/-- 911 - Party People (Friday Night) SF118/9 10cc - Things We Do For Love SFMW832/11 3 Doors Down (Vocal) - Away From The Sun 4him - For Future Generations CBSE4/-- 911 - Private Number ET021/10 10cc - Wall Street Shuffle SFMW814/1 CB40340/3 4him - Psalm 112 PR3019/2 98 - Way You Want Me To SC8702/7 112 - Peaches And Cream SC8702/2 3 Doors Down (Vocal) - Be Like That CB40211/3 5 Seconds Of Summer - Amnesia MRH121/3 98 Degrees - Because Of You SF134/8 12 Gauge - Dunkie Butt SC8892/4 3 Doors Down (Vocal) - Behind Those Eyes 5 Seconds Of Summer - Don’t Stop SF340/17 98 Degrees - Can’t Get Enough PHM1310/1 THMR0507/5 12 Stones - Far Away THMR0411/16 5 Seconds Of Summer - Good Girls MRH123/5 98 Degrees
    [Show full text]