I am NOT an engineer, I'm helping my Dad out with a PC based data acquisition program to test a product his company makes.
With that little disclaimer out of the way, here is the problem:
I'm reading voltage values of his device, it outputs an AC square wave signal at 4000Hz. The voltages vary from 0 - 25 Vcc Due to this variance in voltage, I wasn't able to use the counter on the acquisition board, so I need to resort to counting rising edges in the collected voltage data, then determine from that the frequency. This is all working pretty well.... as long as I power the device being measured with batteries. If I use the wall adapter, I'm getting a pattern in the results that repeats at 60Hz. This made me suspect the power supply so that's when I tried the batteries and it worked correctly.
So, my question is: What do I need to add to my DC power supply to remove that 60Hz that is making it's way into the system?
I really have no idea... when I put the power supply on the scope, I don't see the signal, but sure enough.. it's there somehow as it shows up in the data I'm capturing.
You can see a screen shot of it here:
Our power supply puts out 3.22 Vdc @ 1.5 Amps
Hopefully this is something that might not be too hard to fix.
best Regards, Steve Klett