science tinker

BCD to 7-segment decoder (CD4511)

Turns a 4-bit binary number (0–9) into the 7 signals that draw that digit on a common-cathode 7-segment display.

Chips (integrated circuits) · Elements inside: SiOAuCuCSn

Function: what the CD4511 does in a circuit

Turns a 4-bit binary number (0–9) into the 7 signals that draw that digit on a common-cathode 7-segment display.

  • Turns a 4-bit BCD number into the seven segment signals of a display
  • Drives a common-cathode 7-segment display directly
  • Latches a digit and can blank or test the display

CD4511 key facts

Functionturns a 4-bit BCD number into the seven segment signals a to g
Display typecommon cathode
Supply3 V to 15 V
Output currentup to 25 mA per segment
ControlLT (lamp test, LOW lights all), BL (blank, LOW switches all off), LE (latch)
PackageDIP-16

CD4511 pinout

With the notch at the left and the writing the right way up, pin 1 is at the bottom left and the numbers run anticlockwise.

PinName
1B
2C
3LT̅ (lamp test)
4BL̅ (blank)
5LE (latch)
6D
7A
8VSS (GND)
9e
10d
11c
12b
13a
14g
15f
16VDD

How it works

Inputs A (pin 7), B (1), C (2), D (6) are the binary digit; outputs a–g drive the segments through 220 Ω resistors. LT̅ (3) and BL̅ (4) to 5V for normal use; LE (5) to GND (HIGH freezes the digit). Numbers 10–15 give a blank display.

What it is made of

  • Chip: Silicon with CMOS transistors (n- and p-MOSFETs) SiO
  • Bond wires: Gold or copper wires thinner than a hair AuCu
  • Package: DIP: black epoxy with a tin-plated copper leadframe CCuSn

Where the materials come from: Silicon from quartz sand; copper from chalcopyrite; gold from gold mines; tin from cassiterite.

The chemistry

Each gate is a few MOSFETs. Their gates sit on a layer of silicon dioxide only a few nanometres thick, grown by heating silicon in oxygen: Si + O₂ → SiO₂.

Biology connection

Your brain decodes too: the visual system turns patterns of light into recognised symbols. How the eye sees →

Safety and the environment

Power it (VCC to 5V, GND to GND) and never leave unused inputs floating: tie them to GND or 5V. Touch something metal first: static can damage CMOS chips.

Did you know? Before microcontrollers, clocks and calculators used decoder chips like this to show numbers.

Try it in the simulator

Find it under Chips in Free build's parts bin and push it across the middle gap of the breadboard (notch on the left, pin 1 bottom-left). Open Part settings → Pin list to see every pin, give it power (VCC to 5V, GND to GND) and tie unused inputs to GND.

Questions students ask

What does the CD4511 do?

Turns a 4-bit binary number (0–9) into the 7 signals that draw that digit on a common-cathode 7-segment display. Main functions: turns a 4-bit BCD number into the seven segment signals of a display; drives a common-cathode 7-segment display directly; latches a digit and can blank or test the display.

Why does a CD4511 show nothing for 10 to 15?

It is a BCD decoder: only the codes 0 to 9 are valid digits, so it blanks the display for 1010 to 1111. It also draws 6 without the top bar and 9 without the bottom bar.

What are the pins of the CD4511?

Counting anticlockwise from the notch: pin 1 is B, pin 2 is C, pin 3 is LT̅ (lamp test), pin 4 is BL̅ (blank), pin 5 is LE (latch), pin 6 is D, pin 7 is A, pin 8 is VSS (GND), pin 9 is e, pin 10 is d, pin 11 is c, pin 12 is b, pin 13 is a, pin 14 is g, pin 15 is f, pin 16 is VDD.

How does the CD4511 work?

Inputs A (pin 7), B (1), C (2), D (6) are the binary digit; outputs a–g drive the segments through 220 Ω resistors. LT̅ (3) and BL̅ (4) to 5V for normal use; LE (5) to GND (HIGH freezes the digit). Numbers 10–15 give a blank display.

What is the CD4511 made of?

Chip: Silicon with CMOS transistors (n- and p-MOSFETs). Bond wires: Gold or copper wires thinner than a hair. Package: DIP: black epoxy with a tin-plated copper leadframe.

Is the CD4511 safe? How should it be recycled?

Power it (VCC to 5V, GND to GND) and never leave unused inputs floating: tie them to GND or 5V. Touch something metal first: static can damage CMOS chips.

More chips (integrated circuits)

Know someone who would use this?

It’s free for every learner. Send it to your class, team or club.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.