A complete RS232 protection with many optocouplersCONTENTSWHY`?If you ever lost an onboard RS232 while testing some "apparently harmless" serial device... you may figure out how much anger and grief an interface protection could have saved...!HOW`?Optocouplers! They provide a groundfree signal transmission with convenient electrical and RF-properties.DC-separation goes up to several kilovolts and in general optocouplers have a pretty small cross-capacity which is beneficial for coupling some sensible and/or dangerous high-frequency devices to each other. It has to be considered, that the PC's interfaces usually are no way robust at all. That's why reasonable people refrain from using the onboard parallel, serial or USB ports for experimentation! Otherwise you will loose one of your ports or maybe the whole precious mainboard some sunny day, regardless of how much precautions have been taken against electric discharges and such unpleasant things... (This may be referred to as "McMurphy's Laws on standard interfaces"...) Protection and de-grounding a serial port would be a minor task as long as the so-called "software protocol" is used; it requires only two signal lines (RxD and TxD) to communicate with the external serial device. Just to mention, that simple variant usually consists of two optocouplers and some cheap workaround to re-generate signals with some MAX232. It can be purchased off the shelf for funny pay. Surely these devices were appreciable for some software-handshaked interfaces to be protected - but in fact it is not a universal solution! Still there are applications that strictly require all the other interface lines as well! Even a simple data transmission performed with the normal "hardware-protocol", for instance, additionally requires RTS and CTS for performing the handshake. Thus, a wholeout RS232-protector includes all these 8 interface lines available at a standard RS232 port. To preserve a good compatibility, the electrical properties must comply with RS232 standardizations. This is, basically, logical voltages of about +/- 12 V, a limitation on output and input currents to 10 mA. That's exactly what my circuit was designed for: All interface lines transmit via optocouplers. CIRCUIT
ADDITIONAL MATERIALHere you can download the layout (200dpi) and site plan.COMPONENTS
PICTURE
REMARKSSimple but strong. Tested successfully even with a 56.600 bps modem, in a 115.200 bps laplink and with several non-standard-modes either. Contact me for credits, donations or further questions on that fine project...LINKSWhole lotta information on RS232, its specification and terms - ask Google for RS232http://www.beyondlogic.org/serial/serial.htm Datasheets to CNY74-optocouplers (PDF) The project was first published in FUNKAMATEUR 11/2002 first published 11/2002 - revision on this document 01/2004 |