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.

serial data transmit receive

Status
Not open for further replies.

MAK-1

Member level 3
Member level 3
Joined
Jun 26, 2008
Messages
59
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
1,567
I have 2 simple questions

1. I want to receive data on 2 receive pins from 1 transmit pin and

2. want to transmit data from two transmit pin and only 1 receive pin can receive it. These two tranmit pin does not transmit at a time.
 

Hi

1. Use capacitor insted of direct DC connect
2. change the The I/O type in the MCU DDR register from TX to Input when not in transmit mode

All the best

Bobi
 

which micro controller are you using? What voltage - 3V, 5V??
 

use bit bangging , software routines for data tx and data rx.

you can make any pin as tx / rx pin , or any number of pin too ..
 

I am using two number of PIC18f452 microcontrollers.

TX1 pin of first PIC18f452 connect with RX2 pin of second PIC18f452
&
RX1 pin of first PIC18f452 connect with TX2 pin of second PIC18f452

Now i want to see this two way communication over my PC through serial port without any intruption.

Is it possible.
What circuit will be required to make it ossible
 

MAK-1 said:
Now i want to see this two way communication over my PC through serial port without any intruption.

Is it possible.
What circuit will be required to make it ossible

Why not using an oscilloscope to monitor the two signals on RX and TX.
I think it would be better than modifying your circuit (with all possible error that could cause)

Best regards
Kabanga
 

you can monitor any one line at a time without any problem, just connect any one of the line (TX1 or TX2) to T1IN of max 232 and give its other end (T1 out) to PC. use hyper terminal to monitor the data.
 

I think switching will be required to monitor TX1 and TX2 of microcontoller via RS232,
but i dont want to switch.

There should be any hardware logic to monitor both TX1 and TX2 on PC without any switching.

& there should be any hardware logic circuit with which i can send data from my hyper terminal via RS232 to my RX1 & RX2

This is what i need to develop.
 

if you draw a very simple schematic to illustrate what you are trying to achieve, it might make it easier for others to help you. Post the drawing here.
 

PIC#1 TX1 connect with PIC #2 RX2
PIC#2 TX2 connect with PIC #1 RX1

RS232 RX3(T1IN) should be connected with TX1 & TX2 to monitor PIC's data
RS232 TX3(R1OUT) should bbe connected with RX1 & RX2 to end data from PC to PIC's

Please check an attachment for your reference
Need a simple low cost less circuitry hardware for doing above task practically
 

use or techniqe if serial communication is in half duplex mode
 

What for Full duplex mode
 

look like an expensive solution
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top