645 views|17 replies

3252

Posts

0

Resources
The OP
 

Why I used this circuit to isolate the communication between the main control and the serial screen, and eliminate the interference of the mainboard radio frequency to the serial screen, but the result was... [Copy link]

 

Serial communication optocoupler isolation circuit

Why I use this circuit to isolate the communication between the main control and the serial screen, and eliminate the interference of the mainboard radio frequency to the serial screen, but the serial port fails to communicate. When I turn on the computer, the serial screen cannot receive any instructions from the mainboard MCU, let alone touch setting parameters. What is wrong?

This post is from Circuit Observation Room

Latest reply

It would be better to use high-speed optocouplers for communication isolation optocouplers   Details Published on 2024-8-6 13:49
 
 

1136

Posts

2

Resources
2
 

Under high-frequency signals, PC817 must be replaced with a high-speed optocoupler, or a digital signal isolator, similar to the one shown below.

This post is from Circuit Observation Room

Comments

What brand of chip is this? There are too many pins to fit.  Details Published on 2024-7-12 14:40
What brand of chip is this? There are too many pins to fit.  Details Published on 2024-7-12 14:36
 
 
 

6069

Posts

4

Resources
3
 
This post was last edited by damiaa on 2024-7-11 08:33

In both figures, a level of npn transistor is added to the side with the diode so that the driving capability is sufficient and there is no reverse. In addition, the communication rate must be high, so a high-speed optocoupler is required.

If you don't want to add a transistor, you can first change the control (the end of the CPU's TX_S connected to the resistor and the end of the external input TX_P connected to the resistor) to be placed below the diode, and the power supply is connected above, and the resistor is smaller. This can also increase the driving ability, but whether it is enough still needs to be tested specifically. The pull-down input current (pull current) of the IO port is generally larger than the output current (sink current).

This post is from Circuit Observation Room

Comments

Moderator, please post a picture  Details Published on 2024-7-12 14:38
 
 
 

2w

Posts

341

Resources
4
 

No optocoupler required.

How much better it is to use digital isolator chip for isolation directly?

For example, ADuM1201, ISO7221

This post is from Circuit Observation Room

Comments

Do I need two power supplies?  Details Published on 2024-7-12 14:37
 
 
 

202

Posts

0

Resources
5
 

You used this diagram, the data logic is reversed

This post is from Circuit Observation Room

Comments

How to change  Details Published on 2024-7-12 14:38
 
 
 

1582

Posts

0

Resources
6
 

Same as the 5th floor suggestion

The data logic is reversed

The modification method can refer to the method on the 3rd floor. Connect tx and rx to the cathode of the optocoupler, and pull the anode of the optocoupler up to the power supply.

Or add an inverter to the input signal end

If it is too troublesome, you can use an isolator directly

This post is from Circuit Observation Room
 
 
 

3252

Posts

0

Resources
7
 
beyond_笑谈Published on 2024-7-10 21:04 Under high-frequency signals, PC817 must be replaced with a high-speed optocoupler, or a digital signal isolator, similar to the one shown below

What brand of chip is this? There are too many pins to fit.

This post is from Circuit Observation Room

Comments

Just check the specifications for the models in the picture. If they are not necessarily domestic components, many high-speed signal isolation chips  Details Published on 2024-7-12 15:18
 
 
 

3252

Posts

0

Resources
8
 
qwqwqw2088 posted on 2024-7-11 08:57 It would be much better to use digital isolator chips for isolation instead of optocouplers, such as ADuM1201 and ISO7221

Do I need two power supplies?

This post is from Circuit Observation Room
 
 
 

3252

Posts

0

Resources
9
 
damiaa posted on 2024-7-11 08:25 In both pictures, add a npn transistor to the side with the diode so that the driving ability is sufficient and it is not reversed. In addition, the communication rate must be high, and a high-speed optocoupler is required. If...

Moderator, please post a picture

This post is from Circuit Observation Room
 
 
 

3252

Posts

0

Resources
10
 
dukedz posted on 2024-7-11 09:24 When you use this chart, the data logic is reversed

How to change

This post is from Circuit Observation Room
 
 
 

3252

Posts

0

Resources
11
 
beyond_笑谈Published on 2024-7-10 21:04 Under high-frequency signals, PC817 must be replaced with a high-speed optocoupler, or a digital signal isolator, similar to the one shown below

Chuanshi Micro-Nano Chip Micro-Rongpai

This post is from Circuit Observation Room
 
 
 

1136

Posts

2

Resources
12
 
QWE4562009 posted on 2024-7-12 14:36 What brand of chip is it? There are too many pins to fit

Just check the specifications for the models in the picture. If they are not necessarily domestic components, many high-speed signal isolation chips

This post is from Circuit Observation Room
 
 
 

6069

Posts

4

Resources
13
 
This post was last edited by damiaa on 2024-7-12 15:54
QWE4562009 posted on 2024-7-12 14:38 Moderator, please post a picture

The 300 ohm resistor can be reduced appropriately or something like that. The resistor can also be adjusted directly.

It looks better to replace the triode with a double triode:

This post is from Circuit Observation Room

Comments

3 sets of pictures are confusing  Details Published on 2024-7-12 16:11
 
 
 

3252

Posts

0

Resources
14
 
damiaa posted on 2024-7-12 15:48 The 300 ohm resistor can be appropriately reduced or something. The resistor can also be adjusted directly. ...

3 sets of pictures are confusing

This post is from Circuit Observation Room
 
 
 

1136

Posts

2

Resources
15
 

If you don't use a high-speed signal isolation chip and want to use an optocoupler, it is recommended to choose a high-speed optocoupler, after all, it is used for serial port signal isolation.

image.png (119.18 KB, downloads: 0)

image.png
This post is from Circuit Observation Room

Comments

What kind of optocoupler is a high-speed optocoupler? Which parameter should be higher than what level to be considered high-speed?  Details Published on 2024-7-15 17:56
 
 
 

3252

Posts

0

Resources
16
 
beyond_笑谈Published on 2024-7-15 17:21 If you don't use a high-speed signal isolation chip and want to use an optocoupler, it is recommended to choose a high-speed optocoupler, after all, it is used for serial port signal isolation.

What kind of optocoupler is a high-speed optocoupler? Which parameter should be higher than what level to be considered high-speed?

This post is from Circuit Observation Room
 
 
 

15

Posts

0

Resources
17
 

It would be better to use high-speed optocouplers for communication isolation optocouplers

This post is from Circuit Observation Room

Comments

Digital chips are better  Details Published on 2024-8-10 09:59
 
 
 

3252

Posts

0

Resources
18
 
xmj0615 posted on 2024-8-6 13:49 It would be better to use high-speed optocoupler for communication isolation optocoupler

Digital chips are better

This post is from Circuit Observation Room
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list