effects of a large solenoid to my atmega328 power supply

Wawa:
Yes, across the solenoid, just like the diode across the relay.
Then the kick-back of the solenoid is absorbed in the solenoid, and not thrown back at the supply.
Leo..

Ah, I see that. Basically, the same thing that happens with the little relay, only a lot more of it. Thanks.