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

    Ground pole & 2-Half-Wave Dipole Antenna
    Single and Two Cell White LED Drivers
    Power Amplifier 2x30W
    10M Dsb Transmitter Circuit
    Designing A Li Ion Battery Charger with Load Sharing MCP73837
    Upgrade Your USB Hub
    Gene Cafe Dimmer Control Mod
    hi fi stereo multiplexer for fm
    easiest single axis solar tracker
    sound Circuits
    infrared remote control tester
    WSH412 Hall Effect Sensor IC With Thermal Lock Protection And Auto Restart Function
    Connecting an IR Sensor
    Audio Voice-Over Circuit
    Intelligent ultrasonic ranging ASIC SB5227 peripheral circuit design
    Multifunctional Hi-Fi preamplifiers



    Top