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

    IR Link II
    Buffered Crystal VXO
    Wire loop theft alarm
    Arduino Knock
    ISP Programming Kit for AT89S52 and AVR series Microcontroller
    Wide Frequency Range 555 VCO
    eminent
    CM2 Practical
    N5ESE-built TenTec 1315/1330/1340
    PGA202 / 203 digitally controlled programmable gain instrumentation amplifier circuit
    Digital lighting circuit
    DK04 monitoring module with the computer communications interface circuits
    Easy Auto power battery charging circuit



    Top