Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RS232 Isolated Interface Circuit Assistance

Status
Not open for further replies.

turbo22

Electrical
Jul 29, 2002
5
0
0
US
I have designed an isolated RS232 interface for a PIC16F877 circuit. Isolation is necessary since my circuit is powered from a direct mains regulator (no power transformer). I'm using a MAX232 converter and a couple of 4N35 optoisolators for the TX/RX paths. At 19200 baud, I'm starting to get garbage characters at the PC end. Has anyone successfully build an isolated interface that will handle this (or higher) baud rates? What would be the fastest optocouplers to use in this situation? I would like to get 115k baud but that's probably just wishful thinking. Thanks.

Bill Stottlemyer

stottlemyerb@decorp.com
 
Replies continue below

Recommended for you

Stefandk's suggestion of the E-B resistor has worked for me, but a better option would be to use an optocoupled logic gate (H11L1 or similar).
These work at much higher speeds than opto transistors. 115200 baud should be no problem.
 
A single transistor coupler will work at those speeds if the circuit is tweeked for that coupler. If margin is added for temp and age, then the single transistor couplers drop to about 10-15kB.

You can switch to a high speed analog (PIN diode) type coupler like the NEC PS8101, that will get you up to 1Mb. The full digital couplers are overkill for what you want.
 
Status
Not open for further replies.
Back
Top