Go Down

Topic: How to switch polarity? (Read 949 times) previous topic - next topic

grimbouk

Hi all,

first off, I'm new to electronics, so this may be a newbie question ;-)

I want to control a 9v Solenoid from my arduino. I've managed to get myself to a position where I can power the solonoid form the arduino to make it change one way, to make it change back I just switch the +/- wires around.

So my question... how do I build a circuit that allows me to change the polarity from the Arduino?! Can anyone give me any pointers to where I should be looking for examples?

thanks
Tim

kg4wsv

The magic word is: H-bridge.  It's usually used to run a DC motor in reverse, but electrically it's exactly the same as your solenoid (which apparently doesn't have a spring to return it?).

There are lots of examples if you google, and commercially available H-bridge shields for your arduino.

-j

grimbouk

hi kg4wsv,

thanks, I'll see what I can find for that.

and yeap, the solenoid stays put (is "latching solenoid" the right term?!)

Tim


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy