How to add Arduino Library to Proteus and Simulate Arduino Projects | 2018 Edition

Here is the 2018 edition of “How to add ARDUINO Library and simulate Arduino Projects on Proteus” :

You can also watch this video for easy reference:

 

STEP 1 : First of all download Arduino Library from the link given below:

 

Arduino Library For Proteus (Ed. 2018)

 

STEP 2: Download the file to desktop

 

STEP 3: Unzip the .zip file to desktop

 

STEP 4: Cut the two obtained files from 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: Open proteus and click on “pick from libraries”

 

STEP 8: Search for “Arduino”, you will see 6 Arduino boards in result bar. Select Board of your choice and start simulating!

How to simulate Arduino projects in Proteus?

 

PROJECT 1: Blinking Led using Arduino Library in Proteus

STEP 1: Connect all components as shown in simulation figure.

Blinking Led using Arduino library in Proteus

 

 

 

 

 

 

 

 

 

 

 

 

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);

}

 

DOWNLOAD THIS CODE

 

STEP 2: Go to preferences

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STEP 3: Check “Compilation” CheckBox

 

 

 

 

 

 

 

 

 

STEP 4:  Click on verify (compile)

 

 

 

 

 

 

 

 

 

 

 

STEP 5: After compilation is complete copy HEX file path from the bottom corner:

 

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 components as shown in simulation figure.

 

 

 

 

 

 

 

 

 

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);
}

 

DOWNLOAD THIS CODE

 

STEP 3: Go to preferences

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STEP 4: Check “Compilation” CheckBox

 

 

 

 

 

 

 

 

 

STEP 5:  Click on verify (compile)

 

 

 

 

 

 

 

 

 

 

 

 

STEP 6: After compilation is complete copy HEX file path from the bottom corner:

 

STEP 7: Open Proteus and double click on Arduino. Paste the file path and click ok

 

 

 

 

 

 

 

 

 

STEP 8: Run the simulation! Change potentiometer’s wiper terminal position to control brightness of the led.

 

 

Read Similar Articles:

How To Change Frequency On PWM Pins Of Arduino UNO

How to Add Microphone library to Proteus and generate audio waveforms

How to Add And Simulate Ultrasonic Sensor Library in Proteus 

 

No Comments

Leave a Reply

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

%d bloggers like this: