2867 views|16 replies

194

Posts

0

Resources
The OP
 

Pull-up and pull-down resistors [Copy link]

 
This post was last edited by xbxdbd on 2023-9-14 09:43

Can someone explain to me whether a pull-up resistor or a pull-down resistor should be placed in the magnetic control circuit? Is it to improve the driving capability?

1.png (51.66 KB, downloads: 0)

1.png
This post is from Analog electronics

Latest reply

To increase the drive capability, put a pull-up resistor   Details Published on 2023-9-22 17:55

2w

Posts

0

Resources
2
 

In your diagram, pull-down resistors R10~R12 have been added to LIMIT1~LIMIT3.

This post is from Analog electronics
 
 

2w

Posts

0

Resources
3
 

[It is to improve driving ability]

The load of the microcontroller is outside the P2 [single-row pin]. If you don't know what the load is, how can you talk about [should I put in a pull-up resistor or a pull-down resistor]?

This post is from Analog electronics

Comments

The load is a Hall switch, which is used to magnetically sense the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin to connect the P2 interface of the motherboard.  Details Published on 2023-9-14 10:35
 
 
 
 

194

Posts

0

Resources
4
 
maychang posted on 2023-9-14 10:03 [It is to improve the driving capability] The load of the microcontroller is outside the P2 [single-row pin]. I don’t know what the load is, so how can I talk about [it should be put in the pull-up circuit...

The load is a Hall switch, which is used to magnetically sense the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin to connect the P2 interface of the motherboard.

This post is from Analog electronics

Comments

[The load is a Hall switch, which is used to magnetically sense the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin, which is connected to the P2 interface of the motherboard.] After talking for a long time, I only know that the 3/4/5 pins of the P2 socket are connected to one end of the three Hall switches, but who can  Details Published on 2023-9-14 10:56
[The load is a Hall switch, which is used to magnetically sense the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin, which is connected to the P2 interface of the motherboard.] After talking for a long time, I only know that the 3/4/5 pins of the P2 socket are connected to one end of the three Hall switches, but who can  Details Published on 2023-9-14 10:54
 
 
 
 

2w

Posts

0

Resources
5
 
xbxdbd posted on 2023-9-14 10:35 The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board, which contains 3 Hall switches and a...

[The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin to connect to the P2 interface of the motherboard]

After all this talk, I only know that the 3/4/5 pins of the P2 socket are connected to one end of the three Hall switches, but who knows where the other end of your [Hall switch] is connected to? Is it connected to the positive terminal of the power supply or the ground?

This post is from Analog electronics
 
 
 
 

2w

Posts

0

Resources
6
 
xbxdbd posted on 2023-9-14 10:35 The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board, which contains 3 Hall switches and a...

[The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board. The magnetic control board contains 3 Hall switches and a single-row pin to connect to the P2 interface of the motherboard]

Also, is the Hall switch an input or output for the microcontroller? It seems that the output signal of the Hall switch is the input signal of the microcontroller.

This post is from Analog electronics

Comments

The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU.  Details Published on 2023-9-14 11:41
The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU.  Details Published on 2023-9-14 11:07
 
 
 
 

194

Posts

0

Resources
7
 

This is our magnetron circuit board

2.png (16.6 KB, downloads: 0)

2.png
This post is from Analog electronics
 
 
 
 

194

Posts

0

Resources
8
 
maychang posted on 2023-9-14 10:56 [The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board, and the magnetic control board is equipped with 3 Hall switches and...

The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU.

This post is from Analog electronics

Comments

[The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU] According to the diagram on the 7th floor, one end of your Hall sensor is connected to a 5V power supply and one end is grounded. The output ends are M1, M2, and M3. The Hall sensor output is directly connected to the three pins of the microcontroller.  Details Published on 2023-9-14 11:48
 
 
 
 

194

Posts

0

Resources
9
 
maychang posted on 2023-9-14 10:56 [The load is a Hall switch, which is used to magnetically control the light intensity of the objective lens. This P2 is used to connect the magnetic control board, and the magnetic control board is equipped with 3 Hall switches and...

The internal structure of the Hall switch is an open collector structure, so a pull-up resistor should be added, right?

This post is from Analog electronics

Comments

The first post said it was a [Hall switch], which means a switch, and its output is a digital signal. The 8th post later said [Hall sensor], which is an [analog signal input device, and [the output voltage signal is converted into a digital signal by an AD converter]. What exactly is it? Again, refer to the manual.   Details Published on 2023-9-14 11:54
The first post said it was a [Hall switch], which means a switch, and its output is a digital signal. The 8th post later said [Hall sensor], which is an [analog signal input device, and [the output voltage signal is converted into a digital signal by an AD converter]. What exactly is it? Again, refer to the manual.   Details Published on 2023-9-14 11:52
 
 
 
 

2w

Posts

0

Resources
10
 
xbxdbd posted on 2023-9-14 11:07 The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU

[The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU]

According to the diagram on the 7th floor, one end of your Hall sensor is connected to a 5V power supply, one end is grounded, and the output ends are M1, M2, and M3. The output of the Hall sensor is directly connected to the three pins of the microcontroller, and is grounded by three resistors R10, R11, and R12.

As for [improving driving capability], it is obviously to increase the driving capability of the Hall sensor. This should refer to the Hall sensor manual and is not up to the circuit designer.

This post is from Analog electronics

Comments

I am just wondering whether R10, R11, and R12 should be connected to the power supply or the ground. Our original design was to connect to the power supply VCC.  Details Published on 2023-9-14 11:55
 
 
 
 

2w

Posts

0

Resources
11
 
xbxdbd posted on 2023-9-14 11:41 The internal structure of the Hall switch is an open collector structure, so should a pull-up resistor be added?

The first post said it was a [Hall switch], which means a switch, and its output is a digital signal. The 8th post later said [Hall sensor], which is an [analog signal input device, and [the output voltage signal is converted into a digital signal by an AD converter]. What exactly is it? Again, refer to the manual.

This post is from Analog electronics
 
 
 
 

2w

Posts

0

Resources
12
 
xbxdbd posted on 2023-9-14 11:41 The internal structure of the Hall switch is an open collector structure, so should a pull-up resistor be added?

[Hall switch] Check the manual to see if it is an open collector structure. Even if it is an open collector structure, the connection method of the external resistor is exactly the opposite for the output stage of NPN tube and the output stage of PNP tube.

This post is from Analog electronics

Comments

Got it. Thanks.  Details Published on 2023-9-14 13:45
 
 
 
 

194

Posts

0

Resources
13
 
maychang posted on 2023-9-14 11:48 [The Hall sensor is an analog signal input device. The voltage signal it outputs is converted into a digital signal by an AD converter and then input into the MCU] According to the 7th floor diagram...

I am just wondering whether R10, R11, and R12 should be connected to the power supply or the ground. Our original design was to connect to the power supply VCC.

This post is from Analog electronics

Comments

[I am just wondering whether R10, R11, and R12 should be connected to the power supply or the ground. Our original design is to connect to the power supply VCC] In most cases, these three resistors should be connected to Vcc, because the output stage with an open collector is mostly an NPN tube. However, the manual should still prevail.   Details Published on 2023-9-14 14:59
 
 
 
 

194

Posts

0

Resources
14
 
maychang posted on 2023-9-14 11:54 [Hall switch] Whether it is an open collector structure, see the instructions. Even if it is an open collector structure, the output stage is an NPN tube and the output stage is a PNP tube, the external...

I get it, thank

This post is from Analog electronics
 
 
 
 

2w

Posts

0

Resources
15
 
xbxdbd posted on 2023-9-14 11:55 I am just wondering whether R10, R11, and R12 should be connected to the power supply or the ground. Our original design was to connect to the power supply VCC

[I am just wondering whether R10, R11, and R12 should be connected to the power supply or the ground. Our original design is to connect to the power supply VCC]

In most cases, these three resistors should be connected to Vcc, because the open-collector output stage is mostly an NPN tube.

However, the instructions should still prevail.

This post is from Analog electronics
 
 
 
 

4817

Posts

4

Resources
16
 

Place a pull-up resistor to increase the drive capability. This resistor is connected to the input port (such as the output of a switch or sensor) on one end and to the positive power supply or high-level power supply point on the other end.

This post is from Analog electronics
 
 
 
 

37

Posts

1

Resources
17
 

To increase the drive capability, put a pull-up resistor

This post is from Analog electronics
 
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

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