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

    SmartCard adapter / interface for PC
    The switching power supply for electrocar based on UC3842 is designed
    20W audio amplifier using TDA7240
    HF transceiver
    self made data logger
    Whistle Light Switch
    PC 12V Adapter
    Photoelectric controller circuit immunity



    Top