Sonsivri

Electronics => Hardware and Tools => Topic started by: biomed12 on September 21, 2016, 05:09:36 17:09



Title: [Help]RS-232 Protocol to USB Protocol Circuit Diagram
Post by: biomed12 on September 21, 2016, 05:09:36 17:09
Hello Dear Members,

As I mentioned at the subject, I want to embed the circuit which is "rs-232 to usb" to my ethernet board project and I want to use rs-232 algorithms and methods, in meantime I want to use USB socket physically also. Before I have used this:

https://www.aliexpress.com/item/Free-shipping-UPS-EMS-DHL-USB-to-RS232-Serial-9-Pin-Cable-Adapter-PC-PDA-RS/362377564.html?spm=2114.30010308.3.107.qZnqrT&ws_ab_test=searchweb201556_7,searchweb201602_5_10057_10056_10065_10068_10055_10054_10069_301_10059_10033_10058_10032_418_10073_10017_10070_10060_10061_10052_10062_10053_10050_10051,searchweb201603_1&btsid=6982a69f-0959-4a81-a7fe-28741f1624a9

But now I want to embed this circuit to my board directly. I googled but I found a lot of diagram.

http://www.electronics-lab.com/rs232-serial-to-usb-converter-cable-schematic/

http://pinouts.ru/Converters/usb_serial_adapter_pinout.shtml

There are a few type diagrams like these.

Thanks.


Title: Re: [Help]RS-232 Protocol to USB Protocol Circuit Diagram
Post by: titi on September 21, 2016, 06:22:02 18:22
Hi biomed12,

I think in your case, the most easy way to interface USB with any microcontrollers, is to use an USB-to-TTL 3.3v 5v serial adapter module.
This kind of module give you a direct access with your system and it is possible on some module to chose the level for Input/Ouput in 3.3v or 5v according the system your use.
These modules exist with FTDI Chip or Prolific or CH340G chip, and the price is very low on eBay or AliExpress ...

It is also possible to use an USB-RS232 TTL cable that give you direct connection in TTL level 5v or 3.3v but you need to select a 5v or 3.3v cable you buy it.

Best regards


Title: Re: [Help]RS-232 Protocol to USB Protocol Circuit Diagram
Post by: CocaCola on September 21, 2016, 06:54:15 18:54
A simple Google search for 'rs232 to usb ic' will reveal several dedicated chips that will do the job (the FTDI chips seem to enjoy the most market share) or if you are ambitious you could take a USB enabled microchip and write your own firmware...


Title: Re: [Help]RS-232 Protocol to USB Protocol Circuit Diagram
Post by: biomed12 on September 21, 2016, 08:18:56 20:18
Thanks for answers. I find the enough information in the datasheet of ft232rl ic.