Introduction:

The 7-segment displays are digital displays composed of segments that are lit or not to display a decimal number:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
or letters for hexadecimal:
a, b, c, d, e, f.
There are also versions with one or two points.
The seven segment display using LEDs, and they are very easy to use.
Types:
There are two types of 7-segment displays:
Displays common anode.
Displays common cathode. You should know that the displays are used seven segments, the same way a LED.
- common-anode display
Here the principle of common anode displays:
As you noticed, all the anodes are connected together.
To use its displays, it will ALWAYS follow instructions power LEDs. Ie the + supply to the anode and the - on the cathode.
Like LEDs, it will ALWAYS add a resistor to reduce the current on each segment of the display. Here's how the cable:
2.common-cathode display
Here the principle of common cathode displays:
As you noticed, all the cathodes are connected together.
To use its displays, it will ALWAYS follow instructions power LEDs. Ie the + supply to the anode and the - on the cathode.
Like LEDs, it will ALWAYS add a resistor to reduce the current on each segment of the display.
Here's how the cable:

Decoder:
To help us to use the 7-segment displays, there is what is called decoders.
These converters are used to convert binary information into information that will display a number on our display.
Here is an explanatory drawing:
These converters are used to convert binary information into information that will display a number on our display.
Here is an explanatory drawing:
This simplifies the use of displays!