Modding Auto-reset to CP2102 USB to TTL Serial Adapter to Program Arduino Pro Mini Like the FTDI Board

by Vitim in Circuits > Arduino

100723 Views, 63 Favorites, 0 Comments

Modding Auto-reset to CP2102 USB to TTL Serial Adapter to Program Arduino Pro Mini Like the FTDI Board

IMG_7285.jpg
$_1.JPG
$_1-1.JPG
arduinopromini.jpg

This USB to TTL Serial board based on the CP2102 chip, is readily available on eBay. And it can be used to program the Arduino Pro Mini and others which don't have USB on board. But it's not as convenient as the FTDI board sold by spark fun.

The pin out of the USB adapter and the Arduino doesn't match.
And the USB adapter doesn't have a auto-reset pin, so every time you have to hold reset at the exact time you hit upload a new code.

So I will address both of this issues here.

CP2102 Datasheet: https://www.sparkfun.com/datasheets/IC/cp2102.pdf

Drivers: http://www.silabs.com/products/mcu/pages/usbtouart...

Desoldering the Pin Header

IMG_7270.JPG
IMG_7273.jpg

Cutting a Piece of Perfboard

IMG_7271.JPG
IMG_7272.jpg

Just cut a piece of perfboard with a sawtooth, and sand the edges to make it smooth.

Then I used piece of steel wool to remove the oxidation layer of the copper to make soldering easier.

Soldering

IMG_7275.jpg
IMG_7274.jpg
IMG_7276.jpg

Using the same pin header removed earlier, I inserted it from the bottom and then soldered it on the top.

IMG_7277.jpg
IMG_7278.jpg

Then I trimmed the rest of the pin header with a old scissors and soldered it to the bottom side.

This makes a very solid connection.

Very Thin Enameled Wire

IMG_7298.jpg
IMG_7300.jpg
IMG_7302.JPG

I savaged a wire from a cheap broken pair of earphones, they are thin enameled stranded wire. I untwisted one of then and cut just one little strand to the next step.

Auto Reset Feature

IMG_7287.jpg
IMG_7287.jpg

To use the auto-reset to upload code from the arduino IDE, we will use the DTR pin on the CP2102 chip.

On the data sheet we can find the pin-out.

Name Pin # Type Description
DTR28* D Out Data Terminal Ready control output (active low)

Unfortunatelly this board does not have this pin routed, bute there's a workaround.

Using the very thin enameled wire, burn the tip of the wire applying tin to it using the iron to remove the varnish coating.

Then remove all solder from the tip of your iron.

This can be done with naked eye, but if you find it difficult some magnification may help here.

place the enameled wire on to of the pin 28, there's no solder pad, it is small but it's there.

Them just touch the iron on top, it will solder instantly. (I got it on the first attempt)

Don't move it, it's very fragile, so just add a drop of super glue on the wire to give some mechanical strength. Do not put glue on top of the pin, glue the wire to a empty area on the board.

If you need some idea on soldering tiny stuff, I have a video repairing a iPad flex cable, with similar dimensions. Note that the video is great magnified.

Soldering the Male Header

IMG_7280.jpg
IMG_7279.jpg

Adding a Header to Select Voltage Using a Jumper

IMG_7295.JPG

Wiring

IMG_7288.jpg

Final Result

IMG_7306.JPG
IMG_7285.jpg
IMG_7284.jpg
IMG_7281.jpg
IMG_7289.jpg
IMG_7283.jpg
IMG_7282.jpg
IMG_7290.jpg

Some photos of the final result.