Arduino Library for Proteus

Update: Here are the latest versions of this library: Arduino Library for Proteus V3.0 and Arduino Library for Proteus V2.0.


Hello friends, I hope you all are fine. In today's tutorial, I am going to share a new Arduino Library for Proteus. I am quite excited about today's post as it's my first complete Arduino Library for Proteus. In my previous tutorials, I have shared these Arduino boards in separate Proteus libraries but today I have combined all the boards together in a single library. You just need to download the Proteus library zip file and install it in Proteus software. You will get all the Arduino boards in your Proteus workspace. You should also give a try to Genuino Library for Proteus.

We have tested all the boards with different types of sensors. So, now you can easily use Arduino in Proteus and can simulate any kind of project. If you have any issues, you can ask in the comments or use our forum to post your queries. Here's the video tutorial on How to install and use this Arduino Proteus Library:

This Arduino Library for Proteus is unique in its kind because there's no such library posted before that has as many boards as we have in our Library. We have added almost all the basic Arduino boards to it and we are also working on advanced boards i.e. Arduino DUE, Arduino YUN etc. You should also have a look at the Arduino Tutorial for Beginners. This Proteus Arduino Library consists of the following boards:

So, let's get started with Arduino Library for Proteus:

Note:

You should also download these Proteus libraries of different sensors & modules. Other Proteus Libraries are as follows:

Arduino Library for Proteus

  • First of all, download Arduino Library for Proteus by clicking the below button:
Arduino Library for Proteus
  • After downloading the Proteus library zip file, unzip it and you will get two files in it.
  • These two Proteus library zip files are named as:
    • ArduinoTEP.LIB
    • ArduinoTEP.IDX.
  • Copy these two files and place them in the Library folder of your Proteus software.
Note:
  • Now, restart your Proteus software and in components section search for ArduinoTEP as shown in below figure:
  • These are all the boards designed by our team in Arduino Library for Proteus.
  • In the Proteus workspace, these boards will appear as shown in the below figure:
  • So, these are the boards available in this Arduino Library for Proteus.
  • Arduino Mega 1280 is missing in this figure because it's the same as Arduino Mega 2560 so I haven't posted it here but it's included in the library.
  • So, now you have all the Arduino boards in your Proteus software and you can simulate them as you want them.
  • Let's design a simple Arduino UNO led blinking circuit for better understanding.
  • So, design a circuit as shown in below figure:
  • Now open your Arduino software, open the LED blinking Example and get your hex file.
Note:
  • Now upload your hex file to your Arduino board.
  • Hit the Run button on your Proteus software and you will get the result as shown in the below figure:
  • So, you can easily simulate any of your above-mentioned Arduino boards quite easily in Proteus software using our Arduino Library for Proteus.
  • If you are new to Arduino then you should try these Arduino Projects for Beginners, they will help you to get your hands on this marvelous creation. :P

That's all for today. I hope you have enjoyed this Arduino Library for Proteus and will benefit from it. Share your opinions about it in the comments below and help us to help you out. :)

Arduino Pro Mini Library for Proteus

Update: We have created a new version of this library, which you can check here: Arduino Pro Mini Library for Proteus V2.0.
Hello friends, hope you all are fine and having fun with your lives. In today's post, I am gonna share Arduino Pro Mini Library for Proteus. Recently, I have shared Arduino Nano Library for Proteus, and before that I have also posted Arduino UNO Library for Proteus as well as Arduino Mega 2560 Library for Proteus, and now I am gonna share Arduino Pro Mini Library for Proteus. Arduino Pro Mini is another Arduino board which also uses the same Atmega328 Microcontroller and has almost the same number of pins as Arduino UNO and Arduino Nano. Arduino Pro Mini is even more smaller than Arduino Nano board. It doesn't have the programmer on it so if you need to program it you have to use some TTL to Serial converter or you can also use Arduino UNO board in order to burn programming code in it. So, in today's tutorial, I am gonna share the Arduino Pro Mini Library for Proteus, which is the first library ever made for this board. You won't find the Arduino Pro Mini Library for Proteus anywhere. I am quite proud that our blog is sharing this library for the first time. You can download this library freely from the link below and can now simulate your circuits quite easily. So, now let's get started with this new Arduino Pro Mini Library for Proteus. I have added all the Arduino boards in a single library. This library contains six Arduino boards which are Arduino UNO, Arduino Mega 2560, Arduino Mega 1280, Arduino Nano, Arduino Mini and Arduino Pro Mini. You can download this complete Arduino Library by checking Arduino Library for Proteus.

