Seven-segment display character representations

From HandWiki

The individual segments of a seven-segment display.

The various shapes of numerical digits, letters, and punctuation on seven-segment displays is not standardized by any relevant entity (e.g. ISO, IEEE or IEC). Unicode provides encoding codepoint for segmented digits in Unicode 13.0 in Symbols for Legacy Computing block.

Digit

Digits
0 1 2 3 4 5 6 7 8 9
U+1FBF0 U+1FBF1 U+1FBF2 U+1FBF3 U+1FBF4 U+1FBF5 U+1FBF6 U+1FBF7 U+1FBF8 U+1FBF9

Two basic conventions are in common use for some Arabic numerals: display segment A is optional for digit 6 (6/6),[1][2][3][4] segment F for 7 (7/7), and segment D for 9 (9/9).[1][2][3][4] Although EF (1) could also be used to represent digit 1, this seems to be rarely done if ever. CDEG (0) is occasionally encountered on older calculators to represent 0.

In Unicode 13.0, 10 codepoints had been given for segmented digits 0–9 in the Symbols for Legacy Computing block:

Symbols for Legacy Computing[1][2]
Official Unicode Consortium code chart (PDF)
  0 1 2 3 4 5 6 7 8 9 A B C D E F
U+1FBFx 🯰 🯱 🯲 🯳 🯴 🯵 🯶 🯷 🯸 🯹
Notes
1.^ As of Unicode version 13.0
2.^ Grey areas indicate non-assigned code points

Alphabet

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.

Example set of Roman letters
Uppercase A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Lowercase a b c d e f g h i j k l m n o p q r s t u v w x y z
Punctuation " ' eq - _ sp

One such special case is the display of the letters A–F when denoting the hexadecimal values (digits) 10–15. These are needed on some scientific calculators, and are used with some testing displays on electronic equipment. Although there is no official standard, today most devices displaying hex digits use the unique forms shown to the right: uppercase A, lowercase b, uppercase C, lowercase d, uppercase E and F.[5] To avoid ambiguity between the digit 6 and the letter b the digit 6 is displayed with segment A lit.[2][6][7][8][9]

However, this modern scheme was not always followed in the past, and various other schemes could be found as well:

  • The Texas Instruments seven-segment display decoder chips 7446/​7447/​7448/​7449 and 74246/​74247/​74248/​74249 and the Siemens FLH551-7448/​555-8448 chips used truncated versions of "2", "3", "4", "5" and "6" for digits A–G. Digit F (1111 binary) was blank.[2][3][4]
  • Soviet programmable calculators like the Б3-34 instead used the symbols "−", "L", "C", "Г", "E", and " " (space) to display hexadecimal numbers above nine. (The Б3-34 character set allowed for a cross-alphabet display of the English word "Error" as either EГГ0Г or 3ГГ0Г, depending on the error, in all-numeric form during error messages.)
  • Not all 7-segment decoders were suitable to display digits above nine at all. For comparison, the National Semiconductor MM74C912 displayed "o" for A and B, "−" for C, D and E, F, and blank for G.
  • The CD4511 even just displayed blanks.
  • The Magic Black Box, an electronic version of the Magic 8-Ball toy, used a ROM to generate 64 different 16-character alphanumeric messages on a LED display. It could not generate K, M, V, W, and X but it could generate a question mark.[10]

