Power SuppliesProteus Simulation Based Projects

Schematic Circuit Diagram Creating UART Modules-Modifying the COMPORT proteus simulation

Proteus software provides a feature enabling real-time interaction with external modules through the COMPIM (Comport Physical Interface Module) component. By default, it appears as a DB9-Pin Serial Port connector, facilitating the real-time connection of different UART Modules like GSM, GPS, Wi-Fi, etc., to the circuit designed in the worksheet.

To enhance the clarity of the circuit, let’s customize the appearance of this component. The current and desired views are illustrated below:



Select and place the COMPIM component on the Sheet/Workspace.



Right-Click on the component and select ‘Decompose’ from the Right-Click Menu.


The desired view aligns with real-time modules such as the GSM Module, featuring common pins like TX, RX, and GND, excluding the power supply terminals. Since the serial port includes additional Flow control terminals, unnecessary pins can be removed for streamlined functionality.


To make the connector shape disappear, you can either delete the block or overlay it with a preferred shape, ensuring the pins remain visible. Unnecessary elements such as lines or circles can be removed. Any component or part in the worksheet can be deleted by double right-clicking on it.


In the physical circuit setup, the microcontroller’s TX and RX pins are linked respectively to the TX and RX pins of the COMPORT. However, in the schematic representation or circuit diagram, the TX and RX pins of both the microcontroller and the module are interchanged. Therefore, it’s necessary to label the TX and RX pins of the COMPORT as RX and TX respectively using 2D-Text.


The modules come with a Ground Pin that needs to be connected to the circuit’s ground. In the software, this connection is automatically established through programming and doesn’t require explicit designation. However, in the circuit diagram, we can represent this connection by adding a new pin for Ground, utilizing the pins mode for this specific purpose.


Position the pin within the workspace. Note that the edge of the pin marked with a cross symbol signifies its connection to external components in the circuit diagram. Modify the pin properties to hide the name and number associated with it.


Additional text or blocks can be added to enhance the view of the module like the antenna and Power supply block from the 2D-Graphics Box mode.


Select all the parts of the expected view. Right-click and select ‘Make device’ from the Right-click Menu.



By navigating a set of options, the component’s name, index, and other reference parameters can be modified or left unaltered. Once this customization is done, the component is established in the library and can be utilized like any regular component by positioning it in the workspace. The broken-down component can then be removed. Let’s verify if this component appears in the Devices section.

The properties of the component remain unaltered. Hence, the port parameters selection mirrors that of the default component. Let’s proceed by connecting a module and validating it in real-time. To do this, a GSM Module is linked to the computer via a USB-Serial converter. The port number for this converter is retrieved from ‘Devices and Printers’. The port parameters in the component are configured as indicated below.

Verifying the Modified COMPORT – Video Demo



Related Articles

Leave a Reply

Your email address will not be published.

Back to top button