7-Segment Display Pinout, Truthtable & Datasheet (2024)

Last updated on March 16th, 2024 at 01:41 pm

These displays, as their name implies, have seven segments that alternately turn ON and OFF to show the necessary digit or letter. The display segments are made up of a single LED or liquid crystal. These displays are widely used in electronic meters, digital clocks, home appliance displays, simple calculators, vehicles, and other electronic devices that show numerical data.

The display consists of seven segments, each of which is a “6-sided box” made of two thin pieces of metal, typically aluminum. Additionally, the parts are positioned at a right angle. A 7-segment display’s individual numerals are built of light-emitting diodes. By turning on specific LEDs we can generate numbers on display.

Table of Contents

Pinout

7-Segment Display Pinout, Truthtable & Datasheet (3)

The seven-segment display consists of 10 pins. Out of these 10 pins, 7 pins are available to control the seven LEDs, one pin is for the common anode, other is for the common cathode. The last pin is for DP which is Decimal Point. The detailed pinout is given in the table below.

Pin No.Description
Pin 1 (e)This pin is used to control the ‘e’ led section of the display.
Pin 2 (d)This pin is used to control the ‘d’ led section of the display.
Pin 3 (Com)Depending on the type of display, this pin is used to connect to Vcc or Ground.
Pin 4 (c)This pin is used to control the ‘c’ led section of the display.
Pin 5 (DP)This pin controls the display’s decimal point LED.
Pin 6 (b)This pin is used to control the ‘b’ led section of the display.
Pin 7 (a)This pin is used to control the ‘a’ led section of the display.
Pin 8 (Com)Depending on the type of display, this pin is used to connect to Vcc or Ground.
Pin 9 (f)This pin is used to control the ‘f’ led section of the display.
Pin 10 (g)This pin is used to control the ‘g’ led section of the display.

Types of 7-segment display

The arrangement of the 7 LEDs in 7 segment displays allows them to display numbers 0 to 9. As we connect an LED to the MCU using a series resistor, we can connect a seven-segment display in a similar way.

The only difference is that instead of connecting two pins of LEDs separately, a seven-segment display has one common pin (anode or cathode). So if we are using a 7-segment display we have to connect only 8 pins rather than 14 pins of individual LEDs.

These arrangements of pins in a 7-segment display can be again divided into two categories, i.e., the common anode and the common cathode.

Common Anode

7-Segment Display Pinout, Truthtable & Datasheet (4)

In this type, the cathode terminal of each LED is provided a different control signal while they all share a single anode terminal. As shown in the figure above, if we have to display the highlighted segment of the LED, +5V (Vcc) must be applied to the common pin while pin ‘a’ must be grounded (0V).

Note: The cathode terminal must be provided a low logic (0V) and the common anode terminal must have +5V source voltage in order for a segment to light up.

Common Cathode

7-Segment Display Pinout, Truthtable & Datasheet (5)

In this type, the anode terminal of each LED is provided a different control signal while they all share a single cathode terminal. As shown in the figure above, if we have to display the highlighted segment of the LED, the common pin must be grounded (0V) while pin ‘a’ must be provided +5V (Vcc).

Note: The anode terminal must be provided a high logic (+5V) and the common anode terminal must have a low logic level (0V) in order for a segment to light up.

Read also:

7 Segment Display Truth table

7-Segment Display Pinout, Truthtable & Datasheet (6)

Below is a truth table for a seven-segment common anode display that contains individual segments lighted from a to g and decimal digits ranging from 0 to 9.

Decimal Digitabcdefg
00000000
10110000
21101101
31111001
40110011
51011011
61011111
71110000
81111111
91111011

By giving specific logic, we can display specific decimal numbers on seven segment display. Read more

Datasheet

7-Segment Display Pinout, Truthtable & Datasheet (7)

The 7-segment displays are designed for viewing distances up to 7 meters (23 feet). To download the datasheet of the display, click here.

Note:Please refer to the manufacturer-specific datasheet of the display.

Applications

Seven-segment displays are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information.

FAQ

What other technology can be used to make a 7-segment display?

Liquid crystal displays (LCDs), LEDs for each segment, or other light-generating or control techniques like cold cathode gas discharge (Panaplex), vacuum fluorescent, and incandescent filaments (Numitron), may be used in seven-segment displays.

Which diode is used in seven segment display?

Light Emitting Diode is used in Seven Segment Display.

What is meant by a 7-segment display?

A seven-segment display is a type of electronic display device for displaying decimal numerals.

What is the bit size of a 7-segment display?

Two 32-bit registers are set upas the seven-segment displays. Each register’s individual bytes individually turn on and off the appropriate display segments.

Which IC is used as a 7-segment decoder?

The IC 7447 is frequently used for BCD to 7-segment decoding.

7-Segment Display Pinout, Truthtable & Datasheet (2024)

FAQs

What is the result of the seven-segment display? ›

Seven segment displays were created to display decimal numerals. With its 7 segments, the display can show numbers from 0 to 9. Additionally, they can also display upper case letters A, C, E, F and lower case letters b and d.

What are the pins in a 7-segment display? ›

The 12 pins of the seven-segment display can be grouped into two types: segment pins and digit select (scan) pins. The current limiting resistors are to protect the LED in each of the segments. There are four digits and there are eight segments for each digit (including the decimal point).

How many outputs does a 7-segment display have? ›

These segments are individual LEDs, labeled a to g, and can be turned on individually, or all controlled by a BCD to 7 segment decoder. The decoder takes a 4 bit BCD input, and has 7 outputs corresponding to the display segments. It will assert the correct signals for the segments based on the input.

What is a 7-segment display alphabet codes? ›

A seven segment display is an LED(light emitting diode) based display that can be used to show numbers or alphabets. It is made up of seven segments labeled as (a,b,c,d,e,f,g) which are placed in a specific pattern, where each segment represents a different part of the number.

How many inputs does a 7-segment display have? ›

A binary coded decimal (BCD) to 7-segment display decoder such as the TTL 74LS47 or 74LS48, have 4 BCD inputs and 7 output lines, one for each LED segment.

How to control a 7-segment display? ›

Each segment of the 7-segment display is controlled by a pin corresponding to the segment, including pin A-G and pin DP. Common anode 7-segment display means the segment pin needs to be low to turn it on. Here is the mapping between the segments and the pins, including shift register outputs.

What is a 4 digit 7-segment display pinout? ›

Pin Out – 4 Digit 7 Segment Display

A 4-digit 7-segment LED display has 12 pins. 8 of the pins are for the 8 LEDs on each of the 7 segment displays, which includes A-G and DP (decimal point). The other 4 pins represent each of the 4 digits from D1-D4.

What is the voltage of a 7-segment display? ›

7 Segment LED Display has a common anode. It have a forward voltage of 3VDC and a max forward current of 20mA. This is the way the display works.

How to tell if a 7-segment display is anode or cathode? ›

If the LED lights up, it is common ANODE. If no segment lights up then you need to reverse the wiring. So swap the two wires over on the battery or supply, if the LED lights up now it is common CATHODE.

Is a seven-segment display analog or digital? ›

Seven-segment displays are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information.

How many pins can be used to connect power to a 7-segment display? ›

1) We need 10 pins to connect power to a 7 segment display. A seven-segment display is an electronic circuit containing 10 pins, out of which 8 are LED pins, and 2 are left free which are used as common and are internally shorted together.

What is the purpose of the seven-segment display? ›

Seven-segment displays are electronic display devices used as an easy way to display decimal numerals and an alternative to the more complex dot-matrix displays. Seven-segment displays first became widely used as a popular way of displaying numbers.

How do you use a 7-segment display? ›

To turn on a segment, you set its associated pin to HIGH (figure 2). Figure 1: Seven segment common cathode display. In a Common Anode (CA) seven segment display (figure 3) the anodes (positive terminals) of all of the segments are connected together. Figure 4: CA display, segment pins b and c set to LOW.

What character is displayed in the 7-segment display? ›

In addition to the ten digits, seven-segment displays can be used to show most letters of the Latin, Cyrillic and Greek alphabets including punctuation. One such special case is the display of the letters A–F when denoting the hexadecimal values (digits) 10–15.

What does Arduino 7-segment display do? ›

7-segment displays are made up of 8 LED segments. They are used to display Numbers (0-9) and certain Alphabets (like c, A, H, P, etc.). 7 of these LED segments are in the shape of a line, whereas 1 segment is circular. Each of the 8 elements has a pin associated with it which can be driven HIGH or LOW.

Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 6035

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.