☖ Home Units Converter Geometry Σ Math Physics Electricity

Seven segment

In order to display numbers 0 to 9 we use the 7 segment display, those are 7 straight light emitting diodes or anodes denoted by the letters a through g. each segment can be lighted up with the circuit of 7 segment decoder.

Decimal seven-segment decoder truth table

Inputs Number Display segment Segments numbering sequences
D C B A a b c d e f g Segments
000001111110
000110110000
001021101101
001131111001
010040110011
010151011011
011061011111
011171110000
100081111111
100191111011
All other combinations don't careXXXXXXX

For any decimal number we can see the state of each segment, when 1 means that the segment is on (illuminated) and 0 is off.



Segment:



Seven segment (0 to 9 decimal) decoder circuit

0 0 0 0
Seven segment gates presentation.

To present all hex characters, we must modify the gates circuits to represent the additional characters A, b, C, d, E and F, and to display the corresponding states of the segments. We can see the new truth table values, in the next table.

Seven-segment Hex decoder truth table

Inputs Decimal number Display segment Segments numbering sequences
A B C D a b c d e f g Segments
000001111110
000110110000
001021101101
001131111001
010040110011
010151011011
011061011111
011171110000
100081111111
100191111011
1010A1110111
1011b0011111
1100C1001110
1101d0111101
1110E1001111
1111F1000111
K-map for segment − a



Segment:



Seven-segment containing all segments - Hex decoder circuit

A     B    C    D
0 0 0 0 0
Seven segment gates presentation.

The 4511 Seven segment IC chip

4511 Seven segment chip

Notes: The seven-segment display should be common cathode type. This means that all the cathodes (negative terminals) of the individual LEDs within the display are connected internally and tied to a common ground or logic low - "0", as showed in the figure as CC.

If LT input is changed to logic low, all the segments will light up as the digit 8 to test the display segments.

Common cathode connection.
Common Cathode connections, all the cathodes are connected to the ground.