You can probably use 1 ADC line for each rotary switch (or mix all of them, then feed it to a single ADC input). Basically you convert BCD to voltage with R2R resistor ladder, then you feed this output to your PIC.
Hardware technique
http://ww1.microchip.com/downloads/e...tes/00234a.pdf
8-pin PIC - Tips 'n Tricks
http://ww1.microchip.com/downloads/e...doc/40040b.pdf





Bookmarks