2
Proteus Library For Arduino Proteus is a very powerful tool in simulating microcontroller codes and Arduino is a very famous microcontroller platform but in Proteus there is no model for Arduino. In this post I am going to show how to add Proteus Library for Arduino and how to use it in simulation. How to add the Arduino Proteus library 1- First of all yu have o download the Proteus library from the following link: CLICK HERE 2- After downloading the file. Extract it and then copy the two files ARDUINO.IDX and ARDUINO.LIB and paste them in the following path: Drive C >> Program Files >> Labcenter Electronics >> Proteus 7 Professional >> LIBRARY 3- Then open your Proteus and in the pick device wizard search for Arduino you will get the following results.

Proteus Library for Arduino

  • Upload
    kz300

  • View
    910

  • Download
    20

Embed Size (px)

DESCRIPTION

Guide for installation of Proteus Library for Arduino.Allow to simulate the board in real time with code writen in the Arduino IDE

Citation preview

Page 1: Proteus Library for Arduino

Proteus Library For Arduino

Proteus is a very powerful tool in simulating microcontroller codes and Arduino is a

very famous microcontroller platform but in Proteus there is no model for Arduino. In

this post I am going to show how to add Proteus Library for Arduino and how to use it

in simulation.

How to add the Arduino Proteus library

1- First of all yu have o download the Proteus library from the following link: CLICK

HERE 2- After downloading the file. Extract it and then copy the two files ARDUINO.IDX

and ARDUINO.LIB and paste them in the following path:

Drive C >> Program Files >> Labcenter Electronics >> Proteus 7 Professional >>

LIBRARY

3- Then open your Proteus and in the pick device wizard search for Arduino you will

get the following results.

Page 2: Proteus Library for Arduino

Now, I am going to show you how to add Arduino codes to Proteus.

How to add the Arduino codes to Proteus

Proteus use the .hex file to simulate microcontroller codes but since the Arduino IDE

uses .pde or .ino files, you can't add the Arduino code directly to Proteus. To add

Arduino code to Proteus, follow these easy steps:

1- Write your code using Arduino IDE and press verify icon to check the code for

errors. Then save your code and name it.

2- Then, from the tools choose your board type (UNO, MEGA,....)

3- After that, press the upload icon and wait .... it will give you an error because the

board is not connected to your PC. It's OK leave it.

4- The hex file will be located in the following path:

** NOTE ** you have to activate (Show hidden files,folders and drives)

Drive C >> Users >> " the name of your PC " >> AppData >> Local >> Temp

5- Search for you code with the name you used in saving and you will find a file

named "filename.cpp.hex" copy this file in any place (for example Desktop)

6- Return to Proteus and double click on your Arduino kit and then add the .hex file.

That's all. Now you can run your simulation. If you got any problems, please feel free

to write to me in a comment and I will answer you as soon as possible.

You can download the Arduino code I used to test the library and the .hex and the

simulation file from the following link: CLICK HERE

if you liked this tutorial visit us at :

http://all-about-embedded.blogspot.com/