Polarity changer 9V DC

Hi,

I am dealing with a 9V DC solenoid valve which has a shaft that moves one side if you apply current and to opposite side if you switch the polarity.

But the current shall be timely limited (ca. 500 ms). If the current is always on the valve is getting very hot quickly (drags almost 2 amps).

For my need I have a smart home actuator on 230V AC that can trigger a relay to give a signal.

Q: How to build the arduino to switch polarity, load solonid is 2 amps 9 V (18W)
I probably need some transistors to handle the load.

Thankful for all help.

Sketch:

Use a H-bridge.

Use two relays, one to swap the poles +/- and the second to switch the power on/off.

The Arduino simply needs to identify the input state, set the polarity, and pulse the power relay for xxxmS.

You could use an H- bridge if you want to skip the relays, they’ll need a transistor each anyway - to handle the relay voltage & current.

I would use an H-bridge motor driver to reverse polarity, but you only have 1 input. How does the MCU know which polarity to output?
https://www.pololu.com/product/2997

Umm, no! :astonished:

That involves using a DPDT relay which is less durable for the same size and actually complicates matters quite unnecessarily.

Two SPDT relays are much more practical, arguably safer - one for forward and the other for reverse. :+1:

Hi

This is so nice, answer in short time, thanks for help.

My next question is to help a newbie to make the wire layout (like my sketch) .
Witch pins:
From ESP8266 goes to the "two SPDT's"
and
Which pins goes to my solenoid.

Maybe there must be some resistors in the circuit also..

Thanks up front!

M

Don't forget, with 2 SPDTs, you will need 4 kickback suppression diodes to protect the relay contacts and minimize EMI. They are included on a motor driver.

A bridge is most convenient. :sunglasses:

Only comment on that diagram is that it is recommended that the Normally Closed relay contacts be those connecting to the negative or "ground" of the supply. :grin:

Solenoids aren't 'constant duty' devices typically.

Agreed * 2 (I didn't make that diagram).

Even less so if AC solenoids which do not fully pull in and close the magnetic circuit, so overheating and making a bad smell.

Memories of my washing machine. :astonished:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.