Hi All
I've been trying for hours to get this to work (and searching online) but to no avail.
I'm using an absolute encoder (http://www.mouser.com/ds/2/307/e6cp-a_ds_csm496-45867.pdf) to check the rotary position of a wheel
Unfortunately it requires 12-24v so I have it connected to a 12v power supply. Obviously I can't connect the output straight to the Arduino so I've got 2x 10kohm resistors to halve the output so it's safe. However, the Arduino always reads high, even when I can see with a multimeter that the output is zero (or close to). I've tried hooking the sensor's ground to the Arduino's but still no joy. What am I doing wrong? I've looked at doing a pull-up/down resistor but I can't quite figure out how to join that into the existing setup so if that's what a need to do, please explain how I can do this
(The attached doesn't show when I have tried joining the sensor's ground to the Arduino's)
Many thanks
John