For the remainder of characters, ad hoc and corporate solutions[clarification needed] dominate the field of using seven-segment displays to show general words and phrases. Such applications of seven-segment displays are usually not considered essential and are only used for basic notifications on consumer electronics appliances (as is the case of this article's example phrases), and as internal test messages on equipment under development. Certain letters (M, V, W, X in the Latin alphabet) cannot be expressed unambiguously at all due to either diagonal strokes, more than two vertical strokes, or inability to distinguish them from other letters, while others can only be expressed in either capital form or lowercase form but not both. The Nine-segment display, fourteen-segment display, sixteen-segment display or dot matrix display are more commonly used for hardware that requires the display of messages that are more than trivial.

Examples

The following phrases come from a portable media player's seven-segment display. They give a good illustration of an application where a seven-segment display may be sufficient for displaying letters, since the relevant messages are neither critical nor in any significant risk of being misunderstood, much due to the limited number and rigid domain specificity of the messages. As such, there is no direct need for a more expressive display, in this case, although even a slightly wider repertoire of messages would require at least a 14-segment display or a dot matrix one.

16×8-grid showing the 128 states of a seven-segment display[11]
On ON   Off OFF  
Open OPEN   Close CLOSE  
Play PLAy   Pause PAUSE  
Stop StOP   Error Error  

See also

7, 9, 14, 16 segment displays shown side by side.

References

  1. 1.0 1.1 (in German) Werkbuch Elektronik (3 ed.). Munich, Germany: Franzis-Verlag GmbH. 1981. p. 695. ISBN 3-7723-6543-4. 
  2. 2.0 2.1 2.2 2.3 BCD-to-Seven-Segment Decoders/Drivers: SN54246/SN54247/SN54LS247, SN54LS248 SN74246/SN74247/SN74LS247/SN74LS248, Texas Instruments, March 1988, SDLS083, http://www.ralphselectronics.com/ProductImages/SEMI-SN74247N.PDF, retrieved 2017-03-30, "They can be used interchangeable in present or future designs to offer designers a choice between two indicator fonts. The '46A, '47A, 'LS47, and 'LS48 compose the 6 and the 9 without tails and the '246, '247, 'LS247, and 'LS248 compose the 6 and the 0 with tails. Composition of all other characters, including display patterns for BCD inputs above nine, is identical....Display patterns for BCD input counts above 9 are unique symbols to authenticate input conditions." 
  3. 3.0 3.1 3.2 (in German) Digitaltechnik. 4 (7 ed.). Würzburg, Germany: Vogel Buchverlag (de). 1990. pp. 301–303. ISBN 3-8023-0584-1. 
  4. 4.0 4.1 4.2 (in de) Datenblatt FLH551-7448, FLH555-8448, 74248. Siemens. 
  5. "Application Note 3210 – Quick-Start: Driving 7-Segment Displays with the MAX6954". Maxim Integrated. March 2008. http://datasheets.maximintegrated.com/en/ds/MAX6955.pdf. 
  6. "Driving 7-Segment Displays". Maxim Integrated. 2004. http://www.maximintegrated.com/app-notes/index.mvp/id/3210. 
  7. electronic hexadecimal calculator/converter SR-22 (Revision A ed.). Texas Instruments Incorporated. 1974. p. 7. 1304-389 Rev A. http://www.datamath.net/Manuals/SR-22_US.pdf. Retrieved 2017-03-20. 
  8. electronic calculator – TI programmer. Texas Instruments Incorporated. 1977. p. 7. http://www.datamath.net/Manuals/TI-Programmer_US.pdf. Retrieved 2017-03-28. 
  9. electronic calculator – TI LCD programmer. Texas Instruments Incorporated. 1981. p. 8. http://www.datamath.net/Manuals/LCD-Programmer_US.pdf. Retrieved 2017-03-28. 
  10. "Electronic Magic Box". Popular Electronics 17 (1): 61–66. January 1980. https://worldradiohistory.com/Archive-Poptronics/80s/1980/Poptronics-1980-01.pdf. Retrieved 2021-12-30. 
  11. "junior cookbook: a few healthy recipes to keep your computer in shape" (in en). elektor (UK) – up-to-date electronics for lab and leisure 1981 (72): 4-28–4-31 [4-30 Figure 4]. April 1981. https://worldradiohistory.com/UK/Elektor/80s/Elektor-1981-04.pdf. Retrieved 2020-07-03. 

External links