Hi all
I am developing on a beaglebone black and want to include a rotary knob to Control cursors on my display in user space etc.
The selected quadrature encoder is here :
http://www.mouser.com/ds/2/54/EL12T-777462.pdf
I need to convert the pulses into a direction and count up or down accordingly so I plan on using an external low cost micro controller to count up or down and send the value out onto the bus.
I then plan to send the value as it is updated onto the i2c bus to the beaglebone. The beaglebone will then react accordingly to the events.
So the order of hardware/software from end to end will be:
Rotary encoder -> External PIC - > i2c bus -> userspace
Am I attacking this from the wrong direction?
Does anybody have a better recommendation on how to interface a rotary Control knob into linux user space?
For reference, I will also be interfacing a keypad using the Ti TCA8418 keypad scanner which will also be hooked onto the i2c bus.
Thanks again