Arduino Uno is one of the most popular Development boards of our time. It can be used for almost any project that one can think of. But sometimes before making an actual circuit, it is a good idea to simulate that circuit first.
Simulating the circuit firsthand can save you from a lot of trouble. Proteus is one of the software that does this job brilliantly. And now you can simulate an Arduino in proteus before even implementing it in actual hardware. By the end of this post, you will know how to add Arduino Library for Proteus and simulate Arduino projects.
You can also watch the video given below for easy reference:
STEP 1: First of all download Arduino Library from the link given below:
STEP 2: Download this file to the desktop of your PC.
STEP 3: Unzip the .zip file to the desktop of your PC.
STEP 4: Copy the two obtained files from the desktop.
STEP 5: Go to C:\Program Files (x86)\Labcenter Electronics\Proteus 7 Professional\LIBRARY
STEP 6: Paste the files here and you are done!
STEP 7: To use the Arduino Library, open proteus and click on “pick from libraries”
STEP 8: Search for “Arduino”, you will see 6 Arduino boards in the component section. Select the Board of your choice and start simulating!
How to simulate Arduino projects in Proteus?
PROJECT 1: Blinking an Led using Arduino Library for Proteus
STEP 1: Connect all the components as shown in the figure below.

STEP 1: Copy this “LED BLINKING ” program to your Arduino IDE:
void setup() { pinMode(13,OUTPUT); } void loop() { digitalWrite(13,HIGH); delay(1000); digitalWrite(13,LOW); delay(1000); }
STEP 2: Go to preferences

STEP 3: Check “Compilation” CheckBox

STEP 4: Click on verify (compile)


STEP 5: After compilation is complete copy the HEX file path from the bottom corner as shown below.
STEP 6: Open Proteus and double click on Arduino. Paste the file path and click ok

STEP 7: Run the simulation! Led at pin no. 13 will blink.
PROJECT 2: Analog I/P to control LED’s brightness using Arduino Library in Proteus
STEP 1: Connect all the components as shown in the simulation figure given below.

STEP 2: Copy this “PWM using Arduino ” program to your Arduino IDE:
int y; int x; void setup() { pinMode(10,OUTPUT); pinMode(A0,INPUT); } void loop() { Serial.begin(9600); x=analogRead(A0); y=map(x,0,1023,0,255); analogWrite(10,y); Serial.print("INCHES"); Serial.println(x); delay(500); }
STEP 3: Go to preferences from the File menu of Arduino IDE.

STEP 4: Check “Compilation” CheckBox as shown in the figure given below.

STEP 5: Click on verify (compile).


STEP 6: After compilation is complete copy the HEX file path from the bottom corner like before.
STEP 7: Now open the Proteus software and double click on Arduino. Paste the file path and click ok

STEP 8: Run the simulation. When the simulation is running, change the potentiometer’s wiper terminal position to control the brightness of the led. A screenshot of the working of this project is given below.

Read Similar Articles:
How to Add Microphone library for Proteus and generate audio waveforms
How to Add And Simulate Ultrasonic Sensor Library in Proteus?
thanks but i can’t use in ARES
can you give the PCB footprint?