Introduction: How to Simulate Arduino in Proteus

Picture of How to Simulate Arduino in Proteus

Simulation is a very powerful tool to understand how the device will work after implementing in real.Before start any project, it is a good practice to simulate it and virtually verify that works. Proteus is a simulation base software.By using this software Arduino can be simulate.Today we are going to simulate arduino in Proteus. We will test arduino Blink program with Proteus.Lets do it...

Step 1: Arduino IDE Setup

Picture of Arduino IDE Setup

Before start simulation need to make sure that in File>>Preferences, compilation is marked. Because "compilation" compile the code and generate .hex file.This .hex file is needed for running the Proteus simulation.

Step 2: Proteus Setup

Picture of Proteus Setup

Proteus is the software where we run our simulation.First make sure that you have Proteus installed in your operating system.If not, then download and install Proteus.After run the Proteus software, If you don't find arduino in the library.Then, there is a .rar file download it and copy/cut the file.After that paste it into the Proteus library.I am using windows 7 operating system.In my case the location of the Proteus library is, C drive>Program Files>Labcenter Electronics>Proteus 7 Professional>LIBRARY.After that you will find arduino in your library.

Step 3: (Step-1)Proteus Simulation

Picture of (Step-1)Proteus Simulation

Run Arduino IDE and go to File>Examples>01.Basics>Blink and open it.Click on "Verify" button.Then copy(Ctrl+C) the .hex file.

Step 4: (Step-2)Proteus Simulation

Picture of (Step-2)Proteus Simulation

Run the Proteus and draw the circuit like the picture.You can directly connect Led with pin 13.But it is a good practice to add a 220 ohm resistor with led in series.Resistor limits the current flow.Double click on arduino and paste the .hex file in "Program File:".Run the simulation by clicking "Run the simulation" button. LED is Blinking if everything is okay. Congratulation!!!!

Youtube tutorial Link:

Comments

Mohammad AbdurR made it! (author)2017-09-14

thanks for the tutorial!!

KmiloG made it! (author)2016-11-05

Muchas gracias por el tutorial! (y)

Wiitus (author)2016-10-17

PWM and analogwrite is not working on simulation

Everything will be work, follow this playlist

https://www.youtube.com/playlist?list=PL_SlMximwEb4dZ2c_q2hdv-yXgaaF_yxA

mohammed breky (author)2016-06-20

thanks man it works

aldotoms made it! (author)2016-05-29

I have just done it!
It was very simple to simulate the Arduino UNO in Proteus, all steps are easy and clear.

Thank you!

Thank you!

Thanks
You can also try this
https://www.youtube.com/channel/UCWnptP747fxdZ5VSMWnGqTg/playlists