RS232 to UCB using cp2102 chip

rs232usb

Long times ago I bought on the ebay a cheap rs232->usb converter, today I wanted to use but I realized that I don't have the pinout. This is the converter how can I figure it out the pinouts, does anybody has experience with this?
enter image description here

Best Answer

Since USB does not have negative voltages, I think it's probably unsafe to assume that pin one is ground.

I would guess that the pin you say has -3.3V is actually ground. You can confirm this by measuring the resistance between the pins and the USB ground pin (you may need to cut up a USB cable. Alternatively, the USB shield may be grounded, so try just probing with one lead on the USB connector metal casing).

Going from there, I would write a little script that outputs a continuous serial stream, and poke around with an oscilloscope until I found the TX line.

Then, I would take a device (an arduino, for example), and set the arduino up to output a continuous stream of serial bytes. Then, with a 10K resistor in series with the arduino TX, you poke around on the pins until you see that you are receiving data from the USB-serial interface. That will tell you where the RX line is.


The alternative option is simply to trace out the PCB traces. The CP2102 datasheet is freely available, and I doubt that board is more then two layers. It shouldn't be too much work to follow the traces back from the connector.

You may need to probe some of the IC pins to verify the path of any traces that run under the IC, use a needle in a clip-lead for that (probing the pins on a QFN is fiddly - the pins are tiny).