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:

New Circuits

.

 


Popular Circuits

Control 7 segment LED displays with AVR
Control an Amplifier With a SqueezeBox
automatic street light control system
HHO generator power supply
Telephone Ringer
Homemade infrared automatic door controller circuit



Top