Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the NI USB-6009 to generate a 12VDC output and 300mA output current

Solved!
Go to solution
Highlighted

Hi,

 

I am using the NI-USB-6009 as my power source for a 12VDC solenoid valve with current drive of 300mA. Originally I used a non-inverting Op-amp circuit and inverting Op-Amp circuit to get the + 12V and -12V output but I could not get the current I required. Should I use a transistor??

 

Please find pictures attached. Any input would be appreciated.

 

Thanks,

Adam

Download All
0 Kudos
Message 1 of 7
(3,479 Views)
Highlighted

Yes, you should be using a transitor circuit to turn your 12V to the solenoid on or off.

 

Each Digital Output of the USB-6009 can only supply 8.5mA, so you may want to get a buffer IC that can supply more current to your transistor.  To make your logic easier, I would use an Inverter chip.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Message 2 of 7
(3,474 Views)
Highlighted

Can you please elaborate on that? I have a switch in my VI which outputs 5VDC from the digital pinout when switch is on and 0V when its off. Where would you put the inverter chip? Will this amplify the current? Thanks for your help.

 

Adam

0 Kudos
Message 3 of 7
(3,467 Views)
Highlighted
Solution
Accepted by topic author Scall93

Well, it really does depend on your transitor circuit.  But most systems I have used use the transistor to set the voltage to the device to 0V.  So when your DIO is high, the output is actually 0V (low).  So by using an inverter chip, your output of the DIO will sort of match the output of the circuit.  If you get the right IC, then the inverter will also give you some extra current to drive your transistor.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Message 4 of 7
(3,453 Views)
Highlighted

The ULN2003 will do what crossrulz is suggesting. It works nicely at 12 V and 300 mA with no extra circuitry required. It includes clamp diodes to protect the transistors from inductive spikes. It has 8 inverters/drivers in one 16-pin package.

 

Lynn

 

 

Message 5 of 7
(3,440 Views)
Highlighted

@johnsold wrote:

The ULN2003 will do what crossrulz is suggesting. It works nicely at 12 V and 300 mA with no extra circuitry required. It includes clamp diodes to protect the transistors from inductive spikes. It has 8 inverters/drivers in one 16-pin package.


Just leave it to Lynn to have a part in his head that does everything I have ever wanted.  I'll have to save this one somewhere.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 6 of 7
(3,419 Views)
Highlighted

I have a couple of parts on my desk, too.

 

Lynn

Message 7 of 7
(3,407 Views)