Arduino Pro Mini Library for Proteus

  • First of all, download the Arduino Pro Mini Library for Proteus by clicking the below button.
Arduino Pro Mini Library for Proteus

  • Now when you click it, you will get a zip file so extract this zip file and you will get two files named as ArduinoProMiniTEP.LIB and ArduinoProMiniTEP.IDX.
  • So download these two files and place it in the libraries folder of your Proteus software.
Note:
  • Now, after getting the Arduino Pro Mini Library for Proteus files and placing it properly in your Proteus software. Open your Proteus software and make a search for Arduino Pro Mini.
  • Once you get this board, place it in your Proteus workspace and it will look like something as shown in below figure:
  • Now next thing you need to do is to read How to get hex Fie from Arduino, so that you can get the hex file, which we are gonna upload in this Arduino Pro Mini board.
  • So, once you get the link for your hex file, simply double click this board to open its properties.
  • Now place this hex file in the Program File section of its Properties section as we have seen in Arduino Nano Library for Proteus tutorial.
  • That's all, now using this Arduino Pro Mini Library for Proteus, you can easily simulate your circuits in Proteus and can test your codes.
  • Now, let's design a simple blinking example as we have done for previous libraries.
  • So, in order to dos so, design a simple circuit in Proteus as shown in below figure:
  • So, now as usual, use the blink example from the Arduino software and get your hex file as described in How to get hex file from Arduino.
  • So, after uploading the hex file, run your simulation. If everything goes fine then you will get results as shown in below figure:
  • So, now that's how you can simulate Arduino Pro Mini in Proteus using Arduino Pro Mini Library for Proteus.

Arduino Nano Library for Proteus

Update: Here are the latest versions of this library: Arduino Nano Library for Proteus V3.0 and Arduino Nano Library for Proteus V2.0.


Hello friends, hope you all are fine and having fun with your lives. In today's post, I am going to share a new Arduino Nano Library for Proteus. Arduino Nano is also a microcontroller board just like Arduino UNO but the advantage of Arduino Nano over Arduino UNO is its small size.

Arduino Nano is quite small in size and hence can be used in such projects where we need to use smaller PCBs. For example, I once worked on a project in which I needed to design a test cricket bat.

In that project, I used IMU along with Arduino Nano and placed the complete kit over the bat. As I need to place the electronic kit over the bat so it has to be quite small, that's why I have used Arduino Nano instead of Arduino UNO board. So, now I hope you got the idea of where to use Arduino Nano instead of Arduino UNO.

Now, coming to Proteus software, in Proteus we don't have the default board for Arduino Nano so that's why I have designed this Arduino Nano Library for Proteus, using which you can quite easily use the Arduino Nano board in Proteus and can test your code quite easily. I have already posted the Arduino UNO Library for Proteus and have also posted the Arduino Mega 2560 Library for Proteus. So, today I am posting the third Arduino Library for Proteus. Hope you are going to like it as well.

In the next tutorials, I will share more Arduino Libraries for Proteus. I am working on Arduino Mini and Arduino Pro Mini as well. So, I will post their libraries too once I get them completed. I am also planning on designing the Sim900D Library for Proteus but till now I haven't started it. I am planning to post a complete Arduino Library at the end in which you just need to install one library and all the Arduino boards will come in Proteus. Anyways, let's get started with the Arduino Nano Library for Proteus.

Note: I have added all the Arduino boards in a single library. This library contains six Arduino boards which are Arduino UNO, Arduino Mega 2560, Arduino Mega 1280, Arduino Nano, Arduino Mini and Arduino Pro Mini. You can download this complete Arduino Library by checking the Arduino Library for Proteus.

Arduino Nano Library for Proteus

  • First of all, download Arduino Nano Library for Proteus files, by clicking the below button:
Arduino Nano Library for Proteus
  • After clicking this button, you will get a zip file containing two files named as ArduinoNanoTEP.LIB and ArduinoNanoTEP.IDX, so extract these two files and place these files in the Library folder of your Proteus software.
Note:
  • After placing these files in the Library folder of your Proteus software then open your Proteus software.
  • In Proteus software search for Arduino Nano and place it in your workspace.
  • The Arduino Nano board in Proteus will look like something as shown in below figure:
  • It has the same ATMEGA328 Microcontroller as in Arduino UNO and has almost the same pins.
  • So, now next thing we need to check is the hex file. So in order to upload the hex file in Arduino Nano, simply double-click it to open the Properties panel and it will look like something as shown in the below figure:
  • Now, you can upload the hex file by clicking the browse button in the Program File Section.
  • The crystal oscillator we are using here is 16MHz which is the default for Arduino boards.
  • You should also read How to get hex File from Arduino so that you can get the hex file easily.
  • So, now let's design a simple LED blinking circuit with this Arduino Nano board to test it.
  • Design a simple circuit as shown in below figure:
  • So, now simply use the blink example from the Arduino software and compile it to get the hex file.
  • Upload this hex file in the PROGRAM FILE section and hit the RUN button.
  • If everything goes fine then you will get the results as shown in the below figure:
  • So, now that's how you can simulate Arduino Nano in Proteus quite easily using Arduino Nano Library for Proteus.

That's all for today. In the coming post, I will share the Arduino Mini and Arduino Pro Mini Library for Proteus. You should also have a look at these Arduino Projects for Beginners. So stay tuned and have fun!!! :)

Arduino Mega 2560 Library for Proteus

Update: We have created a new version of this library, which you can check here: Arduino Mega 2560 Library for Proteus V2.0.

Hello friends, hope you all are fine. In today's post, I am going to share Arduino Mega 2560 Library for Proteus. In the previous post, I have shared the Arduino UNO Library for Proteus and I have mentioned that I am gonna share more Arduino Libraries soon. Actually these days I am quite excited about this Proteus component designing and I am designing the Arduino boards as a starter. So, till now I have designed two Arduino boards in Proteus. First one was Arduino UNO which I have provided for download in previous post and today, I am going to share Arduino Mega 2560 Library for Proteus.

In the coming posts, I am gonna share more exciting libraries for Proteus as I have already started designing the Arduino Nano board in Proteus, which will be the talk of our next tutorial hopefully. We all know about Arduino Mega 2560 board which is quite bigger version of Arduino UNO board and uses Atmega2560 Microcontroller. In the below post, I have first given the link to download Arduino Mega Library and afterwards I have explained How to use Arduino Mega board in Proteus by designing a simple blinking LED circuit as we did for Arduino UNO simulation in Proteus. So, let's get started with it.

I have added all the Arduino boards in a single library. This library contains six Arduino boards which are Arduino UNO, Arduino Mega 2560, Arduino Mega 1280, Arduino Nano, Arduino Mini and Arduino Pro Mini. You can download this complete Arduino Library by checking Arduino Library for Proteus.

Arduino Mega 2560 Library for Proteus

  • First of all, click the below button to download the Arduino Mega 2560 Library for Proteus.
Arduino Mega 2560 Library for Proteus

  • Now download this library and you will find a zip file.
  • Extract this zip file, it will contain two files named as ArduinoUnoTEP.LIB and ArduinoUnoTEP.IDX.
  • Place these files in the library folder of your Proteus software.
