arduino library for proteus

[otw_is sidebar=otw-sidebar-1]In this projectiot123 tutorial I will discuss how to simulate circuits with Arduino microcontroller on Proteus(arduino library for proteus simulation). You will learn how to download the libraries of Arduino for Proteus and simulate the codes build in Arduino IDE on Proteus with additional circuits for example diodes, led, transistors and motors etc. So keep reading and enjoy learning

 

pcbway

 

 

Proteus Software

Proteus   is a very popular software for simulating the circuit in addition it also provides the flexibility for PCB designing. Proteus can also be very efficiently used for simulating the circuits with Arduino development board as the microcontroller. But Proteus does not have built-in library for Arduino so we have to download the Arduino library for Proteus first. Then we will follow the standard approach for simulating the circuit.
Simulation is a very useful way of imitating the behavior that your physical circuit is intended to show so, by simulating the circuit we can look for any glitches in the code or short circuits in the circuit before actually implementing it. So simulation both saves time and money.

Downloading the Arduino Library for Proteus

You can download the full Arduino Library having six Arduino boards

Arduino Mega Library For Proteus 

Arduino Uno Library For Proteus 

Arduino Pro Mini Library For Proteus

Arduino nano Library For Proteus 

Arduino Diecimila Library For Proteus 

Arduino Ethernet Library For Proteus

Arduino DUE Library for Proteus

Arduino YUN Library for Proteus

Arduino Lilypad Library for Proteus

 

[otw_is sidebar=otw-sidebar-2]

As I have mentioned earlier we need to download the Arduino library for Proteus before simulating the Arduino Atmega 328 circuits. I will discuss here steps for downloading the Arduino Library and installing it in the Proteus.

   Note:
if you are unable to add Library in Proteus 7  and  Proteus 8, then you should have a look at How to add new Library in Proteus 8.

This zip folder will be containing two files. One is called Arduino LIB. And other is Arduino.IDX

[otw_is sidebar=otw-sidebar-2]

arduino library for proteus

 

Download Proteus Library of Components

[otw_is sidebar=otw-sidebar-3]

Arduino Library for Proteus

  • Open the web browser and search for Arduino library Proteus.
  • Open the link and download the zip folder. This zip folder will be containing two files. One is called Arduino LIB. And other is Arduino.IDX as we will see in the next step.
  • After you have downloaded the ZIP folder extract the files in the folder.
  • Copy and Paste this folder in the library folder of the Proteus software.
  • Open the Proteus and the software is ready to be used for simulating Arduino based circuits.
  • Creating the HEX file
  • Once you have written the code in Arduino IDE you need some way to simulate this program in Proteus. This can be done by creating the HEX file of the code and then using this HEX in the Proteus for simulation. I am discussing here the process for creating the HEX file.
arduino hex file Steps
  • Open your Arduino IDE, click on the File, go into preferences and check the boxes with compilation and uploading.
  • When you have check the boxes highlighted in the above write the code and then compile.
  • Once you have compiled the code by clicking the Verify button at the top left corner of the Arduino IDE. The Arduino IDE will automatically create the HEX file and give the link of it at the bottom.
  • Go to the link as specified by your Arduino IDE and you can find your HEX file there.

Setting the HEX file in Proteus

After you have made the HEX file it should be in some way given to the Proteus so that Proteus can use this HEX file to simulate the code and thus simulate the circuit. I am discussing here the steps for setting the HEX file in Proteus.

  • Open you Proteus.
  • arduino hex file location
  • Search for Arduino.
  • Click it to add it in the project file.
  • Double click on it and pop up box will appear
  • Browse for the HEX file in the location where your newly created hex file is placed.
  • Finally click on the file and the hex file will be uploaded in the Proteus.
  • Now the Proteus is ready for simulating the Arduino circuit.
[dt_button link=”https://projectiot123.com/category/arduino-proteus-simulation/” target_blank=”false” button_alignment=”default” animation=”fadeIn” size=”medium” style=”default” bg_color_style=”default” bg_hover_color_style=”default” text_color_style=”default” text_hover_color_style=”default” icon=”fa fa-chevron-circle-right” icon_align=”left”]Buy Arduino UNO[/dt_button]

Proteus Download

                                                              download library

 

 

Top 10 Arduino proteus projects

dht11 sensor in proteus

we design projects of arduino  in proteus.here are the list of arduino proteus projects.

 

 

 

GENUINO LIBRARY FOR PROTEUS

 

  • First of all  you can download the library for Proteus Genuino  below link
  • in the link , you will get a rar/zip file  you will have two files, named as:

GenuinoTEP.LIB   GenuinoTEP.IDX

  • Now place the both files in the Library folder of your Proteus8/Proteus7 folder  software.
[otw_is sidebar=otw-sidebar-3]

Arduino NANO Library for Proteus

  • I have simulated the simple circuitry of LED blinking using the Arduino nano.
  • The Proteus works fine and it is very useful as you can easily simulate the Arduino circuitry and its code on the Proteus.
  • So that any glitches and codes either in the code or in the circuit can be seen before actually implementing the circuit physically.

 

 

Arduino Library in Proteus

  • First of all download arduino library in Proteus.Simply search for the arduino iot library in your software and look for the arduino library.
  • Simply download the arduino UNO Library, unzip it and copy paste it in the Proteus8 or proteus7 as we did in the case when installing the Arduino library in proteus.
  • This step is very simple. Please see the previous article if you face any problem.
  • It must be noted Proteus 8.0 has already nstalled unolibrary so you do not need to download the uno library.
  • Simply search for the uno and add it in the workspace.

 

 

Learn our more Arduino tutorial for Beginners

 

 

 

 

you can see how to relay interfacing with arduino in proteus.  my last post is  what is relay 

 

I hope this article would be helpful. In this next article I will discuss the simulation of the Arduino and LCD on the Proteus.