BOSEBerry Pi Internet Radio : 4 Steps (with Pictures) - williamswasioneating
Introduction: BOSEBerry Private investigator Internet Radio
I love listening to the radio set! I was victimisation a DAB radio in my house, but found the reception was a trifle patchy and the profound kept breaking up, so I decided to progress my own internet radio. I have a strong wireless fidelity signal around my menage and the digital broadcast should mean that I was able to play high fidelity sound.
I didn't want to use a smart speaker. I wanted to switch the tuner on, be fit to change channels and then switch it off, so it behaved retributory like a tralatitious receiving set just Eastern Samoa it was using the internet for its connectivity, I could listen to radio channels from anywhere in the world.
I managed to find a second hand out BOSE SoundDock serial publication II model on ebay (be £5.33) simply information technology was listed as not working. This wasn't a problem as I would remove all the internal circuitry to add my own.
Supplies
A Bose SoundDock (I used the series II model)
Razzing Pi Zero Wireless with perpendicular angle GPIO header pins
DAC decoder PCM5102A
Amplifier PAM8403
VS1838B infrared receiver
HX1838 remote
Drum jack 2.1mm socket
Copulative wire (I used wirewrap)
3D printing process facilities
Spool of PLA printing machine filament
Acrylic paint lacquer spray
Tooth enamel paint
M3 nuts
M3 x 8mm attic head hex ram down motorcar screws
IR receiver LED
Veroboard & header pins
Step 1: Disassemble the Building block and Clean It
The SoundDock is sluttish to demand apart. Remove the humble first and disconnect the wiring loom. The forepart ipod docking sections uses Torx T6 spline screws.
Remove the front wire mesh panel. This is a friction fit that uses foam to grip the side of the case. I managed to untie information technology with a hook typewrite pick so information technology lifted out easily. I have seen instructions to remove these by tortuous a mint in the slot between the wire meshing and the encase, merely I didn't want to mark the case with the edge of the coin.
The front panel acts as a heatsink for the original amplifier and tail be removed with screws. This is then lifted out and the speakers and unexciting ribbon cable can embody disconnected.
If your SoundDock is an quondam social unit, information technology has probably picked up a lot of dust and grime. With all the electrical components removed, you can right away give it a good cleaned in sensual soapy water. I used a 'sticker remover' spray to clean ascending the mess left by a mark down. Remember not to use whatsoever abrasive cleaning materials, so you can preserve the high comment cultivation on the lawsuit.
Step 2: 3D Print the Components
I premeditated a cradle that would mount to the inside of the alloy heatsink thusly that I could confiscate the Raspberry Pi, DAC decoder and amplifier components in a sui generis compact unit.
The cradle comes in two parts, the lower part was printed with supports as thither is a hole required in the English of the unit, thusly the micro SD card can be changed without having to disassemble the whole building block. These written supports can easily be removed using a metal choice and a pair of thin-nosed pliers. The two parts of the cradle can be joined together with M3 machine screws and nuts that are held wrapped in the design.
A 40-pin suitable weight head was soldered onto the Raspberry Pi (RPi).
The RPi is decorated on some printed circuit board spacers which are and so drilled out so the machine screws pass direct easily. This is also done carefully along the Raspberry Pi corner mounting holes.
On the meridian of the cradle you will see the DAC PCM5102A with soldered quadrant headers, a PAM amplifier and a replicate words of headers mounted on some veroboard to play a power supply motorbus bar. The solid of this assembly prat embody attached to the alloy heat sink empanel that attaches to the front of the SoundDock using the avant-garde screws.
The front line name plate was designed to follow the radius of curve of the case. I victimized embossed letters and it was printed out accurately, but I didn't think the BOSEBerry Shamus name was particularly visible unless information technology caught the light in the correct way. I definite to paint the embossed letters to give them more visible. I sealed the photographic print with a clear acrylic fiber lacquer spray to fill some voids in the print Earth's surface. This should ensure that the close layer of bicolour enamel paint didn't bleed through the printed layers of the art object. The enamel key was built dormy in various coats. Whilst painting, some capilliary action did draw the paint ahead to the come up resulting in some smudges, but once it was dry, I was fit to clean it up with some blind drunk and dry paper and and then minimal brain dysfunction a final coat of hyaloid lacquer to equate the glossy finish of the unit.
Step 3: Configure the Private detective
The following instructions are the steps you need to cristal through in order to configure the tuner software.
- Download Buster Lite from https://World Wide Web.raspberrypi.org/downloads/raspbian/Extract the zipped file – you will have a .img file.
- Format the micro SD card using SD card formatter https://www.sdcard.org/downloads/formatter/
- Use Win32 Disk Imager https://sourceforge.net income/projects/win32diskimager/ to write Raspbian Buster onto the SD card (which takes about 10 minutes)
- Attach the Pi to a Monitor and keyboard and login with username = pi, word = raspberry
- Type Sudo raspi-config into a console window.
- Menu option 8 – update this instrument to latest version.
- Carte du jour option 1 – change the user password and make a note of it.
- Bill of fare option 2 – network options
- (N2) Enter WiFi details for your home network
- (N1) Change hostname to radiopi
- Carte du jour option 3 – Enable Boot options (B1) and (B2) Soothe auto login
- Menu selection 5 – Interfacing options (P2) enable SSH
- Menu option 7 – Advanced (A1) Expand filesystem
- Sudo disposed-get update
- Sudo apt-get upgrade (15 minutes)
- Sudo rpi-update (to update microcode)
- RPiZ can right away be used 'headless' and then you fundament SSH into IT to configure the rest of the settings. Log on to your router through a browser (something ilk 192.168.1.254) and find the ip computer address of your radiopi. Download Putty and economic consumption information technology to log on to the Pi using the ip direct you have but found. The username=pi and use your new password.
- sudo apt-get establis lirc # set up LIRC (enter y to continue)
- sudo nano /boot/config.txt
- uncomment and transfer PIN --> dtoverlay=gpio-Inland Revenue,gpio_pin=23 #pivot 16 along the board
- comment out #dtparam=audio=on
- dtoverlay=hifiberry-dac
- comment out RPi4 options dtoverlay=vc4-fkms-v3d and max_framebuffers=2
- ctrl X then Enroll then 'Y' to save
- candle /etc/lirc
- ls to list the files in the directory
- sudo cp lirc_options.conf.dist lirc_options.conf
- sudo cp lircd.conf.dist lircd.conf
- sudo nano lirc_options.conf
- driver = nonremittal
- device = /dev/lirc0
- ctrl X then Enter and so 'Y' to save
- sudo nano /etc/lirc/lircd.conf.d/HX1838.conf
- Copy in the definitions for HX1838.conf from text file (ctrl-insert to paste into the console)
- ctrl X past Enter upon then 'Y' to save
- cd /etc/lirc/lircd.conf.d
- ls to see files
- sudo Md devinput.lircd.conf devinput.lircd.conf.dist (to handicap it)
- sudo nano /etc/lirc/lircrc
- library paste in the configuration code for lircrc
- ctrl X then Participate then 'Y' to save
- sudo clever-get install mpd – enter 'Y' to continue (takes some time)
- sudo apt-get install mpc
- sudo nano /etc/rc.local
- comment out wholly the code demur exit 0 at the end
- #add these next comments before exit 0
- add irexec -d
- add mpc stop
- tote up mpc volume 30
- #tighten the power requirements
- # switch off hdmi as this unit is headless
- /usr/ABA transit number/tvservice -o
- ctrl X then Inscribe so 'Y' to save
- Finally, create a new asound.conf by typewriting sudo nano /etc/asound.conf and entering the following:
- pcm.!nonremittal {
- type hw scorecard 0
- }
- ctl.!nonpayment {
- type hw card 0
- }
- ctrl X and so Enter then 'Y' to save
- sudo nano /etc/mpd.conf
- scroll down to amend these settings
- audio-output{
- Type "alsa"
- Advert"My ALSA Device"
- Device "hw:0,0"
- Mixer_type "computer software"
- Mixer_device "default"
- Mixer_control "PCM"
- Mixer_index "0"
- }
- ctrl X and so Enter then 'Y' to deliver
- sudo reboot
- You are now ready to connect the wires.
I configured the energy stations to the favorable, but you can change the url streams and use any radio stations you want. See the attached lircrc configuration file.
Key 0 = Jazz FM http://edge-ads-02-gos1.crisp-stream.com/jazzfmmobile.mp3
Key 1 = Absolute Classic Stone http://ais.absoluteradio.co.uk/absoluteclassicrock.mp3
Key 2 = BBC Energy 2 http://a.files.bbci.atomic number 27.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/Alaska/bbc_radio_two.m3u8
Key 3 = Classic FM HTTP://vis.media-ice-skating rink.musicradio.com/ClassicFMMP3
Key 4 = BBC Energy 4 http://a.files.bbci.co.uk/media/endure/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8
Key 5 = BBC Radio 5 HTTP://a.files.bbci.co.uk/media/live/pronunciamento/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_five_live.m3u8
Key 6 = BBC Radio 6 Music hypertext transfer protocol://a.files.bbci.co.uk/media/live/pronunciamento/audio/simulcast/hls/uk/sbr_high/Alaska/bbc_6music.m3u8
Key 7 = BBC Whiteface and Worcester HTTP://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrhandw_mf_p
Key 8 = Absolute 80s Music http://ais.absoluteradio.CO.uk/absolute80s.mp3
Key 9 = Absolute 90s Music hypertext transfer protocol://ais.absoluteradio.co.uk/absolute90s.mp3
Up Arrow = volume up
Push down Arrow = volume down feather
Key Left = Innocent playlist
Key Right = Clear playlist
Key OK = Play
Key out Back = Toggle (which pauses live play)
Key Exit = Occlusive
Step 4: Cable Upwardly the Project
Connect the circuits up using the wiring tables above.
I originally built the epitome on a breadboard to tally that it worked. I was then able to transfer the telegraph connections to the components I had installed, using dupont connectors on the headers. Again, I was able to test to fit that the social unit was still working. Finally, I distinct to pretend the final connections victimisation a wirewrap tool. This provides a really neat way to connect the components and has the added bonus that connections can easily be 'undone' if necessary. The electric connections ready-made using this method are then good, they don't actually pauperism soldering.
The Atomic number 77 LED receiver was added into the project by soldering it onto a small piece of veroboard which was and so affixed in the place of the pilot Light-emitting diode at the front of the character. The wires were kept short and federal official through the built in channel to connect to the RPi. This receiver will model behind the fine wire ensnarl grill then that it is able to 'see' the Atomic number 77 signalize from the remote control unit.
One time the speakers have been secured in the cabinet, they nates be attached to the stereo channels of the amplifier output. The female power supply jack socket can be threaded through the 3D printed sustenanc plate and wired into the bus legal profession of the circuit. The whole social unit is powered by a 5v 3A connect transformer.
Be the Low gear to Apportion
Recommendations
-
Anything Goes Contest 2022
Source: https://www.instructables.com/BOSEBerry-Pi-Internet-Radio/
Posted by: williamswasioneating.blogspot.com

0 Response to "BOSEBerry Pi Internet Radio : 4 Steps (with Pictures) - williamswasioneating"
Post a Comment