Note:
  • Now we have placed our Arduino Mega 2560 library for Proteus files in the libraries folder of Proteus software. So, now run your Proteus software and search Arduino Mega 2560.
  • Place this Arduino board in your workspace and it will look like something as shown in below figure:
  • It has become quite big but looking quite attractive and I am feeling kind of proud on my new invention. :)
  • Anyways, now next thing we need to do is to upload the hex file in it.
  • So, in order to do so, we need to double click the Arduino Mega 2560 board and its properties panel will poop up as shown in below figure:
  • Now browse for your hex file in the section PROGRAM FILE or paste the link as we did in previous Arduino UNO post.
  • You should read How to get Hex File from Arduino if you don't know already.
  • You can also change different options here but my suggestion is to not change anything else if you are not pro.
  • So, now we have seen How to get the Arduino Mega 2560 library for Proteus. Now let's design a simple example in which we will show led blinking with Arduino Mega 256 in Proteus software.
  • So, design a simple circuit as shown in below figure:
  • Now open the blink example from your Arduino software and get the hex file.
  • Upload this hex file in your Proteus software and run the simulation.
  • If everything goes fine then you will get something as shown in below figure:
  • Quite Simple. isn't it. Now below is given the video demonstration for Arduino Mega 2560 Library for Proteus.
So, that's all for today. Till now we have designed two Arduino boards in Proteus which are Arduino UNO and Arduino Mega 2560. I am planning on designing more Arduino boards and will post them soon.

Arduino UNO Library for Proteus

Update: Here are the latest versions of this library: Arduino Library for Proteus(V3.0) and Arduino UNO Library for Proteus(V2.0).


]Hello friends, hope you all are fine. In today's post, I am going to share the Arduino UNO Library for Proteus. I designed this library by myself in Proteus, it was quite difficult and literally, it took me weeks to figure out How to add functionality of a new component in Proteus. First, I used Proteus VSM but it was quite difficult so I left it and finally, I used Microsoft Visual Studio C++ Language to design this Arduino library for Proteus.

I am not going to discuss How I designed this library because it's quite a lengthy process and I will discuss it some other time. Today, I will provide the Arduino UNO library for Proteus to download, so that you can use it easily in Proteus and can simulate your circuits easily. I am really excited about it as it's my first Proteus library and I am going to design more in the near future. Till now I have just designed an Arduino UNO board in Proteus. Soon, I will share libraries for other Arduino boards as well.

In today's post, I will first share the Arduino UNO library for Proteus and will explain how to use it. After that, we will also have a look at a simple blinking example so that you get a complete overview of this Arduino UNO library for Proteus. So, let's get started with it.

I have added all the Arduino boards in a single library. This library contains six Arduino boards which are Arduino UNO, Arduino Mega 2560, Arduino Mega 1280, Arduino Nano, Arduino Mini and Arduino Pro Mini. You can download this complete Arduino Library by checking Arduino Library for Proteus.

Arduino UNO Library for Proteus

  • First of all, download the Arduino UNO library for Proteus by clicking the below button.
Arduino UNO Library for Proteus
  • In this downloaded zip file you will find two files, named as:
    • ArduinoUnoTEP.dll
    • ArduinoUnoTEP.idx.
  • Now extract these two files and place it in the libraries folder of your Proteus Software.
Note:
  • Now, open your Proteus software and search for Arduino as shown in below figure:
  • Now select this Arduino board and click OK.
  • Now place this Arduino UNO board in your Proteus workspace and it will look as shown in below figure:
  • This is our new Arduino UNO board designed in Proteus. I could have used the typical blue color of Arduino UNO but I thought to use this color instead of dark blue to give it a new touch :) Btw its the color of Arduino Software.
  • So, now we have our Arduino UNO board in Proteus. Now double click this board in order to open its Properties.
  • When you double-click it, the below window will pop up.


  • Now here you can set different properties of Arduino UNO board.
  • The main property is the Program File. You need to upload the hex file of your Arduino code in this location.
  • If you don't know how to get the hex file then read How to get hex file from Arduino software in which I have explained in detail.
  • So, once you have the hex file of your code then upload it here and click OK.
  • You can also set the clock frequency of your Arduino board which by default is 16MHz.
  • The URL shows the address of our website so don't change it. :P
  • Anyways, that's how you can use Arduino UNO board in Proteus software.
  • Now let's design a simple LED blinking project with this new Arduino UNO board in Proteus. You should also have a look at these Arduino Projects for Beginners.
  • So, design a circuit as shown in below figure:

  • Now open the Blink example from your Arduino software and get its hex file.
  • Upload this hex file in your Arduino board and hit the RUN button.
  • If everything goes fine then you will get the results as shown in below figure:
  • So, that's all,now when you are doing your project, what you need to do is to first of all create your design in Proteus, after that design your Arduino code and get the hex file, upload that hex file in your Arduino board in Proteus and run your simulation.
  • Below is given the video tutorial for this post in which I have explained visually how to download and use Arduino UNO library for proteus.

