what is unknown?Because there are too many unknowns.
this picture is in below websiteWhat is J1 computer?
What is J2 instrument?
Hyper TerminalWhat software are you running?
RS232What are the COM protocols on both J1 and J2?
this circuit don't workWhat data is being transmitted from where to where?
Just Google "RS232 optoisolator" and you'll get plenty of answers. Some self-powered, like the one you've just given. And others powered through an external power supply.Can you show me a circuit for RS232 isolator?
I had a nightmare with a ground loop two years ago while trying to interface a CNC ... that's usually the most common reason why people set up optoisolation in RS232 devices, other than special safety controls requested by the user, of course...Is there a particular reason you are wanting isolation?
but work properly when I connect directly two pc Together without OPTO_ISOLATOR (with 3 wire , Rx , Tx and Gnd) , so The problem is not the RTS , do I am in wrong?For starts, you have to use no hardware flow and/or handshaking control between ports for this device to work. Also you must make sure that your RTS signal on each of the two ports is logic high (a zero, in this case) sot that it can deliver up to +12V (+15V in some cases). And finally, whatever opto-isolator chip you're using must be sensitive enough for it to work with the meager 5ma that the RTS is normally able to deliver.
There might be other factors playing here, depending on your hardware, software, and application. But we'd need to know far more details than the ones you've just given.
I usually overcame this by obtaining the power for the PC from the CNC machine itself, I found most problems of blown communication IC's was when a different source of power was used, Ground to ground voltage difference etc.I had a nightmare with a ground loop two years ago while trying to interface a CNC ... that's usually the most common reason why people set up optoisolation in RS232 devices, other than special safety controls requested by the user, of course...
I want to connect my pc to a instrument that have different power supply , of course After the success at this stageIs there a particular reason you are wanting isolation?
Max.
I don't think you are getting the right ± (plus to minus voltage) signal transition?but work properly when I connect directly two pc Together without OPTO_ISOLATOR (with 3 wire , Rx , Tx and Gnd) , so The problem is not the RTS , do I am in wrong?
I have done this for many years, as long as the commons of both are connected it should not matter.I want to connect my pc to a instrument that have different power supply , of course After the success at this stage
You are right , I before connect directly my pc to device and Could not create any damage but don't talk together !I have done this for many years, as long as the commons of both are connected it should not matter.
Max.
In my case, the PC was connected to the same 110VAC power line as the servo driver I was trying to interface to. But it didn't matter if the grounds were connected close together or not... I'd get huge error readings unless one of the sides of the shield was left unconnected on the three conductor shielded cable that I used between the two DB9 connectors. So after connecting pins 2, 3 and 5, and leaving the shield connected only on the PC side of the cable things became acceptable, though not perfect. I'd still get one transmission error every 100 characters or so, which I had to manage by introducing CRC and communications monitoring techniques.I usually overcame this by obtaining the power for the PC from the CNC machine itself, I found most problems of blown communication IC's was when a different source of power was used, Ground to ground voltage difference etc.
Max.
by Duane Benson
by Jake Hertz
by Aaron Carman
by Duane Benson