RGBW Controller - Problems with pwm outputs

Hey guys,

I am trying to get my rgbw controller working. I am using a ATmega328, four mosfets and a IR receiver to control a rgbw strip via remote controls. My programm is working correctly because if I connect everything using my arduino uno it works like a charm.
My problem only appears when I connect everything on my breadboard. If I set analog output 5 and 6 to like 25%, the µC resets itself.

I also figured out when I disconnect either pin 9 or 10 it seems to work.
Is there any kind of protection against electromagnetic interference build in on arduino board I need to use?

It would be great if you guys could help me.

Kind Regards

RGBW.pdf (186 KB)