So, that's all for today, feel free to let us know about your experience with our Arduino UNO library for Proteus. If you have any suggestions and comments then do let us know so that we can enhance its capabilities. I will keep on updating this library for example, I haven't yet added the PCB deign in this board but will add it soon and will update it. So, stay tuned and have fun !!! :)

Ultrasonic Sensor Library for Proteus

Hello friends, hope you all are fine and having good health. In today's post, I am going to share an Ultrasonic Sensor Library for Proteus. A few days ago, I posted a tutorial on Arduino Library for Proteus, and today I am going to share the new Ultrasonic Sensor Library for Proteus. Using this library, you can easily interface Ultrasonic Sensors with different Microcontrollers like Arduino, PIC Microcontroller etc.

First of all, let's have a brief introduction to ultrasonic sensor. In an ultrasonic sensor, there are two nodes available, one is the transmitter while the other is the receiver. The transmitter sends an ultrasonic wave and this wave strikes any hindrance present in front of it and then bounces back. This bounced ultrasonic sensor is then captured by the receiver and on the basis of the time taken by this wave to return, the sensor calculates the distance of that obstacle from that sensor.

The Ultrasonic sensor is usually used for detecting the obstacle in the path and also to find the distance between the sensor and the obstacle. The ultrasonic sensor normally used is HC-SR04, which we have designed in this library. Let's get started with Ultrasonic Sensor Library for Proteus, in this library we have used an extra pin on the ultrasonic sensor, which is an analog pin. The voltage on that pin is used to detect how close an object is because it's a simulation and we can't place an actual object in front of the simulated sensor. Moreover, you should also have a look at this Home automation Project using XBee & Arduino, I have used this ultrasonic sensor in that project.

I hope you are going to enjoy this library. This library is designed by our team after a lot of effort, if you have any feedback to improve, please let us know. So, let's get started with Ultrasonic Sensor Library for Proteus and its interfacing with Arduino.

Note:

Ultrasonic Sensor Library For Proteus

  • First of all download this Ultrasonic Sensor Library for Proteus, by clicking on the below button.
Ultrasonic Sensor Library for Proteus
  • In this ultrasonic sensor library for Proteus, you will find three files which are:
    • UltrasonicTEP.IDX
    • UltrasonicTEP.LIB
    • UltrasonicTEP.HEX
  • Now, place these three files in the library folder of your Proteus software.

Note:

  • Now start your Proteus software and in the components list, search for the Ultrasonic sensor and place it in your workspace as shown in the below figure:
  • Now we have our ultrasonic sensor in Proteus but if you run it then it won't work as we haven't yet added any functionality in it.
  • So, in order to add the functionality double click this ultrasonic sensor and open its properties.
  • In properties, select the Program File section and browse to UltrasonicTEP.HEX file and upload it as shown in below figure:
  • Now our ultrasonic sensor is ready to be used.
  • Now let's make a simple example for an ultrasonic sensor, so that you get an idea of how to use it in Proteus.

Ultrasonic Simulation in Proteus

  • After adding the Ultrasonic Sensor Library for Proteus, open your Proteus ISIS software or restart it, if it's already open.
  • Now search for the below components in the Proteus Components Library and add them in your workspace as shown in the below figure.
