Raspberry Pi project — Car Audio improvement
Wednesday, May 22nd, 2013Update 2013-05-24:
Thanks to Laurent, I now know more about the audio capabilities of the Pi. Sad news is that the on-board audio output ain’t that great (to say the least :p). One possible solution could be to use an USB sound card or
A second solution would be to hook an A2DP adapter to the RCA inputs of the car, such as this one from Logitech.
Although the second solution seems overall better (possible to pair different devices to the A2DP adapter and stream anything to the car’s audio system of relying on the presence of an USB stick on the Pi, I think I’ll go with the Pi at first (otherwise all the fun is gone :p).
My current idea is to use an USB sound card, maybe with the addition of an USB Wi-Fi / Bluetooh adapter so that I can obtain at least the same functionalities as with the A2DP adapter. I found some, tutorials to do what I have in mind. I’ll check that out in the coming days.. :)
Some other links that might be useful (to me that is :p):
- http://maffulli.net/2013/03/23/streaming-audio-from-raspberry-pi-part-2/
- http://kmonkey711.blogspot.de/2012/12/a2dp-audio-on-raspberry-pi.html
- http://blog.scphillips.com/2013/01/sound-configuration-on-raspberry-pi-with-alsa/
- http://lesbonscomptes.com/pages/raspmpd.html
- http://lifehacker.com/5978594/turn-a-raspberry-pi-into-an-airplay-receiver-for-streaming-music-in-your-living-room
- http://audioplastic.org/blog/2013/01/10/AP1/
- http://www.raspyfi.com/raspberry-pi-usb-audio-fix/
- http://dbader.org/blog/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio#update1
- http://www.blackv.tk/projects/retropi/raspberry-pi-a2dp-audio-sink/
In my last posts, I’ve explained what I currently do with the two Raspberry Pi I own. In this post, I’ll describe one project I now have in mind that I will probably start working on in the coming days.
My goal with this project is to extend the audio system of my car.
Currently, all I can do in my car is to either listen to CDs (classic or MP3, which is pretty standard by now) or the radio. Apparently, I can’t stream music towards the car using Bluetooth because either my car, its specific firmware version or my bluetooth device does not support the correct Bluetooth profile (A2DP protocol).
Rather boring eh? Clearly, the Raspberry Pi could help here ;-)
Fortunately, my car has an RCA stereo socket that I can take advantage of.
For starters, my idea is to have the Raspberry Pi hooked up on the RCA socket and automatically playing any audio files it finds (either on the SD card itself or on any plugged in USB disk). So that I don’t have to worry too much about it, I also want it to do that without any interaction, meaning that from the moment it is booted up:
- it should start playing the music it finds
- if a USB device is plugged in, it should scan it for audio files to queue
Optionally, it should remember the last played song and start from there, or it could just play songs randomly. For this first phase, I think that console music players such as these might help me get started: cmus, sox, …:
- http://archive09.linux.com/feature/124907
- http://www.tuxarena.com/2011/12/10-console-music-players-for-linux/
- http://ubuntuforums.org/showthread.php?t=1699260
Later on (and if I’m not satisfied with what I’ve described above), I have additional ideas:
- since I want to learn electronics, I could add some switches to support basic controls (play, pause, next, previous)
- since I also have music on other devices with Wi-Fi, I could add a USB Wi-Fi dongle and be able to send music towards the Rpi
- if I have the USB Wi-Fi dongle, I could also find ways to remotely control music playback using a smartphone
- I could try to find a way to plug into the car’s display system and use it, like that thing does:
As with any project, the possibilities are endless and so are the possible paths from start to finish. We’ll see how I get there! ;-)














