Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Q: test a serial interface with proteus ?

Status
Not open for further replies.

ambition

Junior Member level 2
Joined
May 28, 2005
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,483
max232 interfacing proteus model

hi,

I would like to test a microcontroller serial connection in a software like ISIS Protues

I just have small question about how to connect two microcontrollers using serial port

I imagined that the design will be like this :

mcu <--> max232 <--> db9(f) <--> db9(f) <--> max232 <--> mcu

but checking the pin connections in this site :
**broken link removed**

make me ask , if (for example ) pin 2 from one port will be connected to pin 3 of the other , where do I connect the max232 T1OUT ?
or pin2 will be connected to BOTH : pin3 of the other port & max232 T1OUT ?

that's all
can some one help ?
 

Hi,

You have two options:

you can consider your MCUs as two DTE (data terminal equipment) - then you wire the same signals on the same pins of the DB9 for each MCU (see https://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm for the exact pinout) and you use a NULL modem cable between the two (the signals are crossed in the cable).

You can also consider one MCU as a DTE and the other as a DCE (data communication equipment). This way you will use the standard DTE pinout for the first MCU and a DCE pinout (swap RX for TX, DSR for DTR, RTS for CTS and DCD and RI are outputs) for the second.

Hope this helps,

cyberblak
 

yes , but what about the max232 to serial port pinout ?

pin 2 must be connecected to pin 3 to establish the DTE-DTE connection (for example )
but what about the max232 ? which pins are connected to it ?
 

Ok, I see...

You need to connect the transmitted signals into TxIN inputs of the MAX232 and the received signals to RxOUT outputs of the MAX232.

Per example, you should connect the uC's TX to T1IN and its RX to R1OUT. Then you would have basic RS232 communication.

Good luck,

cyberblak
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top