Components Used
Here's the list of components, which I have used for designing this Proteus Simulation:
Proteus Simulation
  • After adding these components, now design a simulation as shown in the below figure:
  • Now in this example, I am receiving data from Ultrasonic Sensor and then printing this data over Virtual Terminal in Proteus, if you are not much familiar with Virtual Terminal, then read How to use Virtual Terminal in Proteus ISIS.
  • Now open your Arduino software and paste the below code in it and compile it to get the hex file, read Arduino Library for Proteus to know how to get the Arduino Simulation in Proteus.
  • You must also read How to get the hex file from Arduino Software.
const int pingPin = 7; // Trigger Pin of Ultrasonic Sensor
const int echoPin = 6; // Echo Pin of Ultrasonic Sensor

void setup()
{
Serial.begin(9600); // Starting Serial Terminal
}

void loop()
{
long duration, inches, cm;
pinMode(pingPin, OUTPUT);
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(10);
digitalWrite(pingPin, LOW);

pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
inches = microsecondsToInches(duration);
cm = microsecondsToCentimeters(duration);

Serial.print(inches);
Serial.print("in, ");
Serial.print(cm);
Serial.print("cm");
Serial.println();

delay(100);
}

long microsecondsToInches(long microseconds)
{
return microseconds / 74 / 2;
}

long microsecondsToCentimeters(long microseconds)
{
return microseconds / 29 / 2;
}
  • It's quite a simple code and is self-explanatory, if you still got some trouble then ask in the comments and I will reply to them. I have simply used the ping example in Arduino Examples and slightly modified it.
  • After getting the hex file, now upload it to Arduino in Proteus by clicking the properties.
  • Click on the Start button and if everything's gone fine then you will see an output as shown in the below figure:
  • As you can see in the above figure, the virtual terminal is showing distance values, now this value depends on the variable resistance attached to the ultrasonic sensor.
  • As you change the value of the variable resistance, the voltage on that particular pin will also change and on the basis of that, you will get the distance in inches and centimeters on the virtual terminal.
  • Arduino code and hex file along with the Proteus Simulation for this ultrasonic example are attached below. You can download it by clicking on the below button but I would suggest you to design it on your own, it will help you in learning.
  • You should also have a look at these Arduino Projects for Beginners.
Download Code and Proteus Simulation

That's all for today, in the coming post I am gonna share some more examples of how to use ultrasonic sensor in Proteus. Till then take care and have fun.

Arduino Lilypad Simulation in Proteus

Yesterday, I have posted a new Arduino Lilypad / Nano Library for Proteus in which we have seen how to add that library into Proteus so that you could be able to use these boards in Proteus. That was quite easy. Today I am gonna post a small project in which we will see how to use that library and produce an Arduino Lilypad simulation in Proteus. In this Arduino Lilypad simulation in Proteus, I am gonna use obviously he Arduino Lilypad board along with few LED lightsand will make them blink. Its also quite easy and you can also download the simulation and the hex file at the end of this project but I would suggest you to do it yourself so that you learn something out of it.

Before starting this project, you must have first integrated the Arduino Lilypad Library as without it you wont be abe to do this project. So, if you haven't downloaded it yet then you should read the previous post Arduino Lilypad / Nano Library for Proteus first. Lets get started with this project.

Arduino Lilypad Simulation in Proteus

  • Now I assue that you have already downloaded the Arduino Lilypad Library for Proteus and are ready to use it within Proteus.
  • So open Proteus ISIS and get these components from the Proteus components library as shown in below figure:

  • After getting these components, draw a circuit in Proteus as shown in the below figure:
  • You can clearly see in the above figure, the Arduino Lilypad Simulation in Proteus. After that you need to write a code for Arduino Lilypad so that you could get the hex file for it.
  • In this project, I have used three LED lights and make them ON and OFF using the switch button. If the button is not pressed then the LEDs will remain ON and when you hit the button , the LEDs will go OFF.
  • Copy the below code and paste it into the Arduino software and compile.
int analogPin = A0;
int ledCount = 3;

int ledPins[] = {
2, 3, 4};

void setup() {
// loop over the pin array and set them all to output:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
pinMode(ledPins[thisLed], OUTPUT);
}
}

