Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-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
Joined
Jul 29, 2002
Messages
5
Location
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
 
Hi, any optocoupler will work at these speeds, recheck your circuit.
 
Hello turbo, I have done 2 megabaud with HP optos.
 
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.
 
Try with HP2630 optos speed 10 Mbaud) it will work.
 
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.

Part and Inventory Search

Sponsor

Back
Top