rs232 with opto isolation


Posted on Feb 6, 2014

Even though i had isolation at the sensors and actuators to make doubly sure the PC also has been isolated. There are chips that are available for this purpose, The circuit above is built with discrete and passive components except for the opto 4N35. You can use MCT2E and CNY17-3 Optos too. For MCT2E some tweak may be needed as current transfer ra


rs232 with opto isolation
Click here to download the full size of the above Circuit.

tio is 20, for the other two CTR is 100 so above design will work. The circuit derives power from PC but does not load the PC supply. Any voltage above 5V applied to the PC connectors may lead to damage of motherboard in PC. Old PCs were more vulnerable but PCs today maybe a bit rugged at the Ports. Due to internal current limits and clamping. The VCC, VDD and Agnd are derived from PC no other power needs to be applied on PC side of opto. On uC side of opto the uC power supply lines +5 and gnd has to be used. There is no copper link between the two sides and depending on opto a 1KV isolation is possible if PCB is well designed. The PCB should show the visual isolation above and components should be laid on separate areas of PCB to prevent creepage. The LEDs are to indicate the port activity Rx and Tx, they are not required once testing is over. The circuit can be simpler, but this worked for me and it is not tested at very-high buad rates. The levels of RS232 are not TTL like 0-5 we have both polarities +10 and -10. The circuit has to change that to drive the Opto Leds. Read more about serial port here.




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Microphone Preamplifier BC547B
    Voltage comparator circuit
    Gas analyzer circuit
    Sound effects generator
    Overtone crystal oscillator
    Radio Commercial Zapper Circuit
    Latest Wireless Car Alarm circuit diagram and explanation
    op amp summer as a digital to analog converter dac
    metal detector project circuit
    Cranial Electrotherapy StimulatorCircuit
    Steady flow of power transistor circuit



    Top