Anyone knows to explain me which is the ouput of the digital pin Tx?
Tricky one ... it’s labelled Tx in the board as well as it’s digital PIN number ( if used as a digital I/O).
It’s used for communications and is also connected to to the usb via its chip
0-5v.
The pins marked Tx and Rx are the output and input for serial communication.
...R
Guess didn't explained me very well.
I know it is used for serial communication, and digital I/O.
what I really want to know is when you use Tx for serial communication, what is the signal output you find in its port?
If you plug it into an oscilloscope what would it read?
I know Tx uses UART protocol communication, so that mean that the output signal would be a bunch of 1's(~5V) and 0's(~3V) according to the transmitted bit?
Lots of up and down pulses 0-5v, so yes.
What you send is up to you but there are defaults depending on the board.
clesio_015:
Guess didn't explained me very well.
Indeed. But you are not the first, and probably not the last.
We would probably be better able to help you if you explain WHY you are asking the question. You probably have some idea in your mind that we are not aware of.
...R
Robin2:
Indeed. But you are not the first, and probably not the last.We would probably be better able to help you if you explain WHY you are asking the question. You probably have some idea in your mind that we are not aware of.
...R
I wanted to know because I wanted to insert the signal in a circuit made in a breadboard for analysis purpose.
Anyway I was not sure of the output signal and I wanted to be clear.
Thank you all for your answers.
Cheers !
clesio_015:
Guess didn't explained me very well.I know it is used for serial communication, and digital I/O.
what I really want to know is when you use Tx for serial communication, what is the signal output you find in its port?
If you plug it into an oscilloscope what would it read?I know Tx uses UART protocol communication, so that mean that the output signal would be a bunch of 1's(~5V) and 0's(~3V) according to the transmitted bit?
1. First, let us look at the physical pin diagram of the ATmega328P MCU of the Arduino UNO Board.

Figure-1: Physical pin diagarm of ATmega328P MCU
2. By default physical pin-2 and pin-3 of the MCU are digital IO pins, and these are designated as PD0 and PD1 respectively.
3. pin-2 has an alternate function whose symbolic name is RXD (given within parentheses). The alternate function can be activated through a process known as Software Initialization. When the pin-2 takes over the alternate function, it can receive UART Formatted (Fig-2) serial data frame (usually 10-bit) from an external device/computer. In Arduino UNO Board, the same signal is labelled as RX at the IO connector.

Figure-2: Asynchronous serial data format.
4. Similarly, pin-3 can be configured to work as TXD-pin to transmit UART Formatted (Fig-2) serial data to a remote computer.
4. The following diagram depicts the signal connections between Arduino UNO and PC using UART Port.
Figure-3: Connection diagram between Arduino UNO and PC using UART Port


GolamMostafa:
1. First, let us look at the physical pin diagram of the ATmega328P MCU of the Arduino UNO Board.
Figure-1: Physical pin diagarm of ATmega328P MCU2. By default physical pin-2 and pin-3 of the MCU are digital IO pins, and these are designated as PD0 and PD1 respectively.
3. pin-2 has an alternate function whose symbolic name is RXD (given within parentheses). The alternate function can be activated through a process known as Software Initialization. When the pin-2 takes over the alternate function, it can receive UART Formatted (Fig-2) serial data frame (usually 10-bit) from an external device/computer. In Arduino UNO Board, the same signal is labelled as RX at the IO connector.
Figure-2: Asynchronous serial data format.4. Similarly, pin-3 can be configured to work as TXD-pin to transmit UART Formatted (Fig-2) serial data to a remote computer.
4. The following diagram depicts the signal connections between Arduino UNO and PC using UART Port.
That was helpfull
Thank you very much !!
