Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

Rotary switch - detect which connector??

$
0
0
Hi all

I want to attach 6 sensors to a 6 connector rotary switch.
Each sensor will go to the same ADC port of a PIC16f690.
I want to know which sensor is feeding input to the ADC pin.
Can anyone think of a way of detecting which connector is currently selected - best case scenario, using only one other pin of the PIC.

Viewing all articles
Browse latest Browse all 1271

Trending Articles