Projects / Ideas / Eight-switch bank reader

Eight-switch bank reader

IntermediateDigital LogicIdeaReviewed
In short

How do you build an eight-switch bank reader?

A parallel-in shift register reads eight DIP switches using only three pins. You need Arduino Nano, 74HC165 parallel-in shift register, DIP switch 8-position, Resistor 10 kΩ × 8 and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 150 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Read many inputs with few pins.

Parts list

How to build it

  1. Wire the switches with pull-downs
  2. Latch the inputs
  3. Shift the data out
  4. Print the byte in binary
  5. Compare with a direct read

Related projects

Common questions

What parts do I need for the eight-switch bank reader?

Arduino Nano, 74HC165 parallel-in shift register, DIP switch 8-position, Resistor 10 kΩ × 8 and Breadboard 830 Tie Points.

How long does the eight-switch bank reader take to build?

About 150 minutes for a intermediate maker.