The most minimal clever way to read an 8-Bit address from a DIP Switch

Ian0

Joined Aug 7, 2020
13,310
1 am postings ... You'd think I would learn, but where's the fun in that?

OK, based on Ian's snotty little reality check, try this.
Thanks for that remark!
It did make me wonder if there might be a ladder circuit that would work with a voltage and open-circuit As the two states.
 

crutschow

Joined Mar 14, 2008
38,913
t did make me wonder if there might be a ladder circuit that would work with a voltage and open-circuit As the two states.
I tried various approaches for that with an R-2R network, but was not successful. :(
Doesn't mean there isn't one though.
 

AnalogKid

Joined Aug 1, 2013
12,287
For a slightly increased cost, the circuit assembly becomes pretty simple. Two 4-bit R-2R resistor networks and one 1 x 8 pull-down resistor network.

ak
 

Ian0

Joined Aug 7, 2020
13,310
Going back to the circuit in post #21.
If you use a 9-way isolated (18-pin) resistor network, you can achieve the values as:
2 in series
1
2 in parallel
4 in parallel

or

2 in parallel
1
2 in series
4 in series

Whilst network resistors have only average tolerance, the matching between individual resistors in the array tends to be rather better.
 
Top