11984 views|26 replies

398

Posts

0

Resources
The OP
 

How to use jumper caps in circuits [Copy link]

 
Now I have a serial port (1) and want to use an external jumper cap to select which part to connect to (2) or (3). How should I design this part in the circuit? Can I use 3P pins? ? ? ?

IMG_20190117_160152.jpg (425.32 KB, downloads: 0)

IMG_20190117_160152.jpg
This post is from PCB Design

Latest reply

To be honest, when we encountered the problem of UART switching, the company also thought of many ways, and tried relays. Later, 4052 was found on someone else's wireless module evaluation board. The output was switched to 485 or 232. After a little attention, you can find that it has been removed from the shelves. If you really encounter this kind of problem, you will basically encounter 4052. I have seen even more exaggerated boards before, using two 16-to-1 analog switches to rotate 16-channel UART interface sensors. There is also a low-resistance analog switch that switches the feedback resistor of the op amp to switch the amplification factor. Oh my god, what a creative idea.  Details Published on 2019-3-21 09:05
 

2113

Posts

0

Resources
2
 
OK
This post is from PCB Design
 
 

6366

Posts

4936

Resources
3
 
Use two 3P pin headers, one for RX selection and one for TX selection
This post is from PCB Design

Comments

Two 3P pin headers, I don't quite understand  Details Published on 2019-1-17 17:29
Two 3P pin headers, I don't quite understand  Details Published on 2019-1-17 17:22
Two 3P pin headers, I don't quite understand  Details Published on 2019-1-17 17:22
 
 
 

398

Posts

0

Resources
4
 
tiankai001 posted on 2019-1-17 16:24 Use two 3P pin headers, one for RX selection and one for TX selection
Two 3P pin headers, I don't quite understand
This post is from PCB Design
 
 
 

398

Posts

0

Resources
5
 
tiankai001 posted on 2019-1-17 16:24 Use two 3P pin headers, one for RX selection and one for TX selection
Can you give a rough drawing?
This post is from PCB Design
 
 
 

398

Posts

0

Resources
6
 
tiankai001 posted on 2019-1-17 16:24 Use two 3P pin headers, one for RX selection and one for TX selection
Is this how to select?

IMG_20190117_172819.jpg (442.22 KB, downloads: 0)

IMG_20190117_172819.jpg
This post is from PCB Design

Comments

There is no need to consider GND. If the floating end needs a fixed level, use an external pull-up resistor, but grounding will cause problems and conflict with the start bit of the serial port.  Details Published on 2019-1-17 17:45
 
 
 

1w

Posts

142

Resources
7
 
The most intuitive way is to use a 2*4 8-pin pin header. When wiring, follow the direction of the original poster's diagram. The 4 pins on the left are connected in parallel, and the right side corresponds to two paths. Use two jumpers to select. Plug in the upper two sets of pins to connect to the MCU, and plug in the lower two sets of pins to connect to the USB, and indicate it with silk-screen characters next to it.
This post is from PCB Design
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

1w

Posts

142

Resources
8
 
Another way is to use a 2*3 6PIN pin header. When wiring, the two middle pins are connected to the transceiver on the left side of the original poster's picture, and the two sides correspond to the MCU and USB respectively. Also use two sets of jumper caps to operate.
This post is from PCB Design

Comments

Is that so?  Details Published on 2019-1-18 09:00
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

1w

Posts

142

Resources
9
 
Which method is appropriate needs to consider the position, size and density of components on the PCB. The principle is to facilitate direct manual operation and have space to indicate silk screen characters.
This post is from PCB Design
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

1w

Posts

142

Resources
10
 
xxhhzz Posted on 2019-1-17 17:29 Is this the way to choose?
There is no need to consider GND. If the floating end needs to have a fixed level, use an external pull-up resistor, but grounding will cause problems, which will conflict with the start bit of the serial port.
This post is from PCB Design
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

875

Posts

1

Resources
11
 
What does it mean when you choose to circle the first one? Isn't it enough to leave two pins for RX and TX output on the board?

微信截图_20190117175058.png (146.93 KB, downloads: 0)

微信截图_20190117175058.png
This post is from PCB Design
 
 
 

78

Posts

6

Resources
12
 

This post is from PCB Design

Comments

This method is more common  Details Published on 2019-1-18 07:26
 
 
 

9702

Posts

24

Resources
13
 
arm8686 posted on 2019-1-17 20:21
This method is more common
This post is from PCB Design
 
 
 

377

Posts

0

Resources
14
 
Learn more about CD4052. It can be controlled by program or DIP switch. Why do we need pin headers? Pin headers are not much cheaper.
This post is from PCB Design

Comments

Dip switch is a good choice[attachimg]399358[/attachimg]  Details Published on 2019-1-18 09:13
 
 
 

6366

Posts

4936

Resources
15
 

This post is from PCB Design
 
 
 

398

Posts

0

Resources
16
 
chunyang posted on 2019-1-17 17:41 Another way is to use a 2*3 6PIN pin header. When wiring, the two middle pins are connected to the transceiver on the left side of the OP's picture. The two sides correspond to the MCU and USB respectively. Also use two...
Is that it?

IMG_20190118_084420.jpg (2.45 MB, downloads: 0)

IMG_20190118_084420.jpg
This post is from PCB Design

Comments

Note that the Rx of the serial port should be connected to the Tx of the microcontroller.  Details Published on 2019-1-18 09:14
 
 
 

6366

Posts

4936

Resources
17
 
LeoMe posted on 2019-1-18 08:49 Learn more about CD4052. It can be controlled by program or DIP switch. Why must it have pin header? Pin header is not much cheaper
DIP switch is a good choice
This post is from PCB Design

Comments

It's not a dip switch. The uart dual switching circuit you mentioned is made by CD4052.  Details Published on 2019-1-19 08:35
 
 
 

6366

Posts

4936

Resources
18
 
Note that the Rx of the serial port should be connected to the Tx of the microcontroller.
This post is from PCB Design
 
 
 

1w

Posts

142

Resources
19
 
The 15th floor is a typical 6-pin connection, and the 17th floor is equivalent to the 8-pin connection. However, it is not recommended to use two independent 3-pins, because that requires two markings, which is easy to be overlooked, unless the PCB is very empty. The 8-pin connection is replaced by a dip switch. Unless it is due to height restrictions, the surface-mounted micro-dip switch, which is the kind that needs to be operated with tweezers, is not recommended (referring to ordinary dip switches). Because a dip switch must be given on the PCB, incorrect settings due to "hand tidal" may cause level competition. Good design should not only consider the correctness of the electrical principle, but also consider processability and ease of use.
This post is from PCB Design
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

869

Posts

0

Resources
20
 
I strongly support the OP ing...
This post is from PCB Design
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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