At89s51 microcontroller will be the main component controlling the process, and display different digits on display. The seven segment display is found in many electronic devices. It is just 7 LEDs that have been combined into one case to make a convenient device for the displaying numbers and some letters. In common anode version, the positive leg of each LED is connected to a common point (Vcc)
and negative leg to one of the pins of the device. The assembly is reversed for common cathode version.