Help on momentary push switches in series.

Quote from: dhenry on Today at 06:00:09 AM
Quote
R-2R networks only work with SPDT switches, not SPST push buttons.

Are you sure about that?

With a r2r type button, you can read multiple buttons from one pin, and you can detect simultaneous presses as well.

The correct answer is you need to use SPDT switches on the side resistors. This way you get the proper voltage
changes for all bits, so every change is an exact multiple of the LSB change.

The R2R ladder network works properly by virtue of the "summing point impedance [resistance]" always being
exactly 2R when looking back down the network [right to left] at each and every node.

This only happens if you use SPDT switches.