Hello,

I want to use an NPN proximity sensor as homing switch. I fed the sensor with an external 24v power supply so as the sensor is NPN the output is -24v. The BOB wants +5v on the limit switch input.

So I need to convert the -24v coming from the sensor to +5v. Is there a practical way to achieve this or should I give up and use a PNP sensor?

Thanks in advance.

Best,
Suat