The 7-segment display on the left is a good example of how hexadecimal digits can be displayed on 7-segment displays. A combination of uppercase and lowercase letters is used for A–F; this is done to obtain a unique, unambiguous shape for each hexadecimal digit (otherwise, a capital D would look identical to an 0/O and a capital B would look identical to an 8). Also the digit 6 must be displayed with the top bar lit to avoid ambiguity with the letter b.
Hexadecimal encodings for displaying the digits 0 to F
Input a b c d e f g
0 on on on on on on off
1 off on on off off off off
2 on on off on on off on
3 on on on on off off on
4 off on on off off on on
5 on off on on off on on
6 on off on on on on on
7 on on on off off on off
8 on on on on on on on
9 on on on on off on on
A on on on off on on on
B off off on on on on on
C on off off on on on off
D off on on on on off on
E on off off on on on on
F on off off off on on on
The above table should assist you when setting up your 7-segment displays.
Touch the logic source pads connected to the 7-segment display pins to work out which combination you wish to use.
———————————————————————————————————————————————————————————————
Binary Coded Decimal to 7-segment decoder:
Input A B C D
0 Off Off Off Off
1 On Off Off Off
2 Off On Off Off
3 On On Off Off
4 Off Off On Off
5 On Off On Off
6 Off On On Off
7 On On On Off
8 Off Off Off On
9 On Off Off On
A to F are invalid inputs for this type of display and so are not shown on the above table.
Once again, the above table should assist you when setting up your 7 segment displays if you’re using a binary coded decimal to 7-segment decoder.
Touch the logic source pads connected to the 7-segment decoder pins to work out which combination you wish to display on your 7-segment displays.
Enjoy...😎