how to use UART in circuit design?

Discussion in 'General Electronics Chat' started by kai hiwatari, Feb 20, 2015.

  1. kai hiwatari

    Thread Starter New Member

    Feb 20, 2015
    3
    0
    why is UART used in circuits and particularly with ATMEGA32? Is it necessary to have a uart for connecting a usb to the circuit?
     
  2. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,792
    946
  3. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    UART is still being used on micros because:

    1) it is easy to implement in hardware
    2) historical and legacy reasons, backward compatibility.

    USB needs much more than hardware to implement. It requires a lot of software overhead to implement the USB protocol. You will not find USB in low end MCUs.

    UART and USB are two completely different things.

    There is such a thing as a UART-to-USB bridge, such as Silicon Labs CP2102 which can be used to connect an MCU with UART to a host computer USB.
    However, the PC sees the MCU as a UART COM port, not a USB device.
     
    kai hiwatari likes this.
  4. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    UART is still being used on micros because:

    1) it is easy to implement in hardware
    2) historical and legacy reasons, backward compatibility.

    USB needs much more than hardware to implement. It requires a lot of software overhead to implement the USB protocol. You will not find USB in low end MCUs.

    UART and USB are two completely different things.

    There is such a thing as a UART-to-USB bridge, such as Silicon Labs CP2102 which can be used to connect an MCU with UART to a host computer USB.
    However, the PC sees the MCU as a UART COM port, not a USB device.
     
  5. cmartinez

    AAC Fanatic!

    Jan 17, 2007
    3,573
    2,542
    In case you want to know, the best chipset for UART to USB conversion is manufactured by FTDI, its drivers are far better and more reliable than prolific, for instance.
     
  6. kai hiwatari

    Thread Starter New Member

    Feb 20, 2015
    3
    0
    thanks, it helped me alot
     
Loading...