Академический Документы
Профессиональный Документы
Культура Документы
Hello everyone, I hope you all are doing great. In today’s tutorial, we will have a
look at How to use Virtual Terminal in Proteus ISIS. It’s our 5th tutorial in
Proteus Series. I will first explain what is virtual terminal and then we will have a
Virtual Terminal is an important tool
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 better idea of serial port:
Serial port using different software. For example, you can check this Serial
serial port at its pins 0 and 1, while Arduino Mega 2560 has built in four Serial
ports in it. Similarly, PIC Microcontroller also supports Serial port and it is also
to or from a serial port. Serial port is a 9 pin port which is mostly find on the
Normally in student projects, data is sent from hardware to computer via serial
port and then user design some application on their computer to view that data
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
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
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. If you are gonna design
the hardware then I think you must check Serial communication with 8051
Microcontroller, which is also designed in Proteus ISIS software and the data is
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. So, now let’s get started with Virtual Terminal in Proteus.
First of all open the Proteus ISIS and click on the P button to search for the
components, as we seen in previous tutorials.
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.
I think you guys have got much of the idea of this Virtual Terminal in Proteus
ISIS. If you have any problem anywhere, ask in comments and also subscribe to
our newsletter via email to get these amazing tutorials right into your mailbox. In
the next tutorial, I have explained How to use Oscilloscope in Proteus ISIS.
Daily
PREVIOUS
NEXT
Knowing About
Components Available in
How To Use Oscilloscope
in Proteus ISIS
Proteus ISIS
22 Comments
sharingilm
May 27, 2013 at 3:44 pm
Log in to Reply
….
Log in to Reply
http://www.mediafire.com/?apl37ueg7363r9s AND I
/*
* RocknRoll.c
* Author: samsoma
*/
/********************************************************
Includes
*********************************************************
#include
#include
#include
/********************************************************
*********************************************************
/********************************************************
Function Prototypes
*********************************************************
Main
*********************************************************
DDRA = 0xFF;
DDRB = 0;
PORTB = 0;
usart_init ( MYUBRR );
up by 1:nr”);
// main loop
while(true) {
if(usart_kbhit()) {
usart_putchar(usart_getchar() + 1);
PORTA = PINB;
yelled at
if(bit_is_clear(PINB,PB0)) {
usart_pstr(“OUCH! Stop poking me!nr”);
p ( pp g )
/********************************************************
usart Related
*********************************************************
UBRRH = (uint8_t)(ubrr>>8);
UBRRL = (uint8_t)ubrr;
UCSRB = (1<<RXEN)|(1<<TXEN);
UCSRC = (1<<URSEL)|(3<<UCSZ0);
// Start transmission
UDR = data;
char usart_getchar(void) {
return UDR;
}
unsigned char usart kbhit(void) {
unsigned char usart_kbhit(void) {
unsigned char b;
b=0;
return b;
while (*s) {
usart_putchar(*s);
s++;
IT DOESN’T WORK !!
Log in to Reply
tarik
June 5, 2014 at 5:15 pm
hello,
Log in to Reply
Navjot Singh
September 9, 2014 at 10:22 am
Hello Sir
Log in to Reply
basil
January 30, 2015 at 5:53 am
Log in to Reply
Hi,
Log in to Reply
APPU M T
May 5, 2015 at 12:32 pm
Log in to Reply
Muhammad Atiq
September 18, 2015 at 5:29 pm
Log in to Reply
Vaibhav
October 6, 2015 at 1:07 pm
Hi.
Log in to Reply
kausar almas
November 2, 2015 at 8:05 am
Log in to Reply
Log in to Reply
subrat
December 22, 2015 at 2:11 am
Log in to Reply
Dickson Lucian
January 24, 2016 at 6:52 pm
Log in to Reply
veeru
February 23, 2016 at 5:29 pm
hello sir ….
Log in to Reply
sayres
July 10, 2016 at 5:27 pm
Hi dude.
Log in to Reply
sayres
July 11, 2016 at 5:17 pm
problem .
oscilloscope.
Log in to Reply
Niki
September 17, 2016 at 2:13 am
please explain
Log in to Reply
theenggprojects.
Thanks.
Log in to Reply
AUGUST
October 15, 2016 at 10:48 am
and my friends……………..!
Log in to Reply
Mohammad Faraz
January 1, 2017 at 7:28 pm
Log in to Reply
A
Aditya
February 16, 2018 at 9:35 am
Hello sir,
to PC.
Log in to Reply
Leave a Reply
Recent Posts
How to Increase
Workspace in Proteus
January 17, 2020
SUBMIT
Name *
Join Us !!!
E-mail *
YouTube 4K
Contact Info !!!
Join Our Facebook Groups !!!
Address:
2862 ARDUINO 6904 PROTEUS 825, Al-Hafeez Shopping
Mall, Main-Boulevard,
Gulberg.
Phone Number:
Categories +92-300-4711820
Visual Studio Projects
8051 Projects
MATLAB Projects
LabView Projects
PLC Projects
Electronics Projects
C# Tutorials
SEO Tutorials
Advertisement
The Engineering Projects - Tutorials & Projects for Engineers.