Display a number on a Seven Segment display

This project is for display a number on a 7 segment display. The circuit has ten inputs corresponding to digits zero to nine. Whenever an input is pressed the corresponding digit is displayed on the seven segment.The microcontroller used is AT89C51 which belongs to the 8051 series of microcontrollerThe block diagram for this project is given below.


7 segment display

The circuit can be divided into two units: the controller unit and the display unit. The controller unit consists of a microcontroller circuit. The microcontroller used here is AT89C51 . The display unit consists of a seven segment circuit which is interfaced to the microcontroller. 


7 segment display microcontroller
Circuit Diagram

Each input pin corresponds to one of the digits to be displayed on the seven segment. Here the pin 0 to pin 7 of port P3, pin 6 and pin 7 of port P 1 are made the input pins. The output is sent to the seven segment through Port 2 of the microcontroller.

To download the code for this project click on below button 


Previous
Next Post »