Wednesday, August 17, 2022

# 7 Segment Display Pinout | Working Understanding of 7 Segment Display

A seven-segment display is commonly used in electronic display device for decimal numbers from 0 to 9 and in some cases, basic characters. Use of light emitting diodes (LEDs) in seven segment displays made it more popular, whereas of late liquid crystal displays (LCD) displays have also come into use. Electronic devices like microwave ovens, calculators, washing machines, radios, digital clocks etc. to display numeric information are the most common applications. Let’s take a look at the 7 segment display pinout to have a better understanding.

### 7 segment display pinout

A 7 segment display is made of seven different illuminating segments. These are arranged in a way to form numbers and characters by displaying different combinations of segments. The binary information is displayed using these seven segments. LED or light emitting diode is P-N junction diode which emits the energy in the form of light, differ from normal P-N junction diode which emits in the form of heat. Whereas LCD use properties of liquid crystal for displaying and do not emit the light directly. These LED’s or LCD’s are used to display the required numeral or alphabet.

### Types of 7 segments

There are basically 2 types of 7 segment LED display:

Common Anode: All the Negative terminals (Anode) of all the 8 LEDs are connected together. All the positive terminals are left alone.

Common Cathode: All the positive terminals (Cathode) of all the 8 LEDs are connected together. All the negative thermals are left alone.

### Working on 7 segments

Seven segment devices are generally made up of LEDs. These LEDs will glow when they are forward biased. The intensity of the LEDs depends on forward current. So, sufficient forward current has to be provided to these LEDs to glow with full intensity. This is provided by the driver and is applied to the seven segments.

 Number g f e d c b a Hex code 0 1000000 C0 1 1111001 F9 2 0100100 A4 3 0110000 B0 4 0011001 99 5 0010010 92 6 0000010 82 7 1111000 F8 8 0000000 80 9 0010000 90

Table: Display numbers on a seven segment display in common anode configuration

Things change for common cathode configuration.

 Number g f e d c b a Hex Code 0 0111111 3F 1 0000110 06 2 1011011 5B 3 1001111 4F 4 1100110 66 5 1101101 6D 6 1111101 7D 7 0000111 07 8 1111111 7F 9 1001111 4F

Table: Display numbers on a seven segment display in common cathode configuration

A sample interfacing of the 7 segment display to Arduino uno is provided for reference.

#### This article was first published on 29 December 2016 and was updated on 4 June 2019.

1. In common anode, All the Positive terminals (Anode) of all the 8 LEDs are connected together. All the negative terminals are left alone.
Common Cathode: All the negative terminals (Cathode) of all the 8 LEDs are connected together. All the positive thermals are left alone.

You say: “Types of 7 segments
There are basically 2 types of 7 segment LED display.
Common Anode: All the Negative terminals (cathode) of all the 8 LEDs are connected together. All the positive terminals are left alone.
Common Cathode: All the positive terminals (anode) of all the 8 LEDs are connected together. All the negative thermals are left alone.”

This is backwards.