Projects / Ideas / Half adder from two gates

Half adder from two gates

BeginnerDigital LogicIdeaReviewed
In short

How do you build a half adder from two gates?

An XOR gate and an AND gate wired to the same two switches add two single bits, with one LED for the sum and one for the carry. It is the first step to building an adder, and a table of all four cases shows the pattern clearly. You need 74HC86 quad XOR gate, 74HC08 quad AND gate, Tactile push button 6 mm × 2, LED 5 mm red × 2, Resistor 220 Ω × 2, Resistor 10 kΩ × 2, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

Level
Beginner
Time
About 60 min
Parts
8
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

Add two bits with two logic gates.

Parts list

How to build it

  1. Wire the two input switches with pull-down resistors
  2. Feed both gates from the switches
  3. Show the sum on one LED
  4. Show the carry on the other
  5. Fill in the truth table for all four cases

Related projects

Common questions

What parts do I need for the half adder from two gates?

74HC86 quad XOR gate, 74HC08 quad AND gate, Tactile push button 6 mm × 2, LED 5 mm red × 2, Resistor 220 Ω × 2, Resistor 10 kΩ × 2, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the half adder from two gates take to build?

About 60 minutes for a beginner maker.