I've got this encoder that a buddy pulled off a log processor head. It's apparently used to measure a tree as it's being cut up. His controller is in-op and a new one is quite expensive. He was wondering if I could get just this part working. So I've attached pictures of this encoder. It's got 4 wires. red (+5-15v), black (gnd), and a yellow & green for channel A & B. I've searched the google monster and found nothing for it.
I had a board lying around that has a tach sensor (hall or mag sensor) hookup, and a relay output. I run a simple ISR routine that counts the pulses, and determines RPM.
I've modified the software to work for the rating on this device. Which says right on the label 256ppr. I assume that means pulses per revolution.
Problem is I can't seem to get pulses from it. It has leds on it that show that it has power, and when i spin the shaft, there are channel A&B leds which show them fluttering. But, I get no interrupts.
I detect anywhere from 12-3v on the signal pins when spinning the shaft. I don't have a scope so I can't really look at the lines with anything other than a meter.
I'm wondering if the NCV1124DR2G (which is the tach input), is not allowing the pulse thru? I originally made this board with a teensy, but the one I'm testing has a nano on it.
Any guidance is appreciated... thanks!
I had a board lying around that has a tach sensor (hall or mag sensor) hookup, and a relay output. I run a simple ISR routine that counts the pulses, and determines RPM.
I've modified the software to work for the rating on this device. Which says right on the label 256ppr. I assume that means pulses per revolution.
Problem is I can't seem to get pulses from it. It has leds on it that show that it has power, and when i spin the shaft, there are channel A&B leds which show them fluttering. But, I get no interrupts.
I detect anywhere from 12-3v on the signal pins when spinning the shaft. I don't have a scope so I can't really look at the lines with anything other than a meter.
I'm wondering if the NCV1124DR2G (which is the tach input), is not allowing the pulse thru? I originally made this board with a teensy, but the one I'm testing has a nano on it.
Any guidance is appreciated... thanks!