Logo

Navigation
  • Home
  • Android
  • Web
  • Raspberry Pi
  • PHP
  • Go

Raspberry Pi and spare car speakers for wifi boom box

By Rajinder Deol | on November 13, 2016 | 1 Comment
Education Raspberry Pi Technology

This post is about making a wi-fi speaker which supports AirPlay so that you can play music via your iPhone. If you have an existing music system with aux (auxiliary) input you can use Raspberry Pi to make it support Airplay. However I have made the music system by myself using spare car speakers and then used Raspberry Pi to support Airplay.

The speaker system:

The good thing about electronics now a days is you can easily get custom components and all you need to do is assemble them. I had a spare set of 4 ohms 3-way car speakers both supportingĀ  50 watts.

pioneer_speakers

The output of speakers was really good but I can’t use them without an amplifier. So, I did some research and I found a reasonably good amplifier with connections for speakers and power supply. TDA7297 Audio Power Amplifier which work on 12v 3A power supply.

tda7297_audio_power_amplifie

Along with this I have bought 12v 3A power adapter with three pin plug.

adapter

The amplifier doesn’t have a standard 3.5mm audio input but it had 3 pins(Left,Right and Ground) for audio input. So, I took a standard 3.5 mm audio jack aux cable and stripped its one end so that I can connect it to the amplifier.

audio_cable_stripped

 

 

After connecting the speakers, power supply and audio cable I have a full functional speaker system. Now we have to prepare and connect Raspberry Pi for supporting Airplay.

Raspberry Pi Setup:

Raspberry Pi

Raspberry Pi

I don’t want to have two different power supplies for amplifier and RaspberryPi so, I decided to use the existing power supply of amplifier. Raspberry Pi works on 5V and it is connected via micro usb, but the amplifier power supply is 12 v so, I decided to buy a 12 v to 5v converter with USB output so that I can easily connect it to the RaspberryPi. Once again after some research online I found one on eBay. It came with open wires at one to connect to 12 V supply. To make my setup easy to manage, I have also bought an easy to connect adapter to have it on one end rather than the open wires.

5to3vadapter

female-dc-plug

Now to make my 12V adapter to supply power to amplifier and 5V converter, I have also bought splitter-plug for the power adapter, so that I can easily connect the existing power supply to amplifier and the 12-to-5v converter.

dc_power_adapter_splitter_plug

Finally the whole hardware setup was done and it was time to take care of software part. I have started doing some research and found RuneAudio, it is an embedded hi-fi music player which has inbuilt support for Airplay. RuneAudio has a pre-build operating system image for Raspberry Pi which can be downloaded from their site.

After downloading the image, write the image on a memory card for booting the Raspberry Pi. Complete instructions can be found on RuneAudio website.

I have used the default audio port of Raspberry Pi for supplying audio signal to amplifier. At last everything worked and I was playing music from my phone to the speakers over wifi, but there was a lot of buzz noise caused by the ground loop (due to poor insulation of shared power supply between amplifier and RaspberryPi). So I bought a ground loop insulator.

car-home-35mm-ground-loop-isolator-aux-stereo

Booting up the system:

Connect the LAN cable to Raspberry Pi and power it up. RuneAudo has a web-based interface and can be accessed on your local network. Open http://runeaudio.local to access the player. You can set up and add your wi-fi from this web-interface. After this you can boot up your Raspberry Pi without connecting it to a LAN cable.

 

Final Product:

I have put my speakers in a white cardboard box and mounted amplifier and power supply inside it. I have kept the Raspberry Pi outside for easy access. Here is how it looks.

img_6415

Right now I am able to play music to these speakers from my iPhone and my windows laptop. I am still working on a way to play music from my Ubuntu Laptop. I will update the post with more details when I succeed.

Related

Share this story:
  • tweet

Tags: raspberrypi

Recent Posts

  • RaspberryPi with PiHole to block ads everywhere

    September 22, 2021 - 2 Comments
  • Reviving RaspberryPi 1 Model B in 2021 After 7 years

    September 13, 2021 - 1 Comment
  • NodeJS Consumer for AWS SQS using Docker

    November 10, 2018 - 3 Comments

Related Posts

  • Raspberry Pi – How to start a project

    March 2, 2014 - 1 Comment

Author Description

One Response to “Raspberry Pi and spare car speakers for wifi boom box”

  1. October 2, 2020

    Andrew Reply

    My thoughts encapsulated except swap out Dali for Spendor.

Leave a Reply Cancel Reply

Your email address will not be published. Required fields are marked *


*
*

Recent Posts

  • RaspberryPi with PiHole to block ads everywhere
  • Reviving RaspberryPi 1 Model B in 2021 After 7 years
  • NodeJS Consumer for AWS SQS using Docker
  • Laravel development using docker-compose with nginx and Mysql
  • Writing Your First Service in Golang Go-Micro

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9 other subscribers

Categories

  • Android (7)
  • Education (9)
  • Go (2)
  • PHP (5)
  • Raspberry Pi (4)
  • Technology (17)
  • Web (8)

Author details:

Raj Deol

Raj Deol

Traveller, Foodie and electronics enthusiast.

View Full Profile →

© 2016. All Rights Reserved.