How to simulate programs of 8051 using Proteus

Proteus is a handy and user friendly simulator tool. It helps to check result of program without connecting the hardware. Most of the tools are available in proteus so we can test them without any hardware cost. In this tutorial, we will show the steps for how to create the project in proteus and its simulation process.

Let’s Simulate with Proteus


Open the Proteus Software and Click on New Project.


Provide the name of project and a location where you want to create it.


Select Option Create Schematic from selected template. I have select required template (Landscape A4) which is good enough for basic applications.


Select template for PCB Layout. I have skipped it for demo. Later on we will learn how to create PCB in other tutorial.


If you are creating applications with micro-controller, select option Create Firmware Project.  Here I have selected following configurations.

Family > 8051

Controller > AT89C52

Compiler > ASM-51 (Proteus)

Click on next.


Summary of selected configurations will appear as shown below. Click on Finish.


Project with Schematic Capture and Source code configurations will be created. Go to Schematic Capture to create our schematic.



Schematic with micro-controller will be created by default.


We have to pick devices from the available libraries of Proteus. To search the devices, click on button P (Pick Device) > Search Components. Now type the name of component you want to use. Preview of selected component will appear on right pane of the screen.


Click on OK to add selected component to schematic.


You can modify placing of components like rotate, drag etc. For this right click on component and select option from the pop-up menu.


We can add terminals like Power Supply, Ground etc. For ground Right Click > Place > Terminal> Ground.


Connect the wires as per the circuit you want to create and save it.


Now for simulation, we have to provide path of hex file created by the Keil IDE. Double click on controller. Following pop-up menu will open.


From the Program File, browse the hex file and click on Open.


Final configuration will look as shown in below image. Click on OK.


Now click on RUN Button. (► is Run Button)


You can see the output of code. Here the LEDs will blink as per our code.


Click on Stop Simulation. 

Now you can make your own code and simulate on Proteus.

If you face any issues, feel free to ask us Here.

You may also like...

Leave a Reply

Specify Facebook App ID and Secret in Super Socializer > Social Login section in admin panel for Facebook Login to work

Specify LinkedIn Client ID and Secret in Super Socializer > Social Login section in admin panel for LinkedIn Login to work

Your email address will not be published. Required fields are marked *