March 2, 2024

Proteus is really a broadly used application popular with developers and engineers to simulate electrical circuits. Proteus is frequently used when modeling and designing programmable devices for example microprocessors and microcontrollers.

We present this short tutorial showing the best way to create virtual serial interfaces in Proteus using Eltima’s Virtual Serial Port Driver software.

Our demonstration calls for testing a microcontroller application’s functionality. A “host program” will be employed to send data to some microcontroller through the UART communication protocol. We’ve selected to enact this communication having a MAX232 nick, that is a UART-COM ripper tools, for connecting the microcontroller to the pc.

Approach to dealing with Proteus

Proteus is our tool of preference to ensure the communication between your microcontroller and computer. We’ll give a serial port model that connects the RXD and TXD, making certain that data transmitted towards the microcontroller is distributed back to the pc. This can make sure Proteus is capable of doing creating serial communication.

It might be nice when there would be a native facility within Proteus that produces virtual serial ports that we’re able to simulate communication with physical ports. For the reason that situation, we’re able to simply employ Serial Port Terminal for everyone because the host program and operate a device simulation on Proteus to judge the bond. We’ll, however, have to employ additional software when we need to create virtual serial ports in Proteus.

Proteus interacts using the COM port model while using resource referred to as COMPIM.

What’s COMPIM in Proteus?

COMPIM can be used to model physical COM interfaces in Proteus. It functions by recording and buffering serial signals so it then presents towards the electrical circuit. The computer’s serial ports will be employed to conduct all serial data via the CPU or even the UART model.

Virtual serial ports may also be produced using USB or Bluetooth connectivity by utilizing several technical workarounds. Baud rate conversion can be done while using the COMPIM model. Verification from the virtual and physical characteristics from the device could be implemented through adding optional hardware to software.

Two methods for dealing with Proteus

Testing the “host program” “COM port” “device model functionality in Proteus can be achieved with either of the methods.

Use two computers connected through their serial ports. One machine can be used to operate the host program as the other computer runs the unit simulation.

Utilizing a serial cable to connect with two physical ports, such as in which the host program is running while the second reason is configured like a virtual port in Proteus.