I have an older speaker with an iPod dock that I would like to extend with a Raspberry Pi as a streaming music player. At first, I tried powering the RPi from the dock connector with a Micro USB adapter cable but apparently this does not provide enough current.
Since I do not want to add another power supply to the setup, I have soldered a step-down buck converter to the power connector of the speaker's PCB. (I also replaced the original 12 V / 1.5 A power supply with a 3 A supply which should be sufficient for both the speaker and the RPi.)
The problem that I'm now facing is that this creates a ground loop that adds switching noise to the output of the speaker. I could put an isolator between the RPi's audio connector and the speaker but there also seems to be a lot of interference coming through. Depending on the power supply, it can happen that the GPIO pins detect phantom phantom button actions when e.g. I turn the room lights on and off.
So my current idea is to replace the buck converter with an isolated one like this one.
My questions are:
- Is my understanding correct that the isolated converter should remove both the interference and the ground loop?
- What also makes me wonder is the fact that while buck converters are all over the place, it is hard to find even one of these isolated converters on amazon or ebay. Is this such an unusual application? Or do these isolated converters have another serious drawback?
- Is the general setup OK? While I have basic electronics knowledge, I usually don't deal with power supply (and sure keep my hands off mains), so I want to be sure that I'm not missing anything that makes the whole thing a safety risk.
Thanks in advance for your input, it's highly appreciated.