It looks like you're new here. If you want to get involved, click one of these buttons!
Subscribe to our Patreon, and get image uploads with no ads on the site!
Base theme by DesignModo & ported to Powered by Vanilla by Chris Ireland, modified by the "theFB" team.
Comments
Nil Satis Nisi Optimum
Trading feedback
So rather than a constant DC voltage, it is like a square wave - so the DC is fluctuating between on and off very quickly.
The longer the signal is in the On state, the brighter the LEDs will appear. That is a possible cause of the hum you are hearing.
If it is possible to adjust the brightness of the LEDs, try setting them to the maximum brightness - this will get the signal closer to a constant DC signal and may reduce the hum.
I had a similar problem with a project controlling LEDs in an optocoupler with PWM where the PWM frequency was coupling into the audio.
I resolved it by increasing the PWM frequency out of the audio range.
I was worried that the LEDs would not turn on / off quick enough, but actually it was fine.
There will be a loss of efficiency at higher PWM frequencies, which could a problem with stage lighting where significant power needs to be delivered, but not really an issue with a small number of LEDs.
In my experience USB sockets do not provide very clean power, and are very noisy, especially when drawing significant current.
If the LEDs are not PWM controlled, you may be able to clean up the power using some form of RC or LC filtering.
Thanks so much for the help
Trading feedback
If the brightness is adjustable then it's almost certainly PWM, which will make eliminating the noise by shielding hard unless you can increase the PWM frequency (and even then it could still cause problems).
It may be possible to use a regulated DC supply, but this will mean you would not have control over the brightness.