Logic circuit builder

Add switches, gates and bulbs, wire them together, and flip the switches to test your circuit. The truth table fills itself in.

Add:

Drag parts to move them. To add a wire, tap a dot, then tap a dot on another part.

AOFF0BOFF0AND0Q1

Swipe the empty board sideways to see all of it. Tip: a gate input with no wire counts as 0. On a keyboard, Tab to a part, move it with the arrow keys, and press Delete to remove it.

Truth table for your circuit

Every way the switches can be set, and what each bulb does. The highlighted row is how the switches are set now.

ABQ1
000
010
100
111

How to build a circuit

  1. Use the Add buttons to put switches, gates and bulbs on the board.
  2. Drag the parts to where you want them.
  3. To draw a wire, tap the dot on the right of a switch or gate (its output), then tap a dot on the left of a gate or bulb (its input).
  4. Tap a switch to turn it on or off. Wires carrying a 1 light up.
  5. Tap a part or a wire, then Delete, to remove it.

Things to build

  • An AND gate followed by a NOT gate. Compare its truth table with the NAND gate.
  • Put a NOT gate on each input of an AND gate. Which single gate does this act like?
  • Three switches A, B and C, where the bulb lights when A AND B are on, OR when C is on.
  • Join both inputs of a NAND gate to the same switch. What does it do?

New to logic gates? Start with the logic gates tool to meet each gate one at a time.

More free ICT tools