1. Usb To Serial
  2. Usb To Serial Using Atmega8
  3. Usb To Serial Driver Windows 7
  4. Usb To Serial Belkin
  5. Usb To Serial Adapter
  6. Usb To Serial Driver Download
  7. Usb To Serial Driver
Active6 years ago

This project is a USB to Serial converter using an ATMEL AVR microcontroller. There are two version of the converter, one with SMD parts and another with TH parts. Dongle emulator crack. The mcu used is an ATmega8 and USB communication is done using software on AVR mcu. If you want to do serial debugging for your PIC, ESP8266, Bluetooth module and a TTL-to-USB converter (pictured below) is nowhere in sight, you can simply use an Arduino USB serial converter! The Arduino UNO has its own FTDI chip whose function is to convert TTL signal levels to USB. I have a known working Atmega8 and I put it on a bread board and it work fine. I have a 16MHZ crystal and I wired in a LED to the digital out 13 pin and that works fine. Then I wired in a USB to serial adapter from SparkFun, ran TX to Rx and Rx to TX and put a.1uf reset cap from pin 1 of the reset line (pin 1) to the DTR of the USB to serial device.

$begingroup$

I am willing to build an AVR JTAG debugger (I grabbed from here: http://aquaticus.info/jtag) but the circuit uses COM port and it has MAX232 transceiver. My Laptop does not have COM port, so I need a USB-to-Serial cable.My question is, do I have to add the MAX232 circuit if I'm going to use USB-to-Serial cable?

I have done some search and found that some cables are implemented with RS232 transceiver, on the box of my cable they say it supports the RS232 interface.. is it the same? (http://www.unitek-products.com/en/product_detail.php?id=12)

If I didn't have to add the MAX232, is it necessary to invert the signals going to MCU? If it is, why?

I am sorry for the long questions, but it is my first time to deal with the RS232. Thank you very much in advance.

Siraj MuhammadSiraj Muhammad
3522 gold badges4 silver badges19 bronze badges
$endgroup$Usb To Serial Using Atmega8

4 Answers

$begingroup$

The asynchronous serial protocol can use different voltage levels and polarities.

Usb To Serial

RS232 refers to a specific set of voltage levels, inverted polarity, and (nowadays) a DB9 connector.

A USB-to-serial chip (like the FT232) outputs asynchronous serial at 3V or 5V level, not inverted. A MAX232 or similar chip is used to convert this to RS232 level.

The serial pins of a microcontroller use asynchronous serial at the 3V or 5V level. A max232 chip can be added to bring the signals to RS232 level.

Most USB-to-serial cables (including the on you refer to) include both the usb-to-serial chip AND the max232, with no possibility to access the in-between level.

So, for a successful asynchronous serial PC-to-microcontroller connection there are two possibilities(FT232 can be swapped for an equivalent chip from another vendor):

  • PC-FT232-microcontroller: this is the easy way, often used for a PCB with the microcontroller and the FT232 chip.

  • PC-usb_to_serial_cable-max232-microcontroller: this might seem a bit convoluted, because the signals are first converted from 3V or 5V to RS232 (inside the usb_to_serial cable), and then converted back by the max232 to the level that the microntroller can handle. But usb_to_serial cables are so common and check that this is often the aeasy option.

(A third option is to use a microcontroller that is itself USB-capable.)

Your debug board has a max232 and a DB9 connector, so you should use an off-the-shelve usb_to_serial converter cable, like the one you link to.

Wouter van OoijenWouter van Ooijen
45.2k1 gold badge53 silver badges122 bronze badges

Usb To Serial Using Atmega8

$endgroup$$begingroup$

FTDI is the best-known manufacturer for USB-to-UART bridges. 'UART' means that the signals are at microcontroller level, i.e. 3.3V or 5V. You can connect such a bridge directly to a microcontroller.
If you want to connect to another computer via a DB9 connector you'll have to add the MAX232, since that connector expects RS232 voltage levels (+12V and -12V).

When we talk about USB-to-RS232 converters, those are USB-to-UART bridges with a MAX232 level converter built-in. They will terminate in a DB9 connector, which is almost always a sign that it uses RS232 levels.

radagast

Usb To Serial Driver Windows 7

radagast
1,5061 gold badge15 silver badges28 bronze badges
$endgroup$$begingroup$

There are USB to UART chips from FTDI, TI, Maxim and others. check one which has the same supply and IO voltage as the debugger's chip.

Lior BiliaLior Bilia
4,8131 gold badge12 silver badges24 bronze badges
$endgroup$$begingroup$

My experience is that MOST motherboards, at least in the last 10 years or so, do just fine with TTL levels, but you need to invert the UART. Your mileage may vary.

Scott Seidman

Usb To Serial Belkin

Scott Seidman

Usb To Serial Adapter

24.1k4 gold badges33 silver badges93 bronze badges

Usb To Serial Driver Download

$endgroup$

Usb To Serial Driver

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