A 7-segment display is a display device made up of seven individual segments, primarily used to show numbers. To display letters, an LCD screen is more suitable. This type of display is commonly used in devices like calculators or alarm clocks.
As the name suggests, a 7-segment display consists of seven individual segments. Each segment represents a portion of the display that, when lit, contributes to forming a digit. By turning on specific segments, different numbers can be displayed. With this type of display, it is possible to show digits from 1 to 9. The 7-segment display uses 8-bit encoding.
Here is the circuit diagram for connecting the 7-segment display: