I got the 40A-1000-ABN-G24-K2, and I connect it to an oscilloscope to see what comes out and I am getting square waves in range +/- 12v.
Now before I connect this to my Arduino and kill it... is the -12v(negative 12) a problem?
According to specs the Arduino Mega can handle voltages up to 20v, and I know there are some libraries for rotary encoders, which I am planing to play with and hopefully get this to work... but maybe somebody can tell me if I can just connect this to my Arduino and tweak the code, or do I need some special IC in front of that before I can use...?!
The Encoder itself has 6 wires... 2 for power and 4 for the signal... I guess... but the device I got this encoder from used only 2 of the 4 wires and I don't know why. My oscilloscope shows a nice clean signal with just the 2 wires so thats what I am planing to use on the Arduino.
If this is a square wave and you can get it down to -5V to 5V wouldn't a diode be able to clip that negative voltage out for you and get it to 0V to 5V? Obviously test the output of that circuit with the oscope before feeding it to your Mega.
I measured 1 of the unused leads on the encoder and found out that 1 lead give 0-10v square waves, since I need only 1 direction, this should be fine.
MAX485 I will look into that, I guess with it I should be abel to feed the arduino