USB to RS232 Using Atmel ATtiny2313 or ATmega8


Posted on Feb 6, 2014

The Universal Serial Bus (USB) interface has become extremely popular, due to its simplicity for end user applications (Plug and Play without restart). For developers, however, USB implementation into end systems has been more complicated compared to e. g. RS232. In addition there is a need for device drivers as software support on the PC side. Bec


USB to RS232 Using Atmel ATtiny2313 or ATmega8
Click here to download the full size of the above Circuit.

ause of this, RS232 based communication is still very popular among end systems manufacturers. This interface is well established and has good operating system support, but recently the physical RS232 port has been removed from the standard PC interface, giving ground to USB ports. Implementation of USB into external devices can be done in two ways: 1. By using a microcontroller with hardware implemented USB interface. It is necessary to know how USB works and write firmware into the microcontroller accordingly. Additionally, it is necessary to create a driver on the computer side, unless if the operating system includes standard USB classes. The main disadvantage is the lack of availability of this kind of microcontrollers and their high price compared to simple RS232  microcontrollers. 2. The second option is to use some universal converter between USB and another interface. This other interface will usually be RS232, 8-bit data bus, or TWI bus. In this case there is no need for special firmware, it isn`t even necessary to know how USB works, and no driver writing is required, as the converter vendor will offer one driver for the whole solution. The disadvantage is the higher price of the complete system, and the greater dimensions of the complete product. The solution presented in this document is a USB implementation into a low-cost microcontroller through emulation of the USB protocol in the microcontroller firmware....




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    LM12 Simple Power Amplifier
    SW Loop Antenna
    Single chip pump controller
    Optical-ttl-coupler
    DDR Memory Power Supply: 5V to 28Vin 1.5V@ /-10A Vtt (3V external reference)
    2 Watt FM Transmitter
    interfacing of led wiht avr atmega16
    555 pulse timer circuit diagram basic
    Industrial & Domestic Electronic Kits
    96 ford explorer: My headlights do not work interior lights
    8-channel temperature detection circuit
    Capacitor step-down DC power supply circuit



    Top