Monitor 15 contacts with one PIC input




Several previously published Design Ideas and appnotes [1-4] show how to use many pushbuttons with a minimum number of inputs. They require an RC circuit where the timing can be measured to identify which pushbutton has been pressed, or an ADC input, with resistors forming a divider for each pushbutton pressed.

Monitor 15 contacts with one PIC input




The following Design Idea shows another simple way to use up to 15 pushbuttons with only one I/O. The microcontroller chosen must contain an internal comparator with selectable values for the internal voltage reference VREF. The majority of 8-bit PIC microcontrollers in the mid-range family feature one or two internal comparators with just this.

 

For more detail: Monitor 15 contacts with one PIC input




Leave a Comment

*
= 3 + 8

Read previous post:
DREMEL® VersaTip in a limited edition serves for work and also for fun

Do you like tools usable for several jobs? Gas soldering tool Dremel VersaTip 2000 in a “Decorating kit” edition certainly...

Close
Scroll to top