From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

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
(5,123 Views)

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
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 7
(5,118 Views)

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
(5,111 Views)
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
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 7
(5,097 Views)

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
(5,084 Views)

@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
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 7
(5,063 Views)

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

 

Lynn

Message 7 of 7
(5,051 Views)