How to Count From 0 to 99 Using 8051 Microcontroller With 7 Segment Display

by embedotronics in Circuits > Microcontrollers

15531 Views, 14 Favorites, 0 Comments

How to Count From 0 to 99 Using 8051 Microcontroller With 7 Segment Display

coverincrement.png

Hello everyone, In this tutorial we are going to tell you about how to count from 0 to 99 using two 7 segment display.

Software Used:

keil_page.png
proteus_page.png
flash magic.png

As we are showing proteus simulation so FOR CODING AND SIMULATION YOU REQUIRED:

1 Keil uvision: Their are lots of product from keil. so you will be required c51 compiler. You can download that software from here

2 Proteus Software for simulation: This is the software to show simulation. You will get lot of information to download this software.

If you are doing it in hardware then you would require one software that is flash magic to upload the code in your hardware. Remember flash magic is developed by nxp. So you can not upload all 8051 family microcontroler through this software. So Philips based controller only you can upload.

Components Used:

8051 board.jpg
usbtouart.jpg

Here in our demo video we are using proteus simulation but definetly if you are doing it in your hardware you will be required these components for this project:

8051 Development board: So if you have this board it will be better so that you can easily upload the code by yourself.

Seven Segment Display: There are two types of 7 segment display one is Common Anode and other is Common Cathode. In our Proteus simulation we are using Common Anode Display

USB to UART converter: This is 9Pin D type male Connecter For Rs232 O/p Jumper Wires

Circuit Diagram

coverincrement.png

Source Code

You can get the source code from our GitHub Link

Working Principle and Video

Counting from 0 to 99 using 8051 microcontroller with 7 segment display

As we are using two segments so we have used two 8051 I/O ports for our project. The whole project description are given in the above video.

If you have any doubt regarding this project feel free to comment us below. And if you want to learn more about embedded system you can visit our youtube channel

Please visit and like our Facebook Page for frequent updates.

Thanks & Regards,

Embedotronics Technologies