I would like to read out a wire sensor with my arduino to measure distances.
I have a WPS-5000-MK88 - CR - I from micro-epsilon.
It has three wires:
White = supply
Brown = grd
Black = Signal
This is meant for a plc, is this possible with an arduino?
Yes. Look for examples of reading 4-20 mA sensors. I think you use a resistor to change the current output to a voltage output which the Arduino can read with an analog input.
If 20mA = 5000mm, the Arduino 10 bit ADC (0 to 1023 counts) will only get a resolution of 4.89mm per count. You need an external, 16 bit ADC module like ADS1115 (65535 counts), and choose a load resistor that would give an ADC count of 62500 at 20mA. Update time of 100ms should be doable. https://www.adafruit.com/product/1085