Hi Guys,
Just a quick question.
Can the Lock-style Solenoid - 12VDC(http://www.adafruit.com/products/1512) be drive by the Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit(http://www.adafruit.com/products/1438)?
If so, would you basically drive it a bit like a DC motor - energizing it's single coil for a period of time, then turning off the motor port?
cheers
James
Driving a Solenoid with the Adafruit Motor Shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- prologic
- Posts: 23
- Joined: Thu Apr 10, 2014 5:45 pm
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Driving a Solenoid with the Adafruit Motor Shield
Yes. You can drive that with the motor shield. You would power the shield with 12v. In your code, set the speed to 255 (full speed) then run (either FORWARD or REVERSE) to energize the coil.
- prologic
- Posts: 23
- Joined: Thu Apr 10, 2014 5:45 pm
Re: Driving a Solenoid with the Adafruit Motor Shield
Great thanks! Couldn't be easier!
cheers
James
cheers
James
Please be positive and constructive with your questions and comments.