Hi,
I built a small LM386 amplifier and attached an antenna and an envelope detector to it. For a few days i was able to listen to some local radio through it but when i tried to power the circuit from my ATX psu(5V), all i heard was a loud noise. It's fine while powering from a 9V battery but when i switch to a power supply, this problem arises. When the input is my PC's sound card, i can listen to anything without noise, and also when i disconnect the antenna(long wire) from the detector, the noise disappears. I have tried this with a linear regulated supply, too. The result is the same noise.
What is causing this noise? The first think that comes to my mind is that it is the noise from the AC line but then why it disappears when i disconnect the antenna or when i use it as a normal AF amplifier? I am totally confused.
What i tried;
Put an active decoupler between the circuit and psu, used a 7805 with 100n caps on each side, tried a linearly regulated power supply, put a 10 uF bypassing cap between pin 7 and ground, put two(470 uF and 100 nF) bypassing cap between the V+ pin and ground, moved the psu away from the circuit, put a small 3.3 mH filtering choke between the psu and the circuit and other countless attempts that i don't remember now. None of them actually eliminated this loud noise.
I am waiting for your advices, thanks in advance...