LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect sensor open collector output to NI USB-6

Solved!
Go to solution

Good morning Labviewers,

 

I need to read a frequency (voltage pulse) signal with my NI USB-6229. I already have prepared a vi to do this, but now I'm struggling on how to connect the sensor to it.

 

My sensor is a Bukert flowmeter 8030 - SE30. The supply voltage needed is 24V and the output I'm using is NPN 0,2 - 36V, open collector.

To measure this signal, I'm using a DAQ NI USB-6229 which maximum input voltage is +10V.

I measured the voltage output (or what I think it's the output)  from the sensor and it was 22V, which I can't connect to the card directly.

I've read about using the +5V output from the same card to the open collector, but I'm not sure how to do it.

Can someone help me with this matter? I really need to test this asap.

Thanks in advance!

Vanessa

 

 

0 Kudos
Message 1 of 5
(3,003 Views)
Solution
Accepted by topic author Vanessa86

The first half of this article might help you: How Do I Configure My NI Device to Be Open-Drain (Open Collector) or Push-Pull (Active Drive)?

 

But the short of it is that you use a pull up resistor to the 5V and wire it to the NPN output and your DAQ input.


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 2 of 5
(2,977 Views)

Hi crossrulz,

Thanks for your answer.

Do you know what value of this pull-up resistor should I use?

Thanx.

Vanessa

0 Kudos
Message 3 of 5
(2,967 Views)

It really depends on how much current your open collector will sink.  I usually go with somewhere between 10k and 100k.  I think many of the NI DIO boards have a 47k.


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 4 of 5
(2,956 Views)

Thank you very much crossrulz. I've connected the 5V output from the DAQ to a 9 kOhm resistor, then the sensor NPN output, and then this two to the digital signal input. It's working smoothly!

Regards,

Vanessa

0 Kudos
Message 5 of 5
(2,945 Views)