Maker Pro
Maker Pro

UART, Tx, Rx

vick5821

Jan 22, 2012
700
Joined
Jan 22, 2012
Messages
700
Hey guys, I am still very blur about these terms.

I know that these terms are quite often used in the UART projects.

But what is UART , what is Tx Rx ??

Can anyone give me a simple explanation ?

Thank yoou :)
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
12,613
Joined
Nov 17, 2011
Messages
12,613
UART = Universal Asynchronous Receiver and Transmitter
Universal = universal
Asynchronous = clock is not part of the data transmission
Receiver, Transmitter ...
Tx = Transmit Data
Rx = Receive data
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
I read but do not understand ><

Well there are 1000s of descriptions to be found in a Google search, keep reading until it starts to click, as always what makes it click for some doesn't make it click for others... I suspect what you will get here is a regurgitation of the same stuff that probably isn't going to click right away either, unless they just happen to pin the one explanation that works for you...

You might find it beneficial to expand your knowledge of generic 'serial communication' at the same time...
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
12,613
Joined
Nov 17, 2011
Messages
12,613
device 1:TX sends to device 2:Rx
device 2:Tx sends to device 1:Rx
If you donÄt have 2 devices, you don't need a UART.

Both devices have to use the same baudrate, parity, number of start bits and number of data bits.
 

vick5821

Jan 22, 2012
700
Joined
Jan 22, 2012
Messages
700
So ladtop and microcontroller communicate through Tx Rx too ?
 

gorgon

Jun 6, 2011
603
Joined
Jun 6, 2011
Messages
603
So ladtop and microcontroller communicate through Tx Rx too ?

Depending on the type of interface used.

If you use a serial comm port with RS232, you use the UART in the PC.

If you use USB to communicate, there is a different hardware interface and naming convention, but the basic function is the same. One difference is that USB use the same physical wires to communicate both ways.

TOK ;)
 

vick5821

Jan 22, 2012
700
Joined
Jan 22, 2012
Messages
700
I am using USB cable. But then I need FTDI chip to communicate from USB in ladtop to the chip ? The chip I am using is atmel atmega 328 :)
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
12,613
Joined
Nov 17, 2011
Messages
12,613
The FTDI chip is a USB to serial (UART) converter. On the PC side you need a driver frm FTDI that shows as a virtual COM port to the PC software.
On the µC side you connect the FTDI TxD to the µC RxD and vice versa.
Advantage of the FTDI solution is that you don't need RS232 level converters.
 
Top