Trying to figure out which relay I need for a project I'm working on. The source is a 12V battery, and I'm looking to turn on a 12v solenoid using a relay. I want the control voltage on the rely to be 5V, so I need a 5v relay capable of switching 12V. Found this relay but I'm not sure if I'm looking at it right. Would this relay be capable of doing what I want?
In the comments, efox29 found a datasheet for this relay which will help in my answer. (Thanks!)
There are two parts of a relay to look at:
Your control voltage needs to match the coil voltage. They're both 5 V here. Good.
Your control output needs to supply enough current to make the coil work. The datasheet says that this relay takes 71.4 mA of coil current. That's quite a bit, and it's definitely more than an Arduino can source. I don't know what you're planning here - you should look at driving the coil with some sort of transistor driver.
The relay needs to be able to withstand the load voltage when it's off. Here, the contacts are rated to 30 VDC, and the highest voltage in your system is 12 V. Good.
The relay needs to be able to pass all of the current into your load. The link says 10 A. You didn't say anything, so I can't confirm this. If your solenoid's required current is less than 10 A, this is fine.