Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting an NPN signal to a TTL 0/5V signal

Solved!
Go to solution

I am trying to connect an Omron Photosensor to NI9401 DAQ card.  The Photosensor outputs a low voltage NPN signal.  I believe there is a way to build a circuit that can convert the NPN signal to the TTL 0/5V signal needed.  However, I'm not an electrical engineer and have exhausted my limited knowledge.  The model number of the sensor is the EE-SX672A and the datasheet can be found at http://www.fa.omron.co.jp/data_pdf/cat/436_en.pdf

 

If anyone has any ideas, it would be greatly appreciated.

0 Kudos
Message 1 of 4
(4,743 Views)

Hi,

 

If the you power the Photosensor with 5Vdc you only need to add a (1k) resistor to get a 0-5V output signal for your digital input.

 

 

Kees

Message 2 of 4
(4,730 Views)
Solution
Accepted by topic author edg24

To add to what Kees said, tie the 1K resistor from the sensor output pin to the 5VDC supply.  Connect the digital input pin if your DAQ card to the sensor output pin.

Message 3 of 4
(4,722 Views)

Thanks to you both.  That did the trick.

I knew it had to be something simple.

 

Thanks again!

0 Kudos
Message 4 of 4
(4,710 Views)