Sorry thought I had stated that. I need the solenoid to be actuated when the uC sends a 5V signal to the relay. When the signal stops, the solenoid closes. We're hoping to accomplish this using the relay. Send a 5V signal into the relay, trigger the solenoid, signal stops and the solenoid closes. I mainly just want to find out if I'm using the relay correctly, and what components I need to add to the circuit.
I'd really like to get this circuit going with these main components if possible.