Idea
In short
How do you build a three-switch majority voter?
A light turns on when at least two of three switches are on, built from AND and OR gates, with a truth table you check by hand. You need 74HC08 quad AND gate, 74HC32 quad OR gate, Slide switch SPDT (SS12D00) × 3, LED 5 mm red, Resistor 1 kΩ, 5 V 2 A USB adapter and Breadboard 830 Tie Points.
- Level
- Beginner
- Time
- About 120 min
- Parts
- 7
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
Build a majority function from gates.
Parts list
- Integrated Circuits
- Integrated Circuits
- Switches
- Semiconductors
- Passives
- Power
- Prototyping
How to build it
- Write the truth table
- Wire three AND gates for the pairs
- Combine them with OR gates
- Check all eight switch combinations
- Compare with the formula
Common questions
What parts do I need for the three-switch majority voter?
74HC08 quad AND gate, 74HC32 quad OR gate, Slide switch SPDT (SS12D00) × 3, LED 5 mm red, Resistor 1 kΩ, 5 V 2 A USB adapter and Breadboard 830 Tie Points.
How long does the three-switch majority voter take to build?
About 120 minutes for a beginner maker.
