PIR Sensor Library for Proteus
Update: Here are the latest versions of this library: PIR Sensor Library for Proteus V3.0 and PIR Sensor Library for Proteus V2.0.
Hello friends, hope you are doing well. Today, I will share a new PIR Sensor Library for Proteus. PIR Sensor module is not available in Proteus so we can't use it in
our simulations. But today, I will share a new PIR Sensor Library
for Proteus which can easily simulate PIR Sensor in Proteus software.
We are quite happy that we are helping engineers by sharing these new Proteus Libraries.
We all know about PIR Sensor but if you don't know then first read Interfacing of PIR Sensor with Arduino.
As a quick review, a PIR sensor is used to detect motion in the environment and is commonly known as a motion sensor. It's quite helpful in security projects where you need to detect motion. For example in some bank vault where there's no possibility of motion, you can place this sensor and can check if there's any movement. It is also used in home automation i.e. if there's no movement in some room, turn off its appliances. So, in short, the PIR sensor has numerous uses and is used quite a lot in engineering projects.
First of all, I will show you today, How to download this PIR Sensor Library for Proteus and then we will also design a small simulation in Proteus in which I will interface this PIR Sensor with Arduino UNO. You can interface it with any microcontroller i.e. PIC Microcontroller or 8051 Microcontroller. But today, I will interface it with an Arduino microcontroller. As homework, you guys interface it with a PIC Microcontroller or 8051 Microcontroller and share it in comments, it may help others. So, let's get started with the PIR Sensor Library for Proteus:
PIR Sensor Library for Proteus
- First of all, click on the below button to download the PIR Sensor Library for Proteus:
PIR Sensor Library for Proteus
- Once you download it, you will get three files in it, named:
- PIRSensorTEP.LIB
- PIRSensorTEP.IDX
- PIRSensorTEP.HEX
- Place all these three files in the library folder of your Proteus software.
Note:
- Now open your Proteus software and search for PIR Sensor, you will get a total of four models in it.
- Place these models in your Proteus workspace and it will look something as shown in the below figure:
- I have added four models of this PIR Sensor in Proteus Library and you can use any of them.
- As working is concerned they are all the same but they differ in color.
- The first color is our normal color, which I always use for my Proteus Libraries while the second one is green, the third is pinkish and the fourth one is blue.
- This PIR Sensor has a total of four Pins, among which one is Vcc so you need to give +5V at this pin, then there's GND which you need to ground.
- The OUT pin is our main pin through which we will be getting our output like whether it detects the motion or not.
- Now, obviously, we can't detect real motion in Proteus Simulation that's why I have placed a TestPin which will be working as a simulation Pin.
- If TestPin is HIGH, it means the motion is detected and if it's LOW then it means the motion is not detected.
- Now we have our module in Proteus so one last thing we need to do is add its functionality.
- So, in order to do so, double-click this PIR sensor and in the Program File section give a path to the file PIRSensorTEP.HEX, which you have placed in the library folder of your Proteus software as shown in the below figure:
- Now click OK and your PIR Sensor is ready to be used in the Proteus Simulation.
- So, now let's design a simple example for this PIR Sensor which will help you in understanding this sensor.
PIR Sensor simulation in Proteus
- Design a simple circuit in Proteus software as shown in the below figure:
- Now you can see in the above figure that I have placed a PIR Sensor along with Arduino UNO and a Virtual terminal.
- PIR Sensor is connected to Pin # 2 of Arduino UNO.
- Now upload the below code in Arduino software and get the hex file. You should read How to get Hex File from Arduino, if you don't know already.
#define pirPin 2
int calibrationTime = 30;
long unsigned int lowIn;
long unsigned int pause = 5000;
boolean lockLow = true;
boolean takeLowTime;
int PIRValue = 0;
void setup()
{
Serial.begin(9600);
pinMode(pirPin, INPUT);
}
void loop()
{
PIRSensor();
}
void PIRSensor()
{
if(digitalRead(pirPin) == HIGH)
{
if(lockLow)
{
PIRValue = 1;
lockLow = false;
Serial.println("Motion detected.");
delay(50);
}
takeLowTime = true;
}
if(digitalRead(pirPin) == LOW)
{
if(takeLowTime){lowIn = millis();takeLowTime = false;}
if(!lockLow && millis() - lowIn > pause)
{
PIRValue = 0;
lockLow = true;
Serial.println("Motion ended.");
delay(50);
}
}
}
- Now run your simulation, and click the logic button to 1, which will indicate that motion is detected and you will get something as shown in the below figure:
- Now let's make the logic state to 0, which will indicate that no motion detected, as shown in below figure:
- So that's how our PIR Sensor is gonna work in Proteus. I hope you are going to like this PIR Sensor Library for Proteus.
- You can download the simulation by clicking on the below button:
Download PIR Proteus Simulation
- Here's a YouTube video where I have explained this PIR Sensor Library for Proteus in more detail, so check it out:
That's all for today, hope you have enjoyed it and gonna use it in your projects. If you get into any trouble, ask in the comments and I will try to resolve them as soon as possible. Take care !!! :)
XBee Library for Proteus
Hello everyone, today I am going to share a new XBee Library for Proteus. I am quite excited while sharing it as we are the first developer for this XBee Library. Now you can quite easily use XBee module in your Proteus software using this XBee Library for Proteus.Wehave spent quite a lot of time in developing this and that's the reason I couldn't share new tutorials in the past few days. Anyways we are done with this new exciting XBee Library for Proteus, hope you are gonna enjoy this one. I have already sharede two libraried for Proteus which are Arduino Library for Proteus and GPS Library for Proteus. You can also interface this XBee module with Microcontrollers like Arduino, PIC Microcontroller and 8051 Microcontroller quite easily.
As its the first version of our XBee Library for Proteus so its not quite perfect and can't do the complex tasks such as analog inputs etc. It will just do the serial communication. This xbee module has two pins TX and RX and you can do your communication with it quite easily. We have designed this XBee Library for Proteus, after quite a lot of effort and we are quite proud that we are presenting it first time for Proteus. Other bloggers are welcome to share this library on their blogs to share the knowledge but do mention our blog post link in your post. :) You should also have a look at XBee Arduino Interfacing. So, let's get started with it.
XBee Library for Proteus
- First of all, download this XBee Library for Proteus by clicking on the below button:
XBee Library for Proteus
- Now once you click it you will get a zip file to download so download this zip and open it.
- In this zip file you will get two files named as:
- So, now place these two files in the libraries folder of your Proteus software.
Note:
- Now, start your Proteus ISIS software or restart it if its already running.
- Go to your components library and search for XBee Module as shown in below figure:
- Now place it in your workspace and it will look something as shown in below figure:
- If you don't know much about xbee module then you should also have a look at Introduction to XBee Module.
- As you can see in the above figure, its our xbee module in Proteus for the first time.
- As, I mentioned earlier, its a first version of xbee module so its not very advanced and it will do just the basic serial communication i.e. sending and receiving data.
- It has two pins on it which are TX and RX and using these two pins you can send and receive data quite easily.
- So, let's design a simple example and we will see How to do the Serial communication using this new XBee library for Proteus.
- Design a simple circuit as shown in below figure:
- Now what I did is, I simply place a Virtual terminal with both of these xbee modules.
- Now we need to change the Properties of one of these XBee module so double click on any one of these and you will get the below window:
- You should also have a look at Interfacing of XBee with Computer.
- Now, I have simply changed the Physical Port of this module to COM2 while the other module is at COM1.
- So, now one of my XBee module is at COM1 while the second module is at COM2.
- Now when I run my simulation then both XBee will start sending and receiving data on their respective COM Ports.
- So, what I need to do is to virtually combine these two ports and for that I have used a software named as Virtual Software Driver from Eltima and I combine these two ports.
- Now, run your simulation and whatever you type in the Virtual Terminal of first xbee will appear in the virtual terminal of second xbee. as shown in below figure:
- You can also interface this XBee modue with other microcontrollers like Arduino, PIC Microcontrollers or 8051 Microcontrollers etc.
- I have explained this whole tutorial in below video as well.
I hope you have enjoyed it and are gonna like it. Let me know if you got into any trouble and have problems in using this library. Also share your suggestions about improvement in this
XBee Library for Proteus. :)
GPS Library for Proteus
Hello friends, hope you all are fine and having fun with your lives. In today's tutorial, I am gonna share another awesome library designed by our team for Proteus, which is GPS Library for Proteus. It's my second library for Proteus, the first one was Arduino Library for Proteus which I have already shared. I am really enjoying designing these modules in Proteus because its a new and quite challenging thing. I haven't found even a single website who has designed these modules in Proteus already. So, now for the first time, you can have the GPS Library for Proteus using which you can easily simulate your GPS module in Proteus and can design your code for Arduino, PIC Microcontroller or 8051 Microcontroller.
Other bloggers are welcome to share this library and its my humble request that do mention our blog in credits. :) The GPS module, I have designed for Proteus is a simple GPS which has TX and RX pins and when you start the simulation, this module starts sending the NMEA data on its TX pin, which you can easily check using Virtual Terminal. I am gonna show you how to check it in today's post. Another important thing, obviously in Proteus Simulation we can't get the actual values of longitude,latitude etc, so in our model, I have used the dummy values for all these data. The benefit of this module is that you can easily design your code for GPS and can test it in your simulation. Plus, its design is cool as well. ;)
Note:
GPS Library for Proteus
- First of all, click on the below button and download GPS Library for Proteus.
GPS Library for Proteus
- After downloading, you will get a zip file containing three files in it.
- Now extract all these three files named as:
- GpsTEP.LIB
- GpsTEP.IDX
- GpsTEP.HEX
- Place these files in Libraries folder of your Proteus software.
Note:
- Now open your Proteus software, if you have already opened it then restart your Proteus software.
- Now in components list search for GPS Module and place it in your workspace.
- If everything's fine then you will get your module as shown in below figure:
- As you can see in the above figure, it has two pins in total which are TX and RX.
- Now double click this GPS module and you will get to its properties as shown in below figure:
- Now, one last thing you need to do is to upload the GpsTEP.HEX file, which you got in the downloaded zip file, in the Program File section.
- This GpsTEP.HEX file is essential for this model as its adding the functionality of GPS in this model.
- So, after adding the link of GpsTEP.HEX file in the Program File section, now your Gps module is ready to use in your circuit.
- So, now let's add a Virtual terminal and check the output of this GPS Module. If you haven't worked on Virtual Terminal before then you should read How to use Virtual Terminal in Proteus ISIS.
- Design a small circuit as shown in below figure:
Note:
- The baud rate of this GPS Module is 9600.
- The data sent by this GPS module is dummy as we can't get these values in simulation.
- Now let's run the simulation and check the Virtual Terminal and if everything goes fine then you will get results as shown in below figure:
- The first line is just the intro for this module and after that you will start receiving data which is in NMEA format.
- NMEA data will remain constant but will keep on coming.
- Now, instead of using this Virtual Terminal, you can use any microcontroller here like Arduino, PIC Microcontroller or 8051 Microcontroller etc. and can write your code easily and test it.
- In my coming tutorials, I am gonna share examples for this GPS module in which I will interface it with different Microcontroller.
- In the below video, I have explained this tutorial again so if you got any trouble then watch it as well.
That's all for today. You should also have a look at
Interfacing of GPS Module with Arduino in Proteus ISIS. I hope you guys have enjoyed today's post and are gonna get benefit from it. Let me know your views about today's tutorial and also give your suggestions and help us in making this GPS Library for Proteus more smarter. :)
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 !!! :)
Design a Buzzer in Proteus ISIS
Hello friends, hope you all are having fun and enjoying life. Today's post is quite a simple one and is about designing of circuit diagram of buzzer in Proteus ISIS. Buzzer is quite a common electrical component which is used in almost every Embedded Systems project. For example, you have seen a simple UPS, it gives a beep each time the light goes off or it has depleted its battery. Buzzer is normally used for given some indication and normally this indication is kind of a warning.
Proteus has a builtin component for buzzer and its an animated component means it gives a sound (beep) when its turned ON. So, I am gonna use that one and will give you an actual beep on it. So, it won't be much difficult and quite a simple procedure. In this post, I am not gonna interface it with any Microcontroller i.e. Arduino or PIC Microcontroller but if you want then you can quite easily control it using any of them. You simply need to give pulse to it and you can control it. If I get time then I will post the control of buzzer with Arduino. So, let's start with it.
Design a Buzzer in Proteus ISIS
- First of all, get components from the Proteus library as shown in below figure:
- Now after selecting these components, design a circuit diagram in Proteus as shown in below figure:
- In the above circuit, I have used an optocoupler PC817 in order to control the buzzer.
- The optocoupler is controlled by a simple logic operator, now when you change the logic operator from 1 to 0 the buzzer will turn on.
Note:
- Optocoupler is working here on inverse logic i.e. when we send 1 then its OFF and when we send 0 then its ON.
- If you are designing it on hardware then you can use PC817 Optocoupler.
- So now if everything's fine then simply run the simulation and then click on the logic operator and you will get the below results:
- You can see in the above figure, there are two states.
- In the Buzzer ON state LED is OFF but the buzzer will be ON and you will hear a beep like sound, which obviously can't be heard here in the image. :)
- While in the OFF state LED is ON but the buzzer will be OFF and you wont hear anything.
That's quite a simple tutorial and quite easy to understand but still if you have any problem, then ask in comments. Till next tutorial, take care and have fun.
How to use Capacitive Touch Sensor in Proteus ISIS ?
Hello friends, I hope you all are fine and enjoying. Today i am going to share my new project's tutorial which is How to use Capacitive Touch Sensor in Proteus ISIS. It is a very interesting project, and we will be using a 555 Timer while designing this project. If you recall our previous project tutorial which was Angle Control of Servo Motor using 555 Timer in Proteus ISIS, in which 555 timer was generating PWM and was controlling the rotating angle of servo motor.
Now in this project, we have a little different context and now we will be using a 555 Timer in collaboration with Capacitive Touch Sensor. First of all, lets have a little introduction of Capacitive Touch Sensor. Well, if we talk broadly then, in Electrical Engineering Capacitive Touch Sensing is a Technology used in Capacitive Coupling. Capacitive Coupling is a technology which takes Human Body's Capacitance as an input and it measures anything which has a potential difference or which is conductive or any static object which has a dielectric difference from that of air. While designing this technology, one side of the insulator is coated with the conductive material and a very small voltage is applied to this conductive layer. Now after applying the voltages to the conductive layer, a uniform electrostatic field is formed. After that if any conductor (suppose human finger) will come within the vicinity of this field or it touches the other non coated layer of the insulating material then a capacitor will be dynamically formed and if potential difference between both bodies is HIGH then the current will start to flow. That was a little introduction of Capacitive Touch Sensor, and now lets be practical and move towards the Hardware of the Above described tutorial.
You can download the complete simulation of above described project by simply clicking on the button given below:
Download Simulation Files
How to use Capacitive Touch Sensor in Proteus
- In this project, we are using 555 Timer in collaboration with Capacitive Touch Sensor. A 555 timer is an 8 pin IC. Pin # 6 is called threshold pin and for 555 timer threshold level is 5 volts.
- So, 555 timer will trigger above 5 volts and it will generate output which can be collected from pin # 3 represented as ‘Q’ which is output pin of 555 timer.
- While moving toward the simulation of project, first of all place all the components in the proteus workspace, as shown in the image given below:
- First of all we have place Capacitive Touch Sensor and after that we have placed a NPN transistor, then 555 Timer will come and at the output of 555 Timer we have added a LED. The complete circuit diagram ready for simulation is shown in the image given below:
- As long as the finger is out of the vicinity of the electrostatic field, no potential difference occurs and the LED remains in the OFF state.
- Now if we move the finger towards Capacitive Touch Sensor, then and when the potential difference reaches up to 0.6 volts, then 555 triggers and it generates output voltages across LED which are 5 volts but in some cases voltages are lost due to series connected resistances. This phenomenon is shown in below image:
- Now if we further move the finger and take it completely near the sensor, then at this point max potential difference will occur between both point (finger and conductive layer). An important thing to note here is that, we have change the location of our interrupt ( finger) but, same voltages are appearing across LED which are 4.91 volts in this case. It can also seen in the figure given below:
- Now, if we summarize the whole project, then we have seen that the movement of finger is in fact controlling our output. When the finger was out of vicinity of the sensor, then LED was OFF. When we moved the finger in forward direction and came in the vicinity of Electrostatic field, then Sensor gives signal to 555 Timer and Timer makes LED to glow.
- Here's a video demonstrating Capacitive Touch Sensor in Proteus ISIS.
Applications Of Capacitive Touch Sensor
Capacitive sensing touchscreens are now a days commonly used in Digital Audio Players, Mobile Phones and Tablet Computers. Capacitive touch sensors also have the ability to replace Mechanical Buttons. Back in 1928 Russians invented a music instrument known as "Theremin" , in which The Instrument Player was able to control the volume and pitch of the sound without physically touching the instrument. Capacitive Touch Sensors are of basic level but they are back bone of large industrial projects and are widely used in designing some other sensors like:
- Position sensor.
- Humidity sensor.
- Fluid or Water level sensor.
- Proximity sensor etc..
Alright friends, that’s all for today, I hope I have conveyed some knowledge and helped you people in some way. If you have some queries, then ask in comments. Subscribe us via email to get these tutorials straight in your inbox. Till next tutorial, take care and be safe !!! :)