Power SuppliesProteus Simulation Based Projects

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

The Proteus software has an option to interface with external modules in real-time through the COMPIM (Comport Physical Interface Module) component. Its default view is a DB9-Pin Serial Port connector. This component makes it possible to connect various UART Modules like GSM, GPS, Wi-Fi etc.., in real-time with the circuit designed in the worksheet. So, to make the circuit more comprehensible, let’s modify the view of this component. The actual and expected views are shown 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 expected view is similar to the real-time modules like the GSM Module etc.., which contain TX, RX and GND Pins in common excluding the Power supply terminals. As the serial port has Flow control terminals in addition to the previously mentioned pins, we can remove the unwanted pins.

Removing-Unwanted-Pins

The connector shape can be made invisible either by removing the block or by placing a desired shape over the connector, but the pins shouldn’t be covered. Every unwanted part like the lines or circles can be deleted. ‘Any component in the worksheet can be deleted by Double Right-Click on the component or part’.

Hiding-the-Pin-Name-and-Number

The actual circuit connections are such that, the TX, RX pins of the microcontroller are connected to the TX, RX pins of the COMPORT respectively. But, the schematic view or in the circuit diagram, the TX and RX pins of the microcontroller and the module are cross-connected. So, we have to write 2D-Text for the TX and RX pins of the COMPORT as RX and TX respectively.

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

The modules have the Ground Pin that should be connected to the circuit ground. In the software, it is not necessary as they are programmed. But to show them in the circuit diagram, we can add a new pin for Ground. The pins mode is used for this purpose.

Adding-Ground-Pin-to-the-module

Place the pin on the workspace. The edge of the pin that has the cross symbol indicates that it should be connected to the external components in the circuit diagram. Edit the properties of the Pin such that, name and number are hidden.

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: Through a series of options, the name of the component, Index and other reference parameters can be edited or left unchanged. After this step, the component is created in the library and can be used a regular component by placing it in the workspace. The decomposed component can be deleted. Let’s check whether this component is shown in the Devices.

Finding-the-Modified-Component
The properties of the component are left unchanged. So, the selection of Port parameters is same as that of the default component. Let’s connect a module and verify it in real-time. For this purpose, a GSM Module is connected to the computer through a USB-Serial converter. The port number of this converter is obtained from the ‘Devices and Printers’. The port parameters in the component are set as shown below.

Verifying the Modified COMPORT – Video Demo

Tags

Related Articles

Leave a Reply

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

Back to top button
Close
Close