Overview

The CD4011B (HEF4011B) is a quad 2-input NAND gate IC in the classic CMOS 4000 series manufactured by Texas Instruments, ON Semiconductor, and Renesas. Containing four independent 2-input NAND gates in a 14-pin DIP/SOIC package, it operates across a wide supply voltage range from 3.0V to 18.0V DC.

Because of its high voltage rating (up to 18V), low power consumption, and noise immunity, the CD4011B is widely used in 12V automotive electronics, industrial sensor interfaces, high-voltage RC oscillators, touch sensors, and latching relay drivers.

Quick reference

Supply Voltage (VDD)3.0 V to 18.0 V DC
Logic FamilyCMOS 4000 Series (CD4000 / HEF4000)
Independent Gates4 (Quad 2-Input NAND)
Propagation Delay60 ns60\text{ ns} typical at VDD=10VVDD = 10\text{V}
Output Drive Current±1.5 mA\pm 1.5\text{ mA} at VDD=10VVDD = 10\text{V}
Package14-pin DIP / SOIC-14 / TSSOP-14

Pinout (DIP-14 Package)

text
             ┌───┴───┐
          1A 1│ 1   14│ VDD
          1B 2│       │13 4B
         1/Y 3│ CD4011│12 4A
         2/Y 4│       │11 4/Y
          2A 5│       │10 3/Y
          2B 6│       │9  3B
         VSS 7│       │8  3A
             └───────┘

Crucial Note: Output pins on CD4011 are on Pins 3, 4, 10, 11 (unlike 74HC00 outputs on Pins 3, 6, 8, 11).

PinNameDescription
11AGate 1 Input A
21BGate 1 Input B
31/YGate 1 Output (1Y=1A1B1Y = \overline{1A \cdot 1B})
42/YGate 2 Output (2Y=2A2B2Y = \overline{2A \cdot 2B})
52AGate 2 Input A
62BGate 2 Input B
7VSSGround reference (0 V)
83AGate 3 Input A
93BGate 3 Input B
103/YGate 3 Output (3Y=3A3B3Y = \overline{3A \cdot 3B})
114/YGate 4 Output (4Y=4A4B4Y = \overline{4A \cdot 4B})
124AGate 4 Input A
134BGate 4 Input B
14VDDPositive power supply voltage (+3.0V to +18.0V DC)

Function & Truth Table (Per Gate)

Input AInput BOutput Y
Low (LL)Low (LL)High (HH)
Low (LL)High (HH)High (HH)
High (HH)Low (LL)High (HH)
High (HH)High (HH)Low (LL)

Specifications

ParameterSymbolMinTypMaxUnitConditions
Supply VoltageVDDV_{DD}3.010.018.0VDC
High-Level Input VoltageVIHV_{IH}3.5VVDD=5VV_{DD} = 5\text{V}
Low-Level Input VoltageVILV_{IL}1.5VVDD=5VV_{DD} = 5\text{V}
Propagation Delay (A,BYA,B \rightarrow Y)tPHL,tPLHt_{PHL}, t_{PLH}60120nsVDD=10VV_{DD} = 10\text{V}
High Output Drive CurrentIOHI_{OH}0.5-0.51.6-1.6mAVDD=5V,VOH=4.6VV_{DD} = 5\text{V}, V_{OH} = 4.6\text{V}
Quiescent Supply CurrentIDDI_{DD}0.021.0µAVDD=5VV_{DD} = 5\text{V}

Typical Applications

12V Latching Touch Sensor Relay Circuit

Using two gates of a CD4011 powered directly from 12V12\text{V} DC to form an active-LOW Set-Reset latch driving a relay transistor.

text
  Touch Set (/S) ────► [Pin 1: 1A]   [Pin 3: 1/Y] ──┬──► [Pin 5: 2A]
                             │                      │
                             └───[Cross Feedback]───┼──┐
                                                    │  │
  Touch Reset (/R) ──► [Pin 6: 2B]   [Pin 4: 2/Y] ──┴──┼──► Transistor Relay Driver
                             │                         │
                             └─────────────────────────┘

Common mistakes

  • Mixing up CD4011 and 74HC00 pinouts: Although both are 14-pin DIP Quad 2-Input NAND ICs, Gate 2's output is on Pin 4 in CD4011, but on Pin 6 in 74HC00. Plugging a CD4011 into a 74HC00 socket shorts outputs to inputs.
  • Assuming high output current drive: CD4000-series output stages supply only 1 mA2 mA1\text{ mA} \dots 2\text{ mA} at 5V. Do not attempt to drive LEDs or relays directly; use a NPN transistor (e.g. 2N2222) or MOSFET to buffer the output.
  • Floating unused gate inputs: Leave no CMOS inputs floating. Tie unused input pins directly to VDDV_{DD} or VSSV_{SS} (GND).

Notes

  • CD4011 vs 74HC00: CD4011 supports up to 18V supply voltage; 74HC00 is limited to 6V but operates 10x faster.

Assets & downloads