Close

Prototype plays music!

A project log for MPi3 - CAN-BUS MP3 player

This is a CAN-BUS enabled python MP3 player running on a raspberry pi

trueffelwurmtrueffelwurm 09/23/2015 at 07:450 Comments

I'm sorry for the long delay to this update...

This project made a huge step as the MP3-Player now actually plays MP3's.
I build a python-script that uses the pygame library to control the playback of audio files.

It also uses the SocketCAN implementation of the python-can lib to listen to steering wheel commands and write song titles to the display.

I will describe the program in the details-section later and I will move the development from my personal repo to github (and, of course, link it here!).

The script also waits for the original "Aux" message to make sure it only sends the text when the radio actually is in aux mode (otherwise it would overwrite the radio station etc).
This currently makes some problems because the radio sends some different messages transferring "Aux". So far, i found 4 different messages. This makes the detection not 100% reliable.

Also my current setup is connected by jumper wires to the OBD-port of the car. This is great for testing but makes no reliable vibration-proof connection. So I need to build a housing and wire everything to the cars electric.

Next updates will follow soon!

Discussions