Hello,
I am currently considering an approach to efficiently read up to 256 buttons using two 4067 multiplexers. Please refer to the image below:
The proposed method involves the following steps:
- The first multiplexer connects one column to the ground.
- The second multiplexer reads each of the 16 rows for ground connection (using input_pullup).
- The first multiplexer then connects the next column to the ground.
- The second multiplexer again reads each of the 16 rows for ground connection (using input_pullup).
- Repeat the above steps for all columns.
I would like to know if there are any potential issues or limitations with this approach. Since I have not come across similar examples, I have some doubts regarding its feasibility.
Would I need diodes for better isolation, or will the multiplexers alone provide sufficient isolation?
Thank you in advance for your valuable feedback!