Connect with us

UART, Tx, Rx

Discussion in 'Microcontrollers, Programming and IoT' started by vick5821, Sep 5, 2012.

Scroll to continue with content
  1. vick5821

    vick5821

    700
    0
    Jan 22, 2012
    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 :)
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    10,346
    2,251
    Nov 17, 2011
    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
     
  3. vick5821

    vick5821

    700
    0
    Jan 22, 2012
    So UART is to transmit and receive data from where ?
     
  4. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
  5. vick5821

    vick5821

    700
    0
    Jan 22, 2012
  6. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    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...
     
  7. Harald Kapp

    Harald Kapp Moderator Moderator

    10,346
    2,251
    Nov 17, 2011
    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.
     
  8. vick5821

    vick5821

    700
    0
    Jan 22, 2012
    So ladtop and microcontroller communicate through Tx Rx too ?
     
  9. gorgon

    gorgon

    603
    24
    Jun 6, 2011
    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 ;)
     
  10. vick5821

    vick5821

    700
    0
    Jan 22, 2012
    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 :)
     
  11. Harald Kapp

    Harald Kapp Moderator Moderator

    10,346
    2,251
    Nov 17, 2011
    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.
     
  12. vick5821

    vick5821

    700
    0
    Jan 22, 2012
    Yea. Exactly. So I need to install the FTDI drivers :)
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-