Virtual Terminal in proteus

Virtual Terminal in proteus 36

Virtual Terminal in proteusIn this post I will discuss about the Virtual Terminal in Proteus. In the previous posts I have discussed the Simulation of some of the commonly used sensors and actuators in embedded systems. While discussing those simulations I have frequently used Virtual terminal to display data coming over the Serial port of Arduino microcontroller. I have not discussed about the Virtual terminal in any of the previous posts in detail so this post will be dedicated to the Virtual Terminal in Proteus. I will demonstrate here about how use the Virtual Terminal and in addition I will also demonstrate the communication using the Virtual Terminal.[otw_is sidebar=otw-sidebar-2]

Virtual Terminal in Proteus

[otw_is sidebar=otw-sidebar-3]

  • Virtual Terminal is a very useful tool available in the Proteus. With the help of Virtual Terminal one can easily simulate the serial communication that he / she use in his / her embedded systems.
  • It is important to note here that almost every microcontroller that is used in the embedded system has integrated UART (Universal Asynchronous Receiver Transmitter) on it
  • which is used to perform serial communication between other hardware used in embedded system that also supports Universal Asynchronous receiving and transmission.
  • So while writing the code for serial transmission and designing the circuit it is required that the code and design should be tested for serial communication, so that any problem in the code or communication can be resolved before implementing the circuit physically.
  • It should have come in the reader’s mind that how we can see the data transmitted to or from the microcontroller serial port in the software.
  • The answer is the Virtual Terminal. Thus the Virtual Terminal plays the role while simulating the embedded systems that compliance the serial communication through the Universal Asynchronous Receiver or Transmitter.
  • The Virtual Terminal in the Proteus is bi-directional which means that it can send and receive data simultaneously. The Virtual Terminal looks like the one in the following image:

Virtual Terminal

 

Serial Communication in Proteus

  • As shown in the above image that the Virtual Terminal has four pins on it.
  • Two pins are for data transmitting and receiving and other two terminals represents the handshaking between the components to be communicated.
  • Let us first demonstrate the simple configuration of the Virtual Terminal as shown in the following figure:
  • As shown in the above image that the two Virtual Terminals are connected to each other in such a way that the receiving pin of the one Virtual Terminal is connected to the transmitting pin of the other.
  • So as can be seen that the data on one terminal can be seen on the other Virtual Terminal.
  • Now let us simulate the serial communication over UART between the Arduino microcontroller and the Virtual Terminal. Consider the circuit as shown in the following figure:

click here for  Downlod
[otw_is sidebar=otw-sidebar-3]

How to use Virtual Terminal in Proteus with Arduino

Virtual Terminal in proteus

 

  • The Rx pin of the Arduino is connected to the Tx pin of the Virtual Terminal and the Tx pin of the Arduino is connected to the Rx pin of the Virtual Terminal.
  • Let us now attach the HEX file of the code which lets the Arduino communicate serially over UART. The HEX file can be attached by double clicking the Arduino as shown in the following figure:
  • Now hit the simulation button and the data that is send by the Arduino is displayed on the Terminal window as shown in the following figure:
  • In the above discussion I have demonstrated the use of the Virtual Terminal from the simulation point of view. Let us now learn another important use of the Virtual Terminal.
  • Suppose you have designed the hardware using the Arduino that can communicate over the UART that is the system let us say can send the reading of the temperature and receive the commands using the serial port.
  • Now you want to see whether your hardware is working properly or not for this purpose you need to have some type of mechanism with the help of which you can see the data that is sent or received from the Arduino. Here again the Virtual Terminal of the Proteus serves the purpose.

COMPIM in Proteus

  • It can be done very easily with the help of the module available in the Proteus which is called the COMPIM.
  • This COMPIM acts as the virtual connection between the Virtual Terminal and the external hardware over the UART. Suppose that you have connected to your hardware consisting of the Arduino to the com port of your PC or laptop and the name of this com port is let us say COM9.
  • By the way the name of the COM port to which Arduino is connected is determined from the control panel.
  • Now double click on the COMPIM to open its properties and edit the properties according the situation that is write the name of the COM Port COM9 because you want to communicate to the Hardware that is connected to the COM9 as shown in the following figure:
  • After adjusting the COM Port name adjust the baud rate as shown above. Now double click on the Virtual Terminal to adjust baud rate. The BAUD rate of the COMPIM and the Virtual Terminal should be same otherwise it will not work.
  • Now the setup is ready when you hit the simulation button the Virtual Terminal will show the data that is send by the Hardware.

[otw_is sidebar=otw-sidebar-3]

 

How to Open Virtual Terminal in Proteus

  • First of all open the Proteus Software and click on the P button to search for the components;
  • Now in the search box type “COMPIM
  • That is all for now I hope this post would be helpful for you. In the next post I will come up with more interesting topics and applications of the Proteus. Till then stay connected, keep reading and enjoy learning.
  • After reading this post the reader will be able to understand the importance of using the Virtual terminal. The reader will also be able to learn the serial communication and demonstrate it by using the Virtual Terminal in Proteus. While reading this post the reader should keep it in mind that the post only discuss the Virtual Terminal and its use in Proteus in order to understand the topic in detail the reader should learn about the UART (Universal Asynchronous Receiver Transmitter), RS 232 and serial communication. I will write on these topics later in my posts.How to Simulate Arduino in Proteus

