Trouble with latching solenoid on 1012_2

Technical Discussions on any InterfaceKits
Fresh meat
Posts: 1
Joined: Fri Nov 18, 2016 5:13 am

Trouble with latching solenoid on 1012_2

Postby notanengineer » Fri Nov 18, 2016 5:30 am

Hey guys,

I've run into a bit of a wall and I'm hoping you can help me. Let me start off by saying I'm extremely new to all of this and I apologize in advance for any dumb questions I may ask, I'm trying to learn!

(Sorry, forum not letting me use img tags for some reason.)

I was trying to control a permanent magnet latching solenoid with the 1012_2 board. I wired it up according to the user guide and it seemed to work correctly. I turned on the output and the plunger was pulled into the solenoid by the magnet.

(Sorry, forum not letting me use img tags for some reason.)

As far as I understood, to release the plunger from the pull of the permanent magnet, I have to give the solenoid a reverse polarity. It worked when I was doing it by hand with the DC power supply, but the problem is I had no idea how to do this with the board. I foolishly attempted it twice without coming here to ask and twice the board caught a bit of fire. :( I just put in another order for a new board, but I'm a little financially challenged at the moment so I was hoping one of you pros could help me out and show me how to wire this thing so I don't blow up another board. I will be eternally grateful.

User avatar
Site Admin
Posts: 654
Joined: Fri Oct 28, 2011 12:17 pm

Re: Trouble with latching solenoid on 1012_2

Postby mparadis » Mon Nov 21, 2016 9:24 am

If you didn't flip the diode around when you switched the wires, then the 1012 would be unhappy with the 18V short circuit running directly through the diode.

In order to switch forward and reverse polarity to a device, you'd want to build a circuit like an H-bridge. You'd also have to use two diodes, one for forward and one for reverse. They'd be placed right after one of the switches on either of the red paths in the diagram on the wiki page. Unfortunately, the 1012 has a switch-to-ground style of switch, so in order to build an H bridge you'd need a conventional switch like the ones on the 1017.

Return to “InterfaceKits”

Who is online

Users browsing this forum: No registered users and 1 guest