-
Notifications
You must be signed in to change notification settings - Fork 505
Description
Is your feature request related to a problem? Please describe.
In my locality, the shift registers and I2C GPIO expanders are quite expensive compared to the multiplexers. Which got me into thinking of making a custom scanner which works with multiplexers.
Describe the solution you'd like
I have a solution, in my Github repo, which uses a custom scanner for working with multiplexers. the good thing about this is that, multiplexers will be having only one signal pin, which shares the state of the switch to the microcontroller.
This basically acts as a keypad scanner, with these advantages. no resistors or diodes needed. since im using raspberry pi pico, which has an inbuilt pull-up resistor, We will not be needing to connect those resistors or diodes to every single key.
Multiplexers can be chained together, with enabling and disabling them using the EN pin. right now im working with 6GPIO pins to control 16 I/Os. but it can be scaled to 32 with just a total of 7GPIO pins.
I think this solution would help you to build, cheap and effective keyboards or macropads, with small microcontrollers.
Here is my github repo on implementation of custom scanner : Custom scanner