void loop() {
// read the potentiometer:
int sensorReading = analogRead(analogPin);
// map the result to a range from 0 to the number of LEDs:
int ledLevel = map(sensorReading, 0, 1023, 0, ledCount);

// loop over the LED array:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
// if the array element's index is less than ledLevel,
// turn the pin for this element on:
if (thisLed < ledLevel) {
digitalWrite(ledPins[thisLed], HIGH);
}
// turn off all pins higher than the ledLevel:
else {
digitalWrite(ledPins[thisLed], LOW);
}
}
}
  • After compiling this code, get the hex file of code. The hex file and this simulation file is also given at the end of this post so you can download it from there.
  • Now upload this hex file into this Arduino Lilypad and hit the RUN button
Note:
  • If everything's goes fine then as youhit the run button, the LEDs will get ON as shown in the below figure:
  • Now, when you press the button, these LEDs will go OFF as shown in the below figure:
  • That's all, you have successfully implemented the Arduino Lilypad simulation in Proteus. :)
  • In order to download this simulation and the hex file, click on the below buttons.

Download Proteus Simulation

Arduino Lilypad Library for Proteus

Hello friends, few day ago I have posted a tutorial on how to do Arduino Simulation in Proteus. In that post, we have used an Arduino Library for Proteus but as this library is in its initial phases that's why currently it supports only three basic Arduino boards which are Arduino UNO, Arduino Mega2560 and Arduino Mega1280. But as we know there are numerous Arduino boards which are used these days. So, I searched a little and I came across this amazing Arduino Lilypad Library for Proteus which has the support for few other arduino boards, so I thought to share it with you guys. I have tested this library myself as always and its 100% working. I have tested it on Proteus 7 and I think it will work fine on Proteus 8 as well. As we have the support for above three boards in the previous library so the two new boards here are Arduino Lilypad and Arduino Nano, both of them are quite used these days. I have explained it in detail, step by step below, if you still feel problem in any step then ask in comments.This library has the support for following boards:

  • Arduino UNO
  • Arduino UNO SMD
  • Arduino Mega
  • Arduino Nano
  • Arduino Lilypad
Note:
  • This library isn't designed by our team so all credit goes to its creator, who is blogembarcado. Hats off dude !!!
  • We are just spreading the knowledge so that more and more engineers could get benefit out of it.
  • I have also posted Ultrasonic Sensor Library for Proteus, which you can download, using this library you can simulate Ultrasonic Sensor in Proteus, moreover you can also download different examples on Ultrasonic Sensor Simulation in Proteus to get a complete grip on this sensor.

Arduino Lilypad Library for Proteus

  • First of all, download this new Arduino Lilypad Library for Proteus by clicking on the button below:
Arduino Lilypad Library for Proteus
  • Once you downloaded the rar file, extract the file named as "BLOGEMBARCADO.LIB".
  • Now place this file in the library folder of Proteus, which, in my case, is "C:\Program Files (x86)\Labcenter Electronics\Proteus 7 Professional\LIBRARY". I hope it will give you the idea where to place the file.
  • After placing the file in this folder, now open the Proteus ISIS and click on the component selection button.
  • In the search box write "Arduino" and the list of all the arduino boards will be shown immediately as shown in the below figure:
  • You can see all the five boards in the above figure and you can select any of them.There's also another components in the list which is ultrasonic sensor. Yes, this library also supports ultrasonic sensor but I haven't tested it yet that's why didn't mentioned it, I will test this sensor soon and then will also explain its working.
  • Now you can select any of these boards and can start working on them rite away. All the five boards are shown in the below figure:
  • The two new Arduino boards in this library are shown below:
  • So, now simply design your circuit and write the code in the Arduino ide. After writing the code, get the hex file from arduino software and upload it to these boards.
Note:
  • In order to upload the hex file simply double click it and the properties window will pop up. In the Properties window, there will be an option named Program File. In this Program File, browse for the hex file and upload it.
  • Now run your Proteus simulation and it will work like charm.
  • I will post few projects on these boards soon as soon as I get time to write them, so stay tuned and have fun.
  • I have posted a small project on how to use Arduino Lilypad in Proteus which you can read and download from Arduino Lilypad Simulation in Proteus.
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir