Ground Embedded KO Subscribe

Roadmap / Foundations

Digital Logic

Timers, SPI and registers are all digital circuits. Know the principle and datasheet timing diagrams become readable.

Goal Explain how 0s and 1s become gates, registers and counters.

  • BeginnerLevel
  • about 2 weeksat one hour a day
  • 8topics
  • 1labs
  1. 01
    Binary, hex and two's complement

    Reading register values in hex and how negative numbers are represented.

    Read the note →

  2. 02
    Logic gates and Boolean algebra

    AND, OR, NOT, XOR, and simplifying expressions with De Morgan's laws.

    Read the note →

  3. 03
    Combinational circuits

    Decoders, multiplexers, adders: outputs decided by inputs alone.

    Read the note →

  4. 04
    Flip-flops and registers

    Flip-flops remember a value on each clock edge; a group of them is a register.

    Read the note →

  5. 05
    Counters and shift registers3D lab

    The circuits behind MCU timers and SPI.

    Read the note →

  6. 06
    Clocks and timing

    Setup and hold time, propagation delay, and metastability from asynchronous signals.

    Read the note →

  7. 07
    Logic levels and interfaces

    3.3 V and 5 V, push-pull and open-drain, and level shifting.

    Read the note →

  8. 08
    A taste of FPGA

    Designing hardware in code, and how that differs from an MCU.

    Read the note →

CHECK TASK

Draw a 4-bit counter from flip-flops

Draw a circuit that counts 0 to 15 with four D flip-flops and gates, and draw its timing diagram.

If you can tick all three, move on to the next subject. Ticks are saved in this browser only.