Communication between a USB/serial device and an AVR (atmega/Arduino) microcontroller

Posted on Feb 4, 2014

A device which provides a USB port. If I attach it to a Windows PC it is recognized as a `CP2103 USB to UART Bridge Controller`. According to the device documentation, it should communicate in serial format at 38400bps. Since the USB pinout is different from the serial UART of the uC, firstly I thought I would need a circuit to convert thesignals. I found the AVR-CDC project and put on a CDC-232 in order to convert

Communication between a USB/serial device and an AVR (atmega/Arduino) microcontroller
Click here to download the full size of the above Circuit.

USB (GND, D+, D-, VCC) to RS232 (TX, RX, GND): I programmed my uC to send some data to the device and I can follow the signal with the oscilloscope until it enter into the CDC-232, then I lose it. I have no output on pins 4 and 5 of the CDC-232 uC, where I should have a USB signal.

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Vacuum fluorescent display
    single phase half wave thyristor
    Multitone Siren Alarm circuit diagram
    tv transmitter and pal video modulation
    iButton Electronic Lock Schematic Diagram
    2003 gmc savana instrument cluster illumination lights
    ISO122 / 124 and PGA102, isolated channel has a programmable gain circuit diagram
    915MHz Power Amplifier RF2155 circuit diagram