Page 1 of 1

Rotary Switch

PostPosted: Wed Aug 19, 2020 11:53 am
by rayhall
Hello,
Is there information on making a six position rotary switch. Looking for recommendation of resistors values to use.
Ray

Re: Rotary Switch

PostPosted: Wed Aug 19, 2020 3:35 pm
by David Ferguson
If you used seven 1k (anything between 500 ohms and 2k would probably work OK) resistors. Use one between 5V and the first terminal, one between each switched terminals, and one between the last terminal and 0V. The output signal would measure in equal voltage steps, and allow detection of a broken wire with either a high or low voltage (depending upon which wire failed).

Re: Rotary Switch

PostPosted: Thu Aug 20, 2020 1:18 pm
by rayhall
David,.
Thank you.
Ray

Re: Rotary Switch

PostPosted: Thu Aug 20, 2020 2:44 pm
by rayhall
Found this on line which takes out most of the thinking.