Solenoid On/Off

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ZachMTG
 
Posts: 2
Joined: Thu Oct 16, 2014 9:59 am

Solenoid On/Off

Post by ZachMTG »

Hi There,

I need a solenoid to function in a simple on/off capacity. 12v Power supply = retracted / Power supply off = in lock position. Do I need to purchase a transistor, diode, or Arduino to it to function with more than an on/off switch?

Thanks

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: Solenoid On/Off

Post by adafruit_support_bill »

You could control it directly with a simple switch. If you want to use an Arduino, you would need a transistor or MOSFET and a diode. This MOSFET will handle most solenoids: https://www.adafruit.com/search?q=mosfet&b=1

User avatar
ZachMTG
 
Posts: 2
Joined: Thu Oct 16, 2014 9:59 am

Re: Solenoid On/Off

Post by ZachMTG »

Thank you!

User avatar
lyndon
 
Posts: 281
Joined: Tue Mar 29, 2011 5:28 pm

Re: Solenoid On/Off

Post by lyndon »

While you can control the solenoid directly with a switch, I'd put a small value capacitor or a flyback diode across the switch. The high voltage created when you switch the solenoid off can cause an arc that will pit the switch contacts over time, leading to unreliable behavior.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”