06-28-2022 11:29 AM
I am using the National Instruments USB-6002. I have a 2-way solenoid valve and I am trying to gain control of it. I am wondering how I would implement my DAQ board and LabView to figure out how to control when the solenoid valve opens and closes. What are some steps I can take to achieve this? I have read that I would have to set up a boolean value to automate this. Any suggestions/ guidance would be appreciated.
06-29-2022 07:12 AM
First, be carefull connecting the solenoid valve, you should not connect it directly to one DIO lines of the USB-6002, use an isolator like a optoisolator or a SSR so that if there is a short circuit on the solenoid side your DAQ card is safe, besides I don't think the USB-6002 is capable of driving a solenoid valve.
Second, I suggest you to go to the LabVIEW forum and on the top you'll find "NI Learning Center", once you've gone trought the courses build a vi and if you have a problem come back and ask more specific questions.
06-29-2022 08:39 AM
Thanks for the reply. Just out of my own curiosity, what would make you think that the USB-6002 would not be able to controll a solenoid valve?
06-29-2022 10:04 AM - edited 06-29-2022 10:04 AM
Just the voltage and current levels, like how one would not expect a Tesla car to run on AA batteries.
06-29-2022 10:09 AM
Come on Santhosh, get with the times 🙂
https://www.youtube.com/watch?v=3AlndKQSs6Q
-AK2DM
06-29-2022 10:24 AM
@AK2DM
Ha ha, looks like they are indeed next-generation cars that run on "AA" batteries - LOL
The highlight of the commercial is the final statement - "batteries not included"
06-29-2022 12:02 PM
Very much enjoyed the jokes! Nevertheless, what about the DAQ board that makes it incompatible with my solenoid valve. The solenoid valve and the coil connector is 120V. If this is still the case, which DAQ board would be best for a project like this.
06-29-2022 05:43 PM
You can still use this DAQ board, you'll just need a circuit in between the digital output and the solenoid valve.
I would use an optocoupler that drives either a mechanical or solid state relay.
06-29-2022 05:51 PM
@Antoniooh wrote:
You can still use this DAQ board, you'll just need a circuit in between the digital output and the solenoid valve.
I would use an optocoupler that drives either a mechanical or solid state relay.
Like @Antoniooh described, we don't say that you cannot use the DAQ board to control solenoids, just that it cannot do it on its own. You need the DAQ board to control a low voltage/current device such as SSR (solid state relay) or Electromechanical relay or Optocoupler which in turn handles the 120V to control your Solenoid.
DAQ output -> SSR / Relay / Optocoupler -> 120V Solenoid
07-12-2022 08:48 AM
So would I have to make a breadboard that contains the optocoupler and connects to the DAQ?
Right now I have this setup that does not use the DAQ board. Here I am using a 4-channel relay, an Arduino, and a breadboard with a 5v converter. My issue is trying to figure out how to connect the 120V solenoid to the system? Any thoughts on how this can be done?