12v Relais with solenoid

Hello ,

i need to switch a solenoid 12V, therefore i use a JQC3F-12VDC-C relais to switch my JF-0530B solenoid.

I connect the VCC and GND of the relais with a 12v adapter, and it turns on .

That works fine, but when I connect my solenoid to NO or NC terminal and connect my arduino to COM port of the relais and turn the digital pin High

I expected that the solenoid should turn in but it doesn't ?
Maybe i am making a mistake?

When i hold it to 12v and ground it works fine.

https://www.gearbest.com/relays/pp_009300692554.htmlhttps://www.google.com/search?q=jf0530b&tbm=isch&ved=2ahUKEwiLrbzxlqfoAhUZtqQKHRr_CHkQ2-cCegQIABAA&oq=jf0530b&gs_l=img.3..0i24.100423.104890..105185...0.0..0.60.381.7......0....1..gws-wiz-img.......0i67j0j0i5i30.wbkzKxGWkzo&ei=ZbtzXsvmFJnskgWa_qPIBw&bih=944&biw=1920&client=firefox-b-d#imgrc=QDZPvb-JYo3TjM

Yes! Your mistake is trying to power a solenoid or a relay from the Arduino pin. Not possible. Use a transistor to switch the power to the solenoid or relay. Plenty of threads on how to do this can be found by using the search icon on the upper right of your forum page.

Paul

Why do you want to drive a solenoid with a relay? A solenoid is an electromagnetically operated device for moving something. A relay is some contacts moved by an electromagnet. Electrically a relay and a solenoid are the same. Whatever will drive a relay will drive a solenoid. Drive the solenoid directly with a FET.