Best way to connect pressure sensor (open collector outputs) to Raspberry

Thread Starter

nanok66

Joined Jul 14, 2016
72
Hi all,

I have a Keyence brand pressure sensor I am looking to connect to a GPIO input on my Raspberry Pi. The wiring diagram that Keyence gives says it uses 10-30VDC. I do have 24VDC power in my control box. What would be the best way to interface a GPIO input and this device? I attached the page of the Keyence pdf.
 

Attachments

ericgibbs

Joined Jan 29, 2010
10,814
hi n66,
Use the NPN open collector option, say a 4k7 pull up to 5Vcc supply of the RPi.
E

Update:
If you prefer an Analog output option, select the 4-20mA, use a 250R load resistor, Voltage range +1V thru +5V.

AAA 489 08.15.gif
 
Last edited:

Thread Starter

nanok66

Joined Jul 14, 2016
72
@Alec_t Oh I didn't explain enough. The sensor has a digital display so I am simply looking to read a signal that is just ON/OFF if the sensor has exceeded a setpoint. I guess that would be the "control output" on the datasheet.
 
Top