Werid crash on arduino Nano

Hello.

I've been developing a remote controlled devices using nrf24l01+ (link) and a relay (link) and i've encountered a werid problem. The wiring is as follows, and the power is brought via vin pin.

The whole device crashes when there is load (~40w), otherwise works fine. The 'L' led gets stuck lighten, which belongs to pin 13 used by spi interface to nrf24 antenna. Which renders the device useless.

Already tried using 10 and 100uf capacitors on the 5v supply.

Any idea?

Thanks.

garfius:
The whole device crashes when there is load (~40w), otherwise works fine.

What does that mean? How could there be a 40w load on a Nano?

A Nano may not be able to supply enough 3.3v current for an nRF24. Try powering the nRF24 from a pair of AA alkaline cells (3v) with the battery GND connected to the Arduino GND

If that does not solve the problem post both of your programs.

...R
Simple nRF24L01+ Tutorial

Is D2 on the relay module a flyback diode? Is in parallel with the relay's coil? There should be a diode in parallel with the relay's coil to prevent flyback current from damaging your circuit when the coil discharges. Without one, funny things can happen.