I am working on Arduino board for a while. One thing I do not get is why there is a chip called "USB to serial adapter" on Arduino board.

Isn't USB already serial. What does it mean USB to serial? Is it about voltage regulation only?


Yes, USB sends data serially. USB has one data signal carried differentially on two wires.

However, when people talk about "serial" communication in some contexts they don't mean the general serial as you are interpreting it, but a "serial port" also known as a "COM" port on PCs. Note that "COM" stands for "communication", so technically applies to all data links . "COM port" or "serial port" or sometimes just "serial" refer to RS-232 from context. Yes, this is all a bit sloppy, but it is common.

In your case "USB to serial adapter" almost certainly means something that presents like a normal device on the USB side but does UART-style communication on the other. There is yet another ambiguity in whether that UART-style communication is real RS-232 or using normal digital logic levels. The digital logic level signals are normally inverted from the true RS-232 signals. The microcontroller does "serial" via digital logic signals, but PC COM ports do real RS-232.

  • \$\begingroup\$ what does the converter change in USB to serial case? USB protocol to rs 232 protocol? voltage and baud rates? what I understand from you the process is: USB to rs 232 and then to TTL and to micro-controller. Is that right? \$\endgroup\$ – user16307 May 3 '12 at 20:57
  • 1
    \$\begingroup\$ @cmd1024: The converter speaks USB on one side, which is a lot more complicated than just a bi-directional stream of bytes like RS-232. It probably implements the USB CDC class or maybe talks to a custom driver on the host. On the other side it talks either RS-232 or logic-level signals with the same timing. Most converters let you chose the baud rate and other configuration parameters for the serial side via some API on the host. It's nowhere near as simple as just "converting" the serial USB signals to UART-type signals. The two are very different. \$\endgroup\$ – Olin Lathrop May 3 '12 at 21:01

You're correct in that USB is serial at the physical level, however USB is a complicated protocol. Implementing it on the AVR micro would take up nearly all the program memory on the Arudino and leave no room for sketches!

The USB chip on the Arudiuno allows the board to talk to the Arudino IE without the overhead of implementing the USB protocol in firmware.

Along with the chip you mention, FTDI supplies a Windows driver so that it can be used as a COM port. This is called a Virtual COM port and it is a "standard" device type specified by USB-IF.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.