Hello All, I am currently building a MIDI sequencer and have the code pretty well complete. I am better with programming than the electronics side of things. However this has not stopped me yet. I'm going to have about 60 or so button inputs and to save digital pins on the teensy I originally thought of using a few 74HC165 shift registers. However this chip will only handle 8 inputs and I will need 8 x 74HC165 which seems like a lot and also seems like there has to be a better way to handle this many inputs. I thought of maybe using matrix for all the buttons but that could get messy as the buttons will not be in a nice grid and each with different functions. Any suggestions as to how I could achieve 60+ inputs without using every pin on the teensy?
In total I'll have about 60 buttons, 6 rotary encoders and 3 digit 7 segment display and a switch and so I need a few digital pins left for encoders, switch and display. Maybe I could use SPI to save on pins?
I found Paul's 128 buttons, 6 axes, 17 sliders and 4 hats joystick here: https://forum.pjrc.com/threads/23681-Many-axis-joystick?p=41942&viewfull=1#post41942 and am wondering how he achieved 128 buttons hardware wise.
In total I'll have about 60 buttons, 6 rotary encoders and 3 digit 7 segment display and a switch and so I need a few digital pins left for encoders, switch and display. Maybe I could use SPI to save on pins?
I found Paul's 128 buttons, 6 axes, 17 sliders and 4 hats joystick here: https://forum.pjrc.com/threads/23681-Many-axis-joystick?p=41942&viewfull=1#post41942 and am wondering how he achieved 128 buttons hardware wise.