36 Comments

  1. I see you don’t monetize projectiot123.com, don’t waste
    your traffic, you can earn additional bucks every month with new monetization method.

    This is the best adsense alternative for any type of website (they approve all sites),
    for more info simply search in gooogle: murgrabia’s tools

    BestKendall
  2. Exactly E Sexy Naked Nude Photos Videos Twitch – https://t.me/CrocSpot

  3. Exactly E Twitch Gamer Girl Nude Photo Leaks – https://t.me/UCSTG

  4. Предлагаем слуги: https://lit9.ru, демонтаж фундамента, слом домов.

  5. You have mentioned very interesting points! ps nice website . “What a grand thing, to be loved What a grander thing still, to love” by Victor Hugo.

  6. Hi there every one, here every person is sharing such
    familiarity, so it’s good to read this website, and I
    used to visit this webpage daily.

    Here is my web site: vpn 2024

  7. hey there and thank you for your information – I have definitely picked up something new
    from right here. I did however expertise some technical issues using
    this web site, as I experienced to reload the website many times previous
    to I could get it to load correctly. I had been wondering
    if your hosting is OK? Not that I am complaining, but sluggish loading instances times
    will sometimes affect your placement in google and could damage your quality
    score if ads and marketing with Adwords. Well I’m adding this RSS to my email and
    could look out for a lot more of your respective exciting content.

    Make sure you update this again soon.

    Feel free to visit my website … vpn code 2024

  8. Hello very cool site!! Guy .. Excellent .. Amazing .. I’ll bookmark your site and take the feeds additionally?KI am satisfied to seek out a lot of helpful information here within the submit, we’d like develop extra techniques in this regard, thanks for sharing. . . . . .

  9. С мощностью секции 164 Вт Arbonia 2180 обеспечивает эффективное и экономичное отопление, достаточное для обогрева до 1.6 кв.м. при установке в помещениях с различными теплоизоляционными условиями, от современных домов до старых кирпичных строений [url=https://arbonia2180.ru/]вертикальные радиаторы Arbonia[/url]

  10. Arbonia 2180 с высотой секции 180 см идеально подходит для современных квартир с высокими потолками, вписываясь в интерьер, не создавая ощущение громоздкости. Он отлично вписывается даже в узкие пространства благодаря своей плоской конструкции с глубиной всего 65 мм [url=https://arbonia2180.ru/]высокие радиаторы Arbonia[/url]

  11. С мощностью секции 164 Вт Arbonia 2180 обеспечивает эффективное и экономичное отопление, достаточное для обогрева до 1.6 кв.м. при установке в помещениях с различными теплоизоляционными условиями, от современных домов до старых кирпичных строений [url=https://arbonia2180.ru/]Arbonia 2180[/url]

  12. С мощностью секции 164 Вт Arbonia 2180 обеспечивает эффективное и экономичное отопление, достаточное для обогрева до 1.6 кв.м. при установке в помещениях с различными теплоизоляционными условиями, от современных домов до старых кирпичных строений [url=https://arbonia2180.ru/]https://arbonia2180.ru/[/url]

  13. С мощностью секции 164 Вт Arbonia 2180 обеспечивает эффективное и экономичное отопление, достаточное для обогрева до 1.6 кв.м. при установке в помещениях с различными теплоизоляционными условиями, от современных домов до старых кирпичных строений [url=https://arbonia2180.ru/]высокие радиаторы Arbonia[/url]

  14. Услуга по сносу старых домов и вывозу мусора в Москве и Московской области. Мы предоставляем услуги по сносу старых зданий и удалению мусора на территории Москвы и Подмосковья. Услуга снос домов в подмосковье выполняется опытными специалистами в течение 24 часов после оформления заказа. Перед началом работ наш эксперт бесплатно приезжает на объект для оценки объёма работ и консультации. Чтобы получить дополнительную информацию и рассчитать стоимость услуг, свяжитесь с нами по телефону или оставьте заявку на сайте компании.

    WilliamWrect
  15. I like this web site very much, Its a very nice situation to read and receive information. “…when you have eliminated the impossible, whatever remains, however improbable, must be the truth.” by Conan Doyle.

  16. I was reading some of your content on this website and I think this web site is very informative ! Continue posting.

  17. Услуга по сносу старых зданий и утилизации отходов в Москве и Московской области. Мы предоставляем услуги по сносу старых сооружений и удалению мусора на территории Москвы и Московской области. Услуга сломать фундамент выполняется квалифицированными специалистами в течение 24 часов после оформления заказа. Перед началом работ наш эксперт бесплатно посещает объект для определения объёма работ и предоставления консультаций. Чтобы получить дополнительную информацию и рассчитать стоимость услуг, свяжитесь с нами по телефону или оставьте заявку на сайте компании.

    RussellBoync

Leave a Reply

Your email address will not be published. Required fields are marked *