I tried hooking up a Raspberry Pi (+Hifiberry needs 12 V to 18V input voltage) to my classic car (to be used as music player, radio, BT speaker, no screen, only 2 rotary encoders to navigate through spoken menu). It functions great when connected to an AC/DC convertor connected to the mains, also built in the car when connected to the car battery with the engine off, but with the engine on it starts to behave strange (cutting out music, not responding correct to the rotary encoders). When I turn off the engine all problems dissapear.
As a test I tried it built in the car, with running engine but with power from the AC/DC converter from the mains (so not connected to the car battery/ground at all) and then all is OK.
I already had a buck/boost convertor in my configuration to provide a stable 12V during start and charging from the alternator. I measured the voltage with running engine and its stays at 12V so the buck/boost convertor is working ok. I also did an additional test with a higher output voltage from the buck-boost to 16V and let the Hifiberry regulate it from there, but that also didn’t solve the problem.
So my guess is that the DC power from the car with running engine is not clean enough for the Pi and electrical noise caused by the engine is messing things up and apparently the buck/boost isn’t correcting that either. At the moment I do not have an oscilloscope to measure the signal to see what is going on.
My guess is that I have to put a capacitor in my system to filter out the noise. I thought about making a low pass filter with a resistor in the positive and and a capacitor in between the positive and the ground but as the audio system pulls about 36W max it could draw 3A causing a massive voltage drop over that resistor so I don’t think that would work.
I think I will try to use the large capacitor this way but I’m wondering why there is no resistor in series with the capacitor (both in between positive and ground) to limit the charge current. Wouldn’t this scheme lead to a very high charge current at t=0, blowing the fuse? Or would the time be too short for that?
Any other suggestions what could be causing the issues with the audio system?
Thanks for your time.