What Are Logic Levels? (HIGH/LOW, TTL and CMOS)
Logic levels are the voltage ranges that represent 0 (LOW) and 1 (HIGH) in digital circuits. In 5 V TTL, roughly 0–0.8 V counts as LOW and 2–5 V as HIGH, with an undefined band in between. CMOS levels are defined relative to the supply (VDD) and vary by family. Mismatched levels cause misreads.
Logic levels are the voltage ranges that represent logical 0 (LOW) and 1 (HIGH) in digital circuits. When a digital pin says "1," it actually means it's above a certain voltage threshold.
What Are HIGH and LOW?
HIGH (1) represents the high voltage level, and LOW (0) the low level (usually 0 V / ground). The middle region between the two is considered "undefined" and can lead to unstable behavior.
Threshold Voltages
Whether an input counts as "1" or "0" depends on the thresholds set by the manufacturer: VIH (the minimum voltage for a valid HIGH) and VIL (the maximum voltage for a valid LOW). These values are given in the datasheet.
The TTL vs. CMOS Difference
| Property | TTL (5V) | CMOS |
|---|---|---|
| Supply | 5 V | 3.3 V / 5 V / variable |
| Power consumption | Higher | Very low |
| Noise margin | Medium | Usually better |
3.3V and 5V Compatibility
Today many microchips run at 3.3 V and some at 5 V. Connecting two devices with different levels directly can damage the chip; in that case a level shifter is placed between them. The digital nature of the signal is critical here.
Common Mistakes
- Feeding a 5V signal to a 3.3V pin: most 3.3 V inputs can't tolerate 5 V; connecting directly burns the chip.
- Thinking a floating pin is "0": an unconnected (floating) input is undefined; it needs a pull-up/pull-down resistor.
- Forgetting a common ground: if two devices don't share GND, the logic levels become meaningless.
Frequently Asked Questions
What voltages are HIGH and LOW in TTL?+
What's the difference between TTL and CMOS?+
Why does level compatibility matter?+
Search related parts in our catalog
Find the right part by comparing price, stock and distributors.