How to Activate a Solenoid Valve using a Push Button
Show older comments
Hi,
How can I create a push button to allow on/off of my solenoid valve?
I am really stuck and do not know how to start.
Can somebody help me?
Must I use Stateflow for this ?
Answers (1)
Image Analyst
on 7 Oct 2012
0 votes
I use USB devices from Measurement Computing to do things like detect push button switch closures. When my user pushes the button, I detect it and tell the camera to snap a picture, but I could just as easily tell it to talk to a solenoid, LED, or any other kind of device. For other supported hardware that you could use, see http://www.mathworks.com/products/daq/supported/data-acquisition-cards-and-boards.html
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!