Helpful thanks...
I meant that it continuously cycles on and off which is not what im trying to achieve. Id like to be able to have a 5 second timer when the switch is activated and the solenoid stay off.
Not being funny but all I'm trying to do is get some assistance for a problem I'm having difficulty with. All you've done so far is criticise my electronics (which work fine), asked information about if I was using a relay shield (which I said I was in my first post) asked which one it was (which was also in my first post) yet not actually give any indication you know anymore about this problem than I do.
Why are you posting in this thread then? I'm just trying to get some help.