Projects / Ideas / Eight switches on three pins

Eight switches on three pins

IntermediateDigital LogicIdeaReviewed
In short

How do you build an eight switches on three pins?

A parallel-in shift register reads eight switches into a board with only three pins, and chains for more. You need Arduino Nano, 74HC165 parallel-in shift register, DIP switch 8-position, Resistor 10 kΩ × 8, SSD1306 OLED Display and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 240 min
Parts
6
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 a shift register.

Parts list

How to build it

  1. Wire the register and switches
  2. Load and clock the data
  3. Read eight bits
  4. Show them on the display
  5. Add a second register

Related projects

Common questions

What parts do I need for the eight switches on three pins?

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

How long does the eight switches on three pins take to build?

About 240 minutes for a intermediate maker.