Is Serial Communications Half-Duplex or Full-Duplex?

Hi, when using Rx1 and Tx1 as a pair between two arduinos, do they communicate in full-duplex or half-duplex?

If you use the hardware serial interface between two arduinos.
According to the datasheet of ATmega2560, the four Programmable Serial USART is Full Duplex Operation (Independent Serial Receive and Transmit Registers).

Thanks, never thought to look at that datasheet. I found the section on page 205.

What do you mean by "If you use the hardware serial interface between two arduinos."

I was going to direct connect Rx1 to Tx1 and vice versa. Looking at the datasheet it looks like that's all I need to do.

What are Rx1 and Tx1? What Arduino? On a Uno for example they're just called Rx and Tx (pins 0 and 1).

I think ikki means hardware serial as opposed to using a software serial library?

The mega 2560 and Due has 4 sets of Tx and Rx pins, other boards might have them to, there's a lot.

They have the 0 and 1 on the Uno your talking about and Tx1, Rx1, Tx2, Rx2, Tx3, Rx3.

Yes maybe that's what ikki was talking about?

The moral of the story is to say what board you have when you post a question....

Ah, lol, sorry. I wondered why someone with 6,894 posts was asking.

robsworld78:
Ah, lol, sorry. I wondered why someone with 6,894 posts was asking.

Don't confuse my number of posts with my knowledge though!

No I wouldn't do that, that's why I tried to answer with detail. :slight_smile: