2

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen.

I was thinking to use a Raspberry Pi Zero W to setup it as both a Bluetooth Audio receiver and USB Mass Storage. Then write a program to write the Bluetooth audio as an MP3 file into the mass storage space, and keep updating the MP3 file in the hope of the audio system of my car be able to open that MP3 file, show the metadata on the screen and play the MP3 audio.

Is such solution even possible with Raspberry Pi Zero W?

1
  • 1
    I hope so - I'm just considering a project to use RPi as a "bridge" between Bluetooth, and my Sonos system. Not really that similar to what you're doing, but there are some common elements. You may want to read this for ideas
    – Seamus
    Commented Jan 28, 2019 at 13:01

1 Answer 1

3

You can build such a thing with a Pi. However, the problem would be how the head unit accesses the MP3 files, and the fact that you are changing it out from under it. Most programs (like the one the head unit is running) won't handle that correctly and give a variety of errors, including crashing.

For the hardware, you probably want something like this, called the Pi Stem. enter image description here

For the configuration, you probably want to pursue these tutorials that I found. Basically, Linux has a subsystem called Gadgets, and you configure the Pi to act like one of a variety of normal USB deviced. IRQ 5 best overview of process and fixes, Hardkill.me really good series of blogs, Adafruit Ethernet Gadget, Pi SE USB Mass storage,

Better Solution

You would be better served by trying to figure out a way to inject analog audio into your head unit, and setting up the Pi to act like a Bluetooth speaker using the A2DP profile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.