Sunday, February 05, 2017

Isolated RS232 interface to Microcontroller

I've seen on the net the schematics for RS232 with Opto-Isolation. The supply on the PC side is from the PC. The supply from the line side is external? I've seen the 3 connectors (RX, TX & GND) together with 2 connectors 5V. One of them is connected to the device. How about the other? Needs additional power source?

Could you send me the PCB and component layout, as well as the component list, I'm afraid to get mistaken

mail from CS

The the circuit you are referring to is... RS232 with Opto-Isolation
The Blue line indicates the Optical Isolation, no wires or cooper should cross this line. Yes the PC Powers the left side, The supply to the right side is the Microcontroller supply. The Microcontroller will have a +5 and GND use this for the right side of opto. I have no PCB for this. You can make your own PCB using eagle cad. I made this circuit as i could not risk my PC and had no other components. I had to make a high voltage measurement with the PC, so this caution.
Also use the Max232 if you do no need 1KV Optical Isolation.

Here is a interface from RE Smith Inc, the one below is not isolated. They have Isolated versions too.

The RS422S is a fast Async bi-directional RS232 to RS422 interface converter that will operate at data rates up to 115.2Kbps. The unit has jumpers termination, RS232 DTE/DCE selection and, TTL/CMOS operation. The unit has two RJ11/12 connectors an a pin header for power, common TTL/CMOS TX data and RX data.

Discover Circuits - Opto-Isolator Coupler Circuits
RS232 to RS232 Port Powered Optical Isolator: Brochure with schematic in PDF format / (added 7/02). RS232C Circuit has Galvanic Isolation: