I have a circuit made up of:
- A 12V power supply
- A "TracoPower TSR 1-2450 Single Output DC-DC Converter 1W" which converts this 12V supply to 5V.
- A pre-assembled audio amplifier
- A Raspberry Pi
They are connected together as shown below (along with a bunch of other buttons and lights and things which I think are not interesting for this question):
When I play audio from the Raspberry Pi there is an incredibly loud hiss/hum sound.
Some observations:
- If I plug headphones direct into the Pi it sounds normal.
- If I put the audio amplifier onto a separate 12v supply the hum is diminished though not completely gone.
Could anyone help me with what I can do to diagnose / mitigate this hiss/hum? I'd like to understand the problem as well as solve it, and I don't really want to use two different power supplies. I'm almost a complete novice at electronics.