I'm trying to run a Raspberry Pi with a USB audio adaptor into an external amplifier board via 3.5mm, then running out to speakers from the amp.
Right now I'm getting a lot of electronic noise coming through the speakers when the Pi boots up. When the 3.5mm cable is disconnected, the amplifier is otherwise silent, and everything sounds fine if I power the Pi from a seperate PSU to the amp, so I know it's a grounding loop problem that's the issue. I'm assuming I need to rewire where the grounding is for the Pi and the amp, but I can't figure out which arrangement will solve the issue.
I've attached a photo of my set up here, and a crude diagram - the power and ground for both the Pi and the amp are currently hooked into the wago connector. Anyone got any advice on how to eliminate the noise? So far I've tried wiring all the grounds (Amp gnd, Pi gnd, pi and amp audio gnds) together to the ground of the switch which didn't help, and all of them to the ground direct from the PSU, which also did nothing. I've also tried removing the audio grounds entirely, and wiring the Pi ground to the audio in ground on the amp - none of which have succeeded.
I've seen this issue come up in a lot threads here, but haven't yet found a solution to my own problem by trawling through them. Any insights would be welcome!
Right now I'm getting a lot of electronic noise coming through the speakers when the Pi boots up. When the 3.5mm cable is disconnected, the amplifier is otherwise silent, and everything sounds fine if I power the Pi from a seperate PSU to the amp, so I know it's a grounding loop problem that's the issue. I'm assuming I need to rewire where the grounding is for the Pi and the amp, but I can't figure out which arrangement will solve the issue.
I've attached a photo of my set up here, and a crude diagram - the power and ground for both the Pi and the amp are currently hooked into the wago connector. Anyone got any advice on how to eliminate the noise? So far I've tried wiring all the grounds (Amp gnd, Pi gnd, pi and amp audio gnds) together to the ground of the switch which didn't help, and all of them to the ground direct from the PSU, which also did nothing. I've also tried removing the audio grounds entirely, and wiring the Pi ground to the audio in ground on the amp - none of which have succeeded.
I've seen this issue come up in a lot threads here, but haven't yet found a solution to my own problem by trawling through them. Any insights would be welcome!
Attachments
-
466.9 KB Views: 14
-
1.7 MB Views: 15