I have a circuit where an Arduino Nano is controlling a LED Driver IC (TLC59116F) via I2C. Each of the outputs drives a MOSFET that is connected to a 12V RGB LED strip light.
Everything is working fine.
But... (There's always a but, Grins)
When the LED lighting is on my PowerLine Network adapters all drop out and I lose the network.
If I leave the Arduino powered on in the 5V circuit, everything is ok. However with the 12V side on powering the LEDs I lose the PowerLine adapters.
The 5V supply is a 240V AC to 5V 500mA switch mode PSU
The 12V supply is a 240V AC to 12V 20A switch mode PSU
I clearly need some smoothing on the 12V side. But what do people recommend?
Add some smoothing capacitors on the 12V side? If so what size caps?
Or maybe add a low pass RC filter on the 12V, but likewise what values?
The frequency range on the powerline adapters seems to vary based on manufacture, however mine are zyxel adapters.
Try a 1000uF or greater capacitor on the 12V power supply.
But the problem might is most-likely on the 240V side and filtering the 12V output may not help... What happens when you power the LED strips directly without the Arduino & MOSFETs, etc.?
You can't filter the MOSFET-switched PWM power to the LEDs because the MOSFET has to switch quickly.
The solution may be a different 12V power supply. (Or change your network to Wi-Fi. )
The most likley problem is the 240V to 12V 20A supply, is injecting hi frequency noise onto the mains, which is what is killing the powerline adapters.
Have a look at the primary side of the power supply for a filter which is normally a pair of toroids in series with the mains , but before the rectifier bridge.
When I say the PowerLine Adapters drop out, I mean the can't talk to each other anymore over the mains wiring, assuming because of the noise my circuit is making.
If it is the 240V side...
Recommendations on PSUs?
Or recommendations on a inline plug adapter to filter to go before the main socket.
I tried one of those lawnmower surge protectors but there just a RCD inside and no filter
Maybe you could try something as simple as an inexpensive surge protected outlet between the PSU and the mains.
Surge protected power strips are the bane of powerline networks when adaptors are plugged into them, in my experience. Perhaps you can use that to your advantage, to filter troublesome noise from the PSU from flowing back into the mains line.