Electronics > Microcontrollers
"Tricks" to connect multiple push switches with minimum i/o usage.
abbtech:
You could use some 74HS165 chips, costs you a few inputs but you then have unlimited button count possibilities.
smackaay:
My favorite solution has always been to use a separate MCU with no frills and gimmicks like a pic16f505. You can use a matrix for the keys and use internal values to produce a debouncing algorithm that acts to produce a threshold for the switches. you can then use a serial out interface and tell the master MCU which keys have been pressed and un-pressed.
bilko:
Use a $3 pc keyboard and decode the serial stream. Strip the keys and use the matrix
ivan747:
Check this switch matrix out: http://ww1.microchip.com/downloads/en/AppNotes/01081a.pdf
Of course you can use it directly with a PIC.
Navigation
[0] Message Index
[*] Previous page
Go to full version