Quantcast
Channel: pic | Battery Guide
Viewing all articles
Browse latest Browse all 202

Monitor 15 contacts with one PIC input

$
0
0

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

The post Monitor 15 contacts with one PIC input appeared first on PIC Microcontroller.


Viewing all articles
Browse latest Browse all 202

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>