Skip to main content
Logic Circuits

BINARY DECODER

Converts a binary input into one-of-N output lines. A 2-bit decoder has 4 outputs, exactly one is active for each input combination. Used for memory addressing and display driving.

When to Use

Memory cell addressing, 7-segment display driving, command selection, output demultiplexing.

Materials

  • Redstone Torches
  • AND gate components
  • Redstone Dust
  • Solid Blocks

How to Build

  1. 1For a 2-to-4 decoder: take 2 input lines (A and B).
  2. 2Generate NOT A and NOT B.
  3. 3Create 4 AND gates: (NOT A AND NOT B), (NOT A AND B), (A AND NOT B), (A AND B).
  4. 4Each AND gate output corresponds to one of the 4 possible input combinations.
  5. 5Exactly one output will be ON for any given input combination.

Variants

  • 2-to-4 decoder (basic, 2 inputs, 4 outputs)
  • 3-to-8 decoder (3 inputs, 8 outputs)
  • Comparator-based decoder (uses signal strength thresholds)
  • Encoder (reverse, converts one-hot input to binary output)
Back to all circuits