ElectroNoob69
- Oct 3, 2022
- 1
- Joined
- Oct 3, 2022
- Messages
- 1
I have an LED light strip ( WS2812 ) that I control via a MEGA32U4. The Microcontroller is connected via USB to my PC and receives data to change LED colors accordingly. Everything works fine except that I have a humming noise on my PC headset as soon as the Microcontroller is connected and the LEDs are turned on.
Basically I have the setup shown in the picture below. I suspect the source of the problem is that the Microcontroller is connected to ground of the power supply yet it is also connected to power and ground of the USB port.
I only know basic electronics, so please help me solve this issue. Is this a ground loop issue? Is this what you need an optocoupler for?
Thank you in advance
Basically I have the setup shown in the picture below. I suspect the source of the problem is that the Microcontroller is connected to ground of the power supply yet it is also connected to power and ground of the USB port.

I only know basic electronics, so please help me solve this issue. Is this a ground loop issue? Is this what you need an optocoupler for?
Thank you in advance