Serial COM port using ATmega8

Many times, I have written code for UART communication and when it came to testing, my laptop does not have a serial port. I bought a USB to serial port converter but it didnt worked. I felt frustated and finally thought of buying a Serial to Com port module in an electronics hobby store. After seeing that I got the idea of making one myself. I ha
Serial COM port using ATmega8 - schematic

ve 2 USB AVR Programmers with me. I tried different circuits but they didnt worked for Windows 7 because of driver problems. I googled for the circuit and finally came to know that the circuit of USB Programmer and USB to Serial port are both same. I just have to connect some wires in the programmer and change the firm ware of the programmer and it became USB to Serial Converter! Voila! My laptop has a serial port now! There are other methods in internet, but you can only them in old PC`s of with Windows 98 or XP. You will find support for high end operating systems like Windows 7. This circuit is tested and it is working 100%. I started using COM port for all my projects because you can give different inputs and debugging became even more simple using serial port. In the above link you will find the details of the circuit. You can build the circuit using ATTiny45 or ATTiny2313 or ATmega8. But the baud rate speeds will vary depeding upon the device you use.

Leave Comment

characters left:

New Circuits