Usb To Serial Converter Using Atmega8

Posted on -
Usb To Serial Converter Using Atmega8 5,0/5 9294 reviews
  1. Usb Serial Converter Driver Download
  2. Usb To Serial Converter Cable
  3. Usb To Serial Converter Using Avr Microcontroller
Active2 years, 5 months ago

When I send some data using RS-232 cable a sender and receiver have UART. I can use RS-232 to USB converter to connect some device or other PC to my laptop. Does such converter has inbuilt UART? How data is converted from RS-232 to USB?

Dec 3, 2013 - 17 min - Uploaded by Patrick Hood-DanielHow to communicate using UART AVR Microcontroller to a Computer. I have a bte13-009.

JakeGould

Usb Serial Converter Driver Download

34.9k10 gold badges109 silver badges151 bronze badges
IrbisIrbis

2 Answers

Usb to rs232 converter using atmega8

Yes, a RS232 to USB converter does have a full-blown UART circuit built-in. As any standard UART, it does have Rx, Tx, and flow control pins. As any UART, it must be properly configured to be able to communicate with the 'partner' at the other end of UART link.

To do so, the UART circuit is 'bridged' to USB interface. The USB interface has the CDC class descriptor (Communication Device Class), and the USB host driver maps this USB device into a virtual COMnn port with nearest available number, so PC applications can use it as an usual COM port.

Usb To Serial Converter Cable

The bridge is fairly simple. To read the UART data, the USB COM port driver is constantly asking the USB device for data (since it has no other means to know when the UART will receive its data and will be ready to give them to host). When there is no data, the bridge responds with NAK. When data is there, the USB side returns the piece of data.

When the host wants to send a UART data, it issues an OUT packet with 1 byte of data. The bridge receives the serial byte into a parallel buffer (at USB speed), and then stuffs the received parallel byte into the parallel side of UART for transmitting it at UART's speed.

Before communicating over UART, the USB side must configure the UART for proper baud rate, stop signal length, and use of flow control, as in case of usual UART in a PC. This is virtually transparent to application terminals, and the terminals use the usual interface to set these parameters up.

Ale..chenskiAle..chenski
9,2764 gold badges19 silver badges33 bronze badges

Yes, many such RS-232 to USB adapters have a USB-to-UART chip. Common ones are:

  • Cypress CY7C65213
  • Microchip MCP2200
  • FTDI FT232R
JakeGould
34.9k10 gold badges109 silver badges151 bronze badges
grawity

Usb To Serial Converter Using Avr Microcontroller

Serial to usb converter softwaregrawityUsing
262k40 gold badges549 silver badges616 bronze badges

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