IntermediateTopic 48 of 104Electronics & Embedded

Logic families

TTL and CMOS differ in voltage levels, speed and power.

In depth

TTL (5 V bipolar) and CMOS (wide supply, low static power) families have defined thresholds V_IL, V_IH, V_OL, V_OH and noise margins. Modern families: LVCMOS at 3.3, 1.8 V. Level shifters interface different families. Open-drain outputs allow wired-AND.

Key points

  • Fan-out
  • Speed-power trade-off
  • Unused inputs must be tied
Example

A 3.3 V sensor output into a 5 V input may need a level shifter.

Why it matters

Logic family determines voltage levels, speed and power, so you must match them when connecting devices from different sources.

Where this is used

  • Interfacing a 3.3 V microcontroller with a 5 V sensor.
  • Choosing CMOS logic for a battery device to save power.
  • Checking the noise margin of a legacy TTL circuit before replacing it.

Frequently asked questions

What is Logic families?

TTL and CMOS differ in voltage levels, speed and power.

Why is it important to understand logic families?

Logic family determines voltage levels, speed and power, so you must match them when connecting devices from different sources.

What is noise margin?

The difference between the output level a device guarantees and the input level it requires, which tells you how much noise the link can tolerate.

Why is 5 V logic a problem for 3.3 V inputs?

Driving a 3.3 V input from a 5 V output can exceed its absolute maximum rating, so a level shifter or divider is needed.

How is Logic families used in practice?

Typical applications include interfacing a 3.3 V microcontroller with a 5 V sensor, choosing CMOS logic for a battery device to save power and checking the noise margin of a legacy TTL circuit before replacing it.

What should I learn before Logic families?

Study "Memory types" first (topic 47 of 104 in Electronics & Embedded). It covers the groundwork this topic builds on.

What are the key points of Logic families?

Fan-out. Speed-power trade-off. Unused inputs must be tied.

Can you give an example of Logic families?

A 3.3 V sensor output into a 5 V input may need a level shifter.

What comes after Logic families?

The next topic is "ADC", which builds directly on this one.

How difficult is Logic families?

It is classed as Intermediate in Electronics & Embedded (topic 48 of 104). It is an intermediate topic. Work through the beginner topics in Electronics & Embedded first.

Learning path

Want to practise? Open the interactive course for quick checks, quizzes, simulations and progress tracking.

Related topics