How to upload sketches to Arduino UNO chip using PL2303 USB To RS-232 Converter
PL-2303HX provides a convenient solution for connecting an RS232-like full-duplex asynchronous serial device to any Universal Serial Bus (USB) capable host. PL-2303HX highly compatible drivers could simulate the traditional COM port on most operating systems allowing the existing applications based on COM port to easily migrate and be made USB ready.
By taking advantage of USB bulk transfer mode, large data buffers, and automatic flow control, PL-2303HX is capable of achieving higher throughput compared to traditional UART (Universal Asynchronous Receiver Transmitter) ports. When real RS232 signaling is not required, baud rate higher than 115200 bps could be used for even higher performance. The flexible baud rate generator of PL-2303HX could be programmed to generate any rate between 75 bps to 12M bps.
PL-2303HX is exclusively designed for mobile and embedded solutions in mind, providing a small footprint that could easily fit in to any connectors and handheld devices. With very small power consumption in either operating or suspend mode, PL-2303HX is perfect for bus powered operation with plenty of power left for the attached devices. Flexible signal level requirement on the RS232-like serial port side also allows PL-2303HX to connect directly to any 3.3V~1.8V range devices.
There are two ways to upload a sketch using a PL2003 USB to RS232 adapter, both can be used with gigino board, too.
The manual Way
Manual Reset (Press Switch Reset)
1. Connect the circuit as shown in figure.
2. Install driver for USB TO RS232 and check the number of comport.
3. At Arduino IDE software
: Tools>>Board>> Arduino UNO
: Tools>> Serial Port >> Com X (number on your PC)
4. Click "Verify button" wait until 'Done compiling'.
5. When you need to upload sketch.
Press Swith reset and hold it, Click "Upload button" and count x seconds (the time up on windows and PC you use, for my testing with XP windows took 3 seconds). After that, Release Switch.
If you choose the good time for your system, you will see " Done uploading". Yor are done!!!
If you quickly or slowly release switch, it cannot upload, you need to try again with the best time for you.
The Automatic Way
Auto Reset (Software Reset)
1. Connect the circuit as shown in the figure below. (You need to solder the wire from PIN number 2: DTR_N of PL2303 chip and connect to 0.1uF and connect to PIN number 1 of UNO.
2. You can upload normal sketches automatically.