Seven Segment Display Pinout and Truth Table

Seven segment display is an electronic component, which is designed using 7 Led lights arranged in “8” structure. this used to display the numbers from 0 to 9 and some character’s. this Component is mainly found in digital clock, induction cooker and calculators. This article shares the seven segment display pinout and Truth table and additional information’s.

What is a Seven Segment Display?

7-segment display is a seven LED arranged electronic component used to display the numbers and some character’s. The seven LED are named as a, b, c, d, e, f, g letters. The pinout also represents based on the name of LED.

Seven Segment Display Pinout

7 Segment common Cathode Pinout

seven segment display pinout of common cathode
Common Cathode display pinout

Pinout Configuration for common cathode Display

Pin No.Segment NameFunction
1eSegment Control
2dSegment Control
3COMGround (GND)
4cSegment Control
5dpDecimal Point
6bSegment Control
7aSegment Control
8COMGround (GND)
9fSegment Control
10gSegment Control

7 Segment Common Anode Pinout

seven segment display pinout of common anode
Common anode display pinout

Pinout Configuration for common anode Display

Pin No.Segment NameFunction
1eSegment Control
2dSegment Control
3COMVCC (+)
4cSegment Control
5dpDecimal Point
6bSegment Control
7aSegment Control
8COMVCC (+)
9fSegment Control
10gSegment Control

Types of 7 Segment Display

  • Common cathode
  • Common Anode

Common Anode vs Common Cathode

FeatureCommon AnodeCommon Cathode
Common Pin ConnectionVCC or + supply voltageGND
Logic to Turn ONLOW (0)HIGH (1)
Current Flow DirectionVCC > Segment > ControllerController > Segment > GND
Control MethodCurrent SinkingCurrent Sourcing
Microcontroller CompatibilityPreferred for many MCUsEasy for beginners
Circuit ComplexitySlightly complexSimple
Power ConsumptionEfficient in multiplexingSlightly higher
UsageMultiplexed displays, embedded systemsBasic circuits, learning projects

7 Segment Display Truth Table

The seven segment display showing the number from 0-9 and some special character’s. For number showing specific LED lights are become high and the other in Low. This combination of LED on and OFF makes the particular number visible on the display.

Truth table is the binary code sent to the pins of seven segment display to show the numbers for human readable. The Truth table for common cathode display is given below. For cathode 1 = ON, 0 = OFF, for anode display 1 = OFF, 0 = ON

DigitBCD (D C B A)abcdefg
00 0 0 01111110
10 0 0 10110000
20 0 1 01101101
30 0 1 11111001
40 1 0 00110011
50 1 0 11011011
60 1 1 01011111
70 1 1 11110000
81 0 0 01111111
91 0 0 11111011

Working Principle

The working of seven segment display is activation of required lights inside the display for showing the number or characters. The 8 like structure arranged LED make combination of ON and OFF to create the numbers from 0 to 9.

Applications

  • Digital clocks.
  • Bench power supply.
  • Induction coocktop.
  • Counters.
  • Measurement devices.

Frequently Asked Questions (FAQ)

What is a 7-segment display CC and CA?

The CC means Common Cathode display, which are all negative pins of the 7 LED connected together. In CA (common Anode) display all positive of 7 LED is connected together.

How to use a 7-segment LED display?

In common cathode display all cathode pins are connected to negative as common and other seven 8 pins are using as connection for a, b, c, d ,e, f, g and dp. For common anode display the common connection is anode side of the LED.

What is the 7-segment theory?

Seven segment or 7 seg display consist of seven LED which is arranged in 8 like structure to display the numbers from 0-9 and some special characters. The numbers showing on the display is based on activation of different LED to from the numbers as visible.

How many types of 7 segments are there?

Their are two types of 7 segment display available, which are common cathode and common anode display.

Why is it called a 7-segment display?

Because this display consist of 7 LED lights which are used to show the numbering by turn ON and OFF the corresponding LED’s. Each segments of the LED is marked as a to g. For decimal point a dp connection is also given.

Does a 7-segment need a resistor?

It is depending on your configuration. If you want to reduce the LED power consumption or reduce brightness of LED’s you can use resistors in each of the pins labeled from a to g and dp.

How do I test a 7-segment display?

To test seven segment display, use a 1.5v battery takes the positive and negative supply from it. If the display is common cathode connect battery negative to com pin and positive pins touch all a to g pins to see corresponding LEDs are glowing.

What is DP in 7-segment display?

Dp is dot point, each display has this point to represent the point needed values.

Akhil Satheesh

Akhil Satheesh

Akhil Satheesh is an electronics expert and the Founder and CEO of Soldering Mind. Specializes in designing innovative electronic circuits and custom, high-performance PCB layouts. Every project he shares on solderingmind.com is rigorously bench-tested to ensure accuracy for makers and hobbyists alike.

Leave a Reply