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:

Actual-and-Expected-Views-of-COMPORT

Step1:

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

Selection-of-COMPORT-Component

Step2:

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

Decompose-the-COMPORT-Component

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.

Removing-Unwanted-Pins

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.

Hiding-the-Pin-Name-and-Number

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.

Adding-2D-Graphics-Text-to-the-Pins

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.

Adding-Ground-Pin-to-the-module

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.

Adding-2D-Graphics-Text-to-the-GND-Pin-

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.

Step3:

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

Make-Device-COMPORT

Step4:

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.

Finding-the-Modified-Component
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

 

Tags

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button
Close
Close