Hello,
For a midi controller i'm trying to add 16 rotary encoders (with push button and led: https://www.sparkfun.com/products/10596) to my Teensy 3.2
I also wan't to add a lot of other stuff like displays and extra buttons and leds. A google research suggested that multiplexing rotary encoders with a normal analog/digital multiplexer is a bad idea. I found mortenkopfs example using the MCP23S17 but setting this up seems quite complicated.
When I connected my first encoders to the teensy using the teensyduino encoder library I was suprised how easy it was and how good the results where (even when just connecting the pins directly to the teensy without any debounce circuit).
So it would be ideal to just use teensys instead of fiddeling around with chips like the MCP23S17.
Before I buy all my parts I just wanted to ask if it would be a good setup to use two teensy LC to handle the encoders and my teensy 3.2 as my main teensy having the actual programm and handeling MIDI and the extra buttons and leds. The two LC teensys would be connected via the serial ports to the main teensy.
Because each encoder has two LEDS and a button i'd still run out of pins. Would it be possible to multiplex the leds and/or buttons and only connect the encoders A and B pins directly?
thanks
Arno
For a midi controller i'm trying to add 16 rotary encoders (with push button and led: https://www.sparkfun.com/products/10596) to my Teensy 3.2
I also wan't to add a lot of other stuff like displays and extra buttons and leds. A google research suggested that multiplexing rotary encoders with a normal analog/digital multiplexer is a bad idea. I found mortenkopfs example using the MCP23S17 but setting this up seems quite complicated.
When I connected my first encoders to the teensy using the teensyduino encoder library I was suprised how easy it was and how good the results where (even when just connecting the pins directly to the teensy without any debounce circuit).
So it would be ideal to just use teensys instead of fiddeling around with chips like the MCP23S17.
Before I buy all my parts I just wanted to ask if it would be a good setup to use two teensy LC to handle the encoders and my teensy 3.2 as my main teensy having the actual programm and handeling MIDI and the extra buttons and leds. The two LC teensys would be connected via the serial ports to the main teensy.
Because each encoder has two LEDS and a button i'd still run out of pins. Would it be possible to multiplex the leds and/or buttons and only connect the encoders A and B pins directly?
thanks
Arno