If you are working with any UART stuff with micro controllers,you may have to debug them or send/receive data with a PC. In good old days,all of the computers got RS232 serial ports and we could use a MAX232 IC to convert RS232 to UART. But in recent years,RS232 ports got vanished in consumer computers specially in laptops (In good old days we got laptops with serial and parallel ports).
There are many solutions for USB to UART interface but some of them are not really cheap(like FT232). The cheapest way to use a simple USB to UART convertor.I recently got two of them and one is using PL2303HX and other one is using CP2102. Both are compatible with 3.3V LVTTL logic levels as it seems. If you have an Arduino board you can use them them program the board using the boot loader. The one I got with PL2303HX doesn’t have a pin soldered for automatic reset (it uses the DTR pin on a serial port for resetting) in Arduino programming, but according to datasheet you can solder it to pin 2 on PL2303HX. This a guide with pictures telling you how to do it. CP2102 board got a presoldered pin called RST,but it is for CP2102 reset,So you need to solder DTR pin for pin 28 of CP2102 according to the datasheet.
You can get DTR pre soldered CP2102 from Techkatha. They also get Arduino UNO clone kits for very good price.The service they provide is really good :)
I got PL2303HX based one for $1.68 and CP2102 based one for $2.13 . I got the both boards with required female to female jumper wires too.
Here I’m testing too boards and you can get drivers from;
PL2303HX Drivers
CP2102 Drivers
I did a simple echo test using my favourite serial debugging tool SSCOM32 (like good old HyperTerminal) . You can download it from here. The echo test on both modules was a success.
Great post!!!
ReplyDeleteMore to come ;)
Delete:D this actually poped up when i was searching for a solution!! ;)
ReplyDeleteawesome
ara usb module eka keeyada kohenda gaththe
ReplyDeleteI got PL2303HX based one for $1.68 and CP2102 based one for $2.13 from eBay at that time
Delete