Redstonery
RedstoneryLearn › Build decisions from gates
Learning path 02 of 6

Build decisions from gates

Use truth tables to progress from one decision to selection and arithmetic. 12 circuits, each one running in the simulator with a prediction to make before you run it.

Start with NOT gate

The steps

  1. NOT gate
    Invert one decision.
    Concepts: Boolean logic, Truth tables, Settling
  2. AND gate
    Require two conditions at the same time.
    Concepts: Boolean logic, Truth tables, Settling
  3. OR gate
    Let either control enable an output.
    Concepts: Boolean logic, Truth tables, Settling
  4. NAND gate
    Make the both-active state the only off state.
    Concepts: Boolean logic, Truth tables, Settling
  5. NOR gate
    Detect that no input is active.
    Concepts: Boolean logic, Truth tables, Settling
  6. XOR gate
    Detect a disagreement between two inputs.
    Concepts: Boolean logic, Truth tables, Settling
  7. XNOR gate
    Detect that two inputs agree.
    Concepts: Boolean logic, Truth tables, Settling
  8. 2-to-1 multiplexer
    Choose which input is allowed to become the output.
    Concepts: Selection, Composition, Data and control
  9. 1-to-2 demultiplexer
    Send one input toward a selected output.
    Concepts: Routing, One-hot output, Data and control
  10. 2-to-4 decoder
    Translate a binary input pattern into a selected line.
    Concepts: Binary encoding, Decoding, One-hot signals
  11. Half adder
    Add two bits and keep both sum and carry.
    Concepts: Binary arithmetic, Sum, Carry
  12. Full adder
    Add two data bits and an incoming carry.
    Concepts: Binary arithmetic, Carry chain, Composition

What you will be able to do

Other paths

Your first signalTrace a source, read strength, add delay, then make a decision.Shape events and timeSeparate levels, transitions, durations, and repeating cycles.Give a circuit memoryHold one bit, sample data, count events, then store a whole pattern.Sense, decide, and move itemsConnect inventory measurements to controlled transport and storage.Build in three dimensionsInspect layers, isolate routes, and leave room for mechanisms to move.