Bob Rathbone Computer Consultancy

Total Page:16

File Type:pdf, Size:1020Kb

Bob Rathbone Computer Consultancy Raspberry Pi Internet Radio Constructors Manual A comprehensive guide to building Internet radios using the Raspberry Pi and MPD (Music Player Daemon) Bob Rathbone Computer Consultancy www.bobrathbone.com 19th of December 2020 Version 6.15 Contents Chapter 1 - Introduction ......................................................................................................................... 1 Document Overview ........................................................................................................................... 4 Quick links ........................................................................................................................................... 4 Examples ............................................................................................................................................. 5 Vintage Radio Conversion ................................................................................................................. 10 Chapter 2 - Hardware overview ............................................................................................................ 12 Raspberry Pi computer ..................................................................................................................... 12 The Raspberry Pi model 3B ........................................................................................................... 12 Raspberry Pi model 4B .................................................................................................................. 13 Audio and video output jack ......................................................................................................... 14 Raspberry Pi Zero and Pi Zero W .................................................................................................. 14 Raspberry Pi 400 ........................................................................................................................... 15 The HD44780U LCD display ............................................................................................................... 16 Midas LCD displays with VEE ............................................................................................................ 16 Midas Character OLED with MC0100 Controller .............................................................................. 17 Olimex OLED 128x64 pixel screen ..................................................................................................... 17 Pimoroni Products ............................................................................................................................ 18 Pimoroni Pirate Radio ................................................................................................................... 18 Pimoroni Pirate Audio ................................................................................................................... 18 Touch-screens ................................................................................................................................... 19 Raspberry Pi 7-inch touch screen ................................................................................................. 19 Adafruit 3.5-inch TFT ..................................................................................................................... 19 Using other touch screens ............................................................................................................ 20 Radio variants ................................................................................................................................... 21 Connecting the LCD display .............................................................................................................. 22 Housing the radio .............................................................................................................................. 22 Building in a IR sensor and remote control ....................................................................................... 23 Chapter 3 - Wiring ................................................................................................................................. 24 Version 1 boards (early boards) ........................................................................................................ 27 Version 2, 3 or model B+ boards ....................................................................................................... 27 Bob Rathbone |Raspberry PI Internet Radio ii Rotary encoder wiring ....................................................................................................................... 28 Using KY040 Rotary encoders ....................................................................................................... 29 LCD Module Wiring ........................................................................................................................... 30 Power supply considerations ............................................................................................................ 32 Selecting an audio amplifier ............................................................................................................. 33 GPIO Hardware Notes ....................................................................................................................... 34 Parts List ............................................................................................................................................ 35 Chapter 4 - Construction details ........................................................................................................... 36 Construction using an interface board ............................................................................................. 36 Construction using breakout boards ................................................................................................ 38 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 Adafruit 3.5-inch TFT ................................................................................... 43 Fitting a wake-up button................................................................................................................... 44 Installing an IR sensor and remote control ....................................................................................... 45 IR Sensor ....................................................................................................................................... 45 Remote control ............................................................................................................................. 45 Remote Control Activity LED ......................................................................................................... 46 Construction using an IQaudIO Cosmic Controller ........................................................................... 47 Construction using the Pimoroni Pirate radio .................................................................................. 48 Construction using the PiFace CAD ................................................................................................... 48 Installing the FLIRC USB remote control ........................................................................................... 49 FLIRC USB Remote Control dongle ................................................................................................ 49 Using DAC Sound Cards ..................................................................................................................... 50 HiFiBerry DAC ................................................................................................................................ 50 IQaudIO DAC sound products ........................................................................................................... 52 JustBoom DAC products .................................................................................................................... 52 Bob Rathbone |Raspberry PI Internet Radio iii PCM5102A DAC Sound Card ............................................................................................................. 53 Pimoroni pHat DAC ........................................................................................................................... 54 Construction Tips and Tricks
Recommended publications
  • Winamp "Classic" 2.81: * Updated to PP's Latest Input and Output Plugins * in Mp3 Now Doesnt Continue to Play on Output Plugin Error
    Winamp "Classic" 2.81: * updated to PP's latest input and output plugins * in_mp3 now doesnt continue to play on output plugin error. * smaller installers because we use msvcrt.dll now * fixed bugs relating to files with ~ in their names. * doublerightclick in credits makes for fullscreen credits * more bugfixes (including a fix in the version update notification checking) * updated installer to have nicer error messages. * made systray icon update if explorer restarts * and more (muahaha)! Winamp 2.80: * fixed drag&drop from open file dialog related bugs * made CDDB support better handle notfound CDs/lack of CDDB installed. * update to CDDB ui (bugfix) * new splash screen * minibrowser security fix * updated winamp agent to support both winamp 2.x and 3.x * included PP's hacks for slightly better unicode filename support * in_wave support for floating point .WAV files fixed * better win9x compatibility for DirectSound * waveOut made skip less * some in_mod perfile fixes * OGG Vorbis support for Standard and Full installs. * CD support back in lite installer. Winamp 2.79: * upgraded unzip/decompress support to zlib 1.1.4, for big security fix * improved multiple instance detection code/opening many files from explorer iss ues * winamp agent tooltip improvement * fix to id3v2+unicode support Winamp 2.78: * minibrowser fixes * cddb2 support * updates to mod, midi, and wav support (from the wonderful PP) Winamp 2.77: * mb.ini skin support (Winamp/MBOpen) * added page and slider for 'shuffle morph rate' to Preferences so you can control how much the playlist morphs (mutates) each time it cycles through. * PP's ACM disk writer output plugin instead of the classic one * PP's WAV/VOC reader (Which is apparently so much better, but we will see) * included new in_midi and in_mod (yay) * made playlist editor automatically size down when necessary (on startup) * made drag&drop playlist URLs work * made alt+delete work again in playlist editor * made winamp.exe and winampa.exe both much less likely to fudge HKCR/.
    [Show full text]
  • Gerard Manley Hopkins and Old English Poetry: a Stylistic Analysis
    Gerard Manley Hopkins and Old English poetry: a stylistic analysis Item Type text; Dissertation-Reproduction (electronic) Authors Li, Leshi Publisher The University of Arizona. Rights Copyright © is held by the author. Digital access to this material is made possible by the University Libraries, University of Arizona. Further transmission, reproduction or presentation (such as public display or performance) of protected items is prohibited except with permission of the author. Download date 23/09/2021 14:04:44 Link to Item http://hdl.handle.net/10150/565498 GERARD MANLEY HOPKINS AND OLD ENGLISH POETRY: A STYLISTIC ANALYSIS by Rebecca Lee A Dissertation Submitted to the Faculty of the DEPARTMENT OF ENGLISH In Partial Fulfillment of the Requirements For the Degree of DOCTOR OF PHILOSOPHY WITH A MAJOR IN ENGLISH LITERATURE . In the Graduate College THE UNIVERSITY OF ARIZONA 19 8 1 THE UNIVERSITY OF ARIZONA GRADUATE COLLEGE As members of the Final Examination Committee, we certify that we have read the dissertation prepared by Rebecca Lee_________________________________ entitled GERARD MANLEY HOPKINS AND OLD ENGLISH POETRY:___________________ A STYLISTIC ANALYSIS and recommend that it be accepted as fulfilling the dissertation requirement for the Degree of Doctor of Philosophy Date Date Final approval and acceptance of this dissertation is contingent upon the candidate's submission of the final copy of the dissertation to the Graduate College. I hereby certify that I have read this dissertation prepared under my direction and recommend that it be accepted as fulfilling the dissertation requirement. * / ■ ? ■ / Dissertation Director Date / STATEMENT BY AUTHOR This dissertation has been submitted in partial fulfillment of requirements for an advanced degree at The University of Arizona and is deposited in the University Library to be made available to borrowers under rules of the Library» Brief quotations from this dissertation are allowable without special permission5 provided that accurate acknowledgment of source is made.
    [Show full text]
  • How to Play Your Digital Album
    How to Play Your Digital Album Step 1 – *Best if executed on a desktop or laptop computer. ▪ Download the file via the link in either your purchase receipt or in the email you receive post purchase. Example: Richard+S.+Grossman+-+Faded+Photograhs%282%29.zip Step 2 – *If Step 2 doesn’t apply to you, skip ahead to Step 3. ▪ Make sure you have iTunes, Windows Media Player or one of the other player apps in the list on page 2 of these instructions installed on your device (Virtually all Mac and Windows computers will already have at least one of these installed). If not, go to your appropriate App Store in your web browser to download the app you need. ▪ https://apps.apple.com/us/genre/ios/id36 ▪ https://www.microsoft.com/en-us/download/details.aspx?id=20426 ▪ https://www.videolan.org/vlc/index.html Step 3 – ▪ On a Mac device, go to your ‘Downloads’ folder and double-click on the link that has the name of the file you downloaded. This will extract the compressed .zip file to show a folder icon with the same name (minus the .zip). Open that folder and double click on the file with the ‘.m3u’ extension at the of its name. This should automatically launch your default media player, load the album into your player’s library and begin playing the first track (check your volume or mute button if you don’t hear anything). If this doesn’t work, you may need to manually launch your media player. ▪ On a Windows device, right-click on the downloaded file and then select ‘Extract’ from the contextual menu options.
    [Show full text]
  • Nextkast User Manual
    User Manual v 2.2 Broadcast/Pro/Standard Index ?Quick Start Overview................................................................ 4 ?Quick Start Create Categories................................................. 5 ?Quick Start Create Rotation..................................................... 6 ?Downloading.............................................................................. 7 ?Installation................................................................................. 7 ?Software Overview.................................................................... 8 ?Installation Considerations...................................................... 9 ?A Word About Audio Files........................................................ 10 ?Main User Interface Buttons Described.................................. 11 ?Settings Window........................................................................ 12 ?Library Location / Software Updates....................................... 13 ?Library Location........................................................................ 14 ?Screen Modes............................................................................ 15 ?Getting Started.......................................................................... 16 ?Adding Music Files to The Categories.................................... 17 ?MarkingTrackSweepers/Intro/Outro Next Start/URL Embed. 18 ?Adding Additional Track Info.................................................... 19 ?Cue Editor Window...................................................................
    [Show full text]
  • Mopidy Documentation Release 3.2.0-17-G2cc7d953
    Mopidy Documentation Release 3.2.0-17-g2cc7d953 Stein Magnus Jodal and contributors 2021 USAGE 1 Installation 3 1.1 Debian/Ubuntu..............................................3 1.2 Arch Linux................................................4 1.3 Fedora..................................................5 1.4 macOS..................................................6 1.5 Install from PyPI.............................................7 1.6 Raspberry Pi...............................................9 2 Running 11 2.1 Running in a terminal.......................................... 11 2.2 Running as a service........................................... 12 3 Configuration 17 3.1 Configuration file location........................................ 17 3.2 Editing the configuration......................................... 17 3.3 View effective configuration....................................... 17 3.4 Core configuration............................................ 18 3.5 Extension configuration......................................... 21 3.6 Adding new configuration values.................................... 21 4 Clients 23 4.1 Web clients................................................ 23 4.2 MPD clients............................................... 24 4.3 MPRIS clients.............................................. 24 5 Troubleshooting 25 5.1 Getting help............................................... 25 5.2 Show effective configuration....................................... 25 5.3 Show installed dependencies....................................... 25
    [Show full text]
  • Peter Van Eeckhoutte's Blog
    Save the environment - don’t print this document ! http://www.corelan.be:8800 - Page 1 / 44 Peter Van Eeckhoutte's Blog :: [Knowledge is not an object, it´s a flow] :: Exploit writing tutorial part 10 : Chaining DEP with ROP – the Rubik’s[TM] Cube Peter Van Eeckhoutte · Wednesday, June 16th, 2010 Table of Contents ● Introduction ● Hardware DEP in the Win32 world ● Bypassing DEP – Building blocks ❍ What are our options ? ❍ The gadget ❍ Windows function calls to bypass DEP ❍ Choose your weapon ❍ Function parameters & usage tips ❍ ROP Exploit transportability ● From EIP to ROP ❍ Direct RET ❍ SEH based ❍ Before we begin ● Direct RET – The ROP version – VirtualProtect() ❍ Time to ROP ‘n ROLL ❍ How to build the chain (chaining basics) ❍ Finding ROP gadgets ❍ "CALL register" gadgets ❍ Gotcha. But how/where exactly do I start ? ❍ Test before you start ❍ Everybody stay cool, this is a roppery ● Direct RET – ROP Version 2 – NtSetInformationProcess() ● Direct RET – ROP Version 3 – SetProcessDEPPolicy() ● Direct RET – ROP Version 4 – ret-to-libc : WinExec() ● SEH Based – The ROP version – WriteProcessMemory() ❍ Triggering the bug ❍ Stack pivoting ❍ ROP NOP ❍ Building the ROP chain – WriteProcessMemory() ● Egg hunters ❍ Scenario 1 : patch the egg hunter ❍ Scenario 2 : prepend the shellcode ● Unicode ● ASLR and DEP ? ❍ The theory ❍ An example ● Other literature on DEP / Memory protection bypass ● Questions ? ● Thanks to w o l f Introduction a About 3 months after finishing my previous exploit writing related tutorial, I finally found some time and fresh energy to start writing a new article. s In the previous tutorials, I have explained the basics of stack based overflows and how they can lead to arbitrary code execution.
    [Show full text]
  • How to Use the VLC Media Player Together with Barix Products
    How to use the VLC Media Player with the Barix devices The VLC Media Player can be used to stream audio from the PC to the Barix Exstreamers or Barix Annuncicoms. But it can also listen to Barix encoders, like the Barix Instreamer and the Barix Annuncicom. It is a freeware software and can be downloaded from http://www.videolan.org . This document is referring to the current available VLC Media Player version 2.2.0 Streaming a file/playlist to Barix decoder To send a MP3 RTP stream from the VLC to a Barix Exstreamer execute the following steps: – first open VLC – select from VLC main menu : MEDIA – Open (advanced) … – there select your audio files (MP3) or your playlist file (m3u) – select “Stream” from the “Play” button menu A new window opens, click on “Next”. On next screen “RTP Audio/Video Profile” and click on “Add”. As next define target IP-address and target port number then click “Next”. On next screen set the target format “Audio-MP3”. “Transcoding” is mostly not needed and can be deactivated then click “Next”. As last comes the Summary/Option setup screen showing the command line for the before selected options, click on “Stream” to start the streaming. Such stream can be received e.g. from the “Barix Streaming Client” firmware, the “Any to All” firmware or the STL firmware. Option command for RAW UDP Streaming e.g. to Annuncicom :sout=#duplicate{dst=std{access=udp,mux=raw,dst=224.0.0.1:3030}} (String is for the Option Setup screen, see picture above, generates a RAW UDP multicast stream to port 3030) The target port number and/or target IP address at the end of the string is changable! Thereafter click on “Stream”.
    [Show full text]
  • Music Player Free Download for Pc 10 Best Music Players for Windows Pcs
    music player free download for pc 10 Best Music Players for Windows PCs. Are you fond of listening to music? Here are the pros and cons for 10 best music players for Windows users. Some of them play videos, but all play audio files. Check this list and decide which music player you should stick to. Freemake Music Box. Freemake Music Box is a free software developed by Freemake Assets Corporation. Originally Freemake Music Box played only online music from YouTube. However, now the software supports offline files from your PC. Pros: Freemake Music Box is easy to use and lets you manage your music library easily. It is free and many people adore it for its intelligent music search capabilities. The software features a very crisp visual interface and video watching function. The main feature of Freemake Music Box is the ability to play both offline and play online music. If the software can’t find a track on your PC, it’ll stream it from the Web. Freemake Music Box also lets create and import playlists in most popular formats: M3U, M3U8, ASX, TPL, KPL, WPL, AIMPPL, PLC, PLS, RLC, ZPL, XSPT, SMI. Cons: The interface is not very full and looks a little too empty when compared to others. The software doesn’t have an equalizer option, neither it supports music CDs. Moreover, if you like changing skins of your music player, Freemake Music Box is not your choice. Supported formats: MP3, WMA, AAC, FLAC, WAV, OGG, M4A, APE, AIFF, M4B, MP2, MP1, MPC, M4R, SPX. Windows Media Player.
    [Show full text]
  • Pixtend V2 Software Manual
    PiXtend V2 Software Manual Revision 10/08/18, V1.12 Qube Solutions GmbH Arbachtalstr. 6, 72800 Eningen, Germany https://www.pixtend.com PiXtend V2 Software Manual Version History Version Date Description Editor 1.00 13/10/2017 Document created, first release RT CODESYS Package renamed to 1.01 13/11/2017 RT PiXtend V2 Professional for CODESYS 1.02 20/01/2018 Signaling for error LED L1 added RT Name of the SD image adapted from "Linux Tools" to 1.03 26/01/2018 "Basic". The Basic Image contains more than just the TG classic PiXtend Linux tools 1.04 13/02/2018 Information about OpenPLC added RT CODESYS I/O mapping overview and device paramter 1.05 20/02/2018 RT description added 1.06 26/02/2018 CODESYS Retain memory usage example introduced RT Change Python Library V2 link to version 0.1.1, the 1.07 05/03/2018 previous version had a problem where the GPIO PullUps RT could not be used as intended 1.08 28/03/2018 Raspberry Pi 3 B+ added as a compatible model RT 1.09 18/07/2018 Information for the PiXtend V2 -L- added RT - PiXtend V2 -L- Process data + Control- & Statusbytes 1.10 31/07/2018 section added TG - UG (limited liability) chnaged to GmbH OpenPLC section updated to version 3 of OpenPLC, 1.11 06/08/2018 RT including information on PiXtend V2 -L- Added information on how to find out a Raspberry Pi‘s IP 1.12 10/08/2018 RT address and how to use the PiXtend V2 DAC in COEDSYS www.pixtend.com Copyright by Qube Solutions GmbH 2 / 317 PiXtend V2 Software Manual Table of Contents 1.
    [Show full text]
  • Mastering ROS for Robotics Programming
    www.it-ebooks.info Mastering ROS for Robotics Programming Design, build, and simulate complex robots using Robot Operating System and master its out-of-the-box functionalities Lentin Joseph BIRMINGHAM - MUMBAI www.it-ebooks.info Mastering ROS for Robotics Programming Copyright © 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: December 2015 Production reference: 1141215 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78355-179-8 www.packtpub.com www.it-ebooks.info Credits Author Project Coordinator Lentin Joseph Harshal Ved Reviewers Proofreader Jonathan Cacace Safis Editing Ruixiang Du Indexer Acquisition Editor Tejal Daruwale Soni Vivek Anantharaman Production Coordinator Content Development Editor Melwyn D'sa Athira Laji Cover Work Technical Editor Melwyn D'sa Ryan Kochery Copy Editor Merilyn Pereira Alpha Singh www.it-ebooks.info About the Author Lentin Joseph is an author, entrepreneur, electronics engineer, robotics enthusiast, machine vision expert, embedded programmer, and the founder and CEO of Qbotics Labs (http://www.qboticslabs.com) from India.
    [Show full text]
  • Multirotor Unmanned Aerial Vehicle Autonomous Operation in an Industrial Environment Using On- Board Image Processing
    Multirotor Unmanned Aerial Vehicle Autonomous Operation in an Industrial Environment using On- board Image Processing Christopher Venables 20496617 Faculty of Engineering, Computing and Mathematics University of Western Australia Supervisors: Prof. Dr. Thomas Bräunl Mr Chris Croft Final Year Project Thesis School of Electrical, Electronic & Computer Engineering University of Western Australia 1st November 2013 Abstract This project aimed to expand on multirotor unmanned aerial vehicle autonomous capabilities through the use of on-board image processing, in outdoor, unmapped environments. This capability would simplify multirotor unmanned aerial vehicle operation and expand on the commercial applications within industrial environments. A multirotor unmanned aerial vehicle was assembled and algorithms and programs were successfully implemented allowing autonomous navigation of GPS waypoints and coloured object tracking using on-board image processing. A remote browser interface was also developed to allow new mission data to be uploaded to the vehicle while carrying out autonomous objectives. The multirotor unmanned aerial vehicle was successfully able to detect and autonomously track a target object by using on-board image processing. Due to the on-board computational limitations enforced by a limited payload, the complete autonomous target object tracking program operates at an average frame rate of 2.85 fps and is capable of reliably tracking a person moving at speeds of up to 10 m/s. This project has demonstrated the validity of on-board image processing for autonomous multirotor unmanned aerial vehicle control with a robust system that is capable of successfully operating in an outdoor, industrial environment. With increased computational power and by modifying the image processing algorithms for the desired tracking target, this system may be suitable for commercial applications including search and rescue, security and policing, data collection and aerial photography and filmography.
    [Show full text]
  • Bob Rathbone Computer Consultancy
    Raspberry PI Internet Radio Constructors Manual Bob Rathbone Computer Consultancy www.bobrathbone.com 1st of January 2016 Version 4.7 Bob Rathbone |Raspberry PI Internet Radio - / 1 Contents Introduction .......................................................................................................................................... 11 Examples ........................................................................................................................................... 12 Building in a IR sensor and remote control ....................................................................................... 15 Hardware .............................................................................................................................................. 16 Raspberry PI computer ..................................................................................................................... 16 The HD44780 LCD display ................................................................................................................. 17 Using the Raspberry PI model B+ an Model 2 .................................................................................. 17 Raspberry Pi Zero .............................................................................................................................. 18 Radio variants ................................................................................................................................... 20 Housing the radio .............................................................................................................................
    [Show full text]