If you are looking for;
- How to program Arduino Mini Pro with CP2102 USB-to-TTL serial converter 5 pins without DTR (reset pin)
- How to program Arduino Mini Pro without using Arduino board as ISP
This post probably will help you.
- Arduino Mini Pro (In this example I'm using Arduino Mini Pro 5v / 16Mhz version)
- CP2102 USB-to-TTL (Drivers for Mac, Windows, Linux or more..)
Connections CP2102 USB-to-TTL 5pins to Arduino Mini Pro:
- CP2102 USB-to-TTL: TXD (green) -> Arduino Mini Pro RX
- CP2102 USB-to-TTL: RXD (yellow) -> Arduino Mini Pro TX
- CP2102 USB-to-TTL: GND (brown) -> Arduino Mini Pro GND
- CP2102 USB-to-TTL: +5V (red) -> Arduino Mini Pro VCC
Uploading Sketch with Arduino IDE
I'm currently using Arduino 1.5.5. I configured it as below;
- Arduino IDE -> Tools -> Board -> Arduino Pro or Pro Mini
- Arduino IDE -> Tools -> Processor -> ATmega328 (5V, 16 MHz)
- Arduino IDE -> Tools -> Port -> /dev/tty.SLAB_USBtoUART
- Arduino IDE -> Tools -> Programmer -> AVRISP mkII
- /dev/tty.SLAB_USBtoUART is the name of serial port shown on Mac OS X. On windows you should see comX (X is a number)
- To find serial port name list, write on terminal;
$ ls -l /dev/tty.*
The CP2102 USB-to-TTL hasn't 6th pin for auto reset Arduino board so you have to click on reset button on Arduino Mini Pro manually.
- Click on upload sketch (green right arrow)
- As soon as you see "Compiling sketch..." on status bar, click on reset button.
- If your timing is good you'll see "Done uploading."