I am trying to interface a Namur sensor into analog A0 of my Uno.
The Namur requires a steady supply voltage of 8V to operate and current drawn indicates the state of the switch.
<= 1mA = metal detected.
= 3mA = metal not detected.
The supply to the switch is simply 0V and +8V.
Now the question is, how best to interface this to my Uno analog input being +5V tolerant?
I was thinking a simple 1k resistor in the supply line to the sensor would allow the drawn current to be converted to a voltage and read by the uno, but the potential difference across the sensor is too high? Ground on the sensor being linked to gnd on the Uno.
Any guidance appreciated.