Hello friends, first of all I wanna give a good news to all the readers that I have added a Google search engine in TEP, which was missing for quite a long time. I was receiving a lot of complaints regarding this issue that we are unable to search the topic in the blog so now you can quite easily search any topic in the blog using this search engine which is on the top right corner. Write any topic you wanna search and hit button and your search result will show up just above the blog posts. Must give your feedback and suggestions about this newly added feature. Hope it provide a comfort to many readers.
Let's come to today's topic, as the name suggests, today I will show you how to use a virtual terminal in Proteus and what is its use.Below are the parts in which I have divided the complete tutorial:
- Getting Started With Proteus ( Part 1 )
- Knowing About Components Available in Proteus ISIS ( Part 3 )
- How To Use Virtual Terminal in Proteus ISIS ( Part 3 - a )
- How To Use Oscilloscope in Proteus ISIS ( Part 3 - b )
- DC Motor Drive Circuit in Proteus ISIS ( Part 3 - c )
- Stepper Motor Drive Circuit in Proteus ISIS ( Part 3 - d )
- Servo Motor Drive Circuit in Proteus ISIS ( Part 3 - e )
- How to use Serial Registers in Proteus ISIS ( Part 3 - f )
- Component Designing in Proteus ISIS ( Part 4 )
- PCB Designing in Proteus ARES ( Part 5 )
- Design a package for components in Proteus ARES ( Part 6 )
- Blank Write Now ( Part 7 )
What is Virtual Terminal ?
Virtual Terminal is a tool in Proteus, which is used to view data coming from Serial Port (DB9) and also used to send the data to the Serial Port. In windows XP, there's a built in tool named Hyper Terminal, which is also used for the same purpose but in windows 7 there's no such tool so for windows 7 users this virtual terminal is quite a great comfort. If you guys don't know about serial port then I would suggest you to read this tutorial to get the better idea of serial port:
Uses of Virtual Terminal
Virtual Terminal, as I explained above, is used to send or receive data to or from the serial port. Serial port is a 9 pin port which is mostly find on the computer. In most of the projects, the data is sent from the hardware to computer via this serial port and then user design some application on the computer to view that data in some representable form.Now, in projects there are some testing steps which are quite helpful, if we use them properly, and these testing steps require some tools in order to test the process. Like, suppose some student have designed the hardware to send the data to the computer and have also design its application to receive it and now when he tests it he didn't receive any data. At that point student got tensed and don't know where's the error so at that point there's may be some error in the hardware or may be in the software.
Now, in order to be sure he need to test both of them separately and here is the point where virtual terminal is used. First connect your hardware with the computer and then run the hardware and check whether you are receiving data on the virtual terminal or not. If you are receiving it, means your hardware is okay and the problem is in software side and if you are not means your hardware is not so good.
Whenever I start working on some projects, I always make sure that I am going in right direction like if I have to made this project then after completing my hardware, I will first check it via this virtual terminal and once I got sure that my hardware is okay then I will move to the software part.
There are also many other applications of this terminal like suppose you wanna design some circuit in Proteus which involves serial port then you can add this terminal on your circuit and can test it before going to the hardware, which we will shortly see below.
How to Use Virtual Terminal in Proteus ISIS?
- First of all open the Proteus ISIS and click on the P button to search for the components, as we seen in the previous tutorial and also shown in the below figure:
- Now in the search box type "COMPIM" , when you search this a result will show up as shown in the below figure:
- After Selecting this, click OK to add this component in the database.
- COMPIM is the serial port in Proteus and using its properties we can assign any COM pin of our computer to it and it will behave like that pin. We will change the properties shortly.
- Now, click on the Virtual Instrument Mode and then on the Virtual Terminal as shown in the below figure and add it in the Proteus workspace.
- Now join the TXD pin of COMPIM with the TXD pin of Virtual Terminal and RXD with RXD as shown in the figure below:
- Now, double click on the COMPIM to open the Properties menu and set the properties as shown below:
- I have selected COM1 and my baud rate is 9600, you can set it whatever you want like if you are using the COM3 then set the port to COM3 and baud rate of your own choice.
- Similarly open the properties of the virtual terminal and make sure that the baud rate is same in both the cases.
- Now connect your hardware with the computer and play the simulation. Again make sure that the port which you have selected for the COMPIM is same port with which you have attached your hardware.
- After you play the simulation a black window will open up which will show the data coming from your hardware to the COM1 pin as shown below:
- This black box is actually the Virtual Terminal which is showing data coming from my hardware.
- If you play the simulation and this Virtual Terminal doesn't pop up then right click on the Virtual Terminal Component and then click on Virtual Terminal which will be at the end in the options and this black window will open up.
Views:










































