I've connected my circuit as you can see in the image below:
LM386 module: https://www.lelong.com.my/lm386-chip-20 ... Sale-P.htm
It produces white noise, cracking/buzzing when its connected to the 5V and GND GPIO pins on the RPi
I've tried to use an additional power supply for the audio amplifier and it doesn't produce as much noise as the previous method
However I only wish to use 1 power supply, is there any methods like connecting resistor or capacitor helps to smoothen the connections?
I am not an expert in electronics, I think I am facing the ground loop issue but I am not sure about it, or how to solve it
If possible, please guide me on how to add electronic components like resistor/capacitor into the circuit to eliminate the cracking noise