Confusion regarding pulldown resistors.

In summary, when you have a gate that is driven by another gate's output, you would use a pulldown resistor to establish a LOW input even if the device was not being driven at that gate. If the gate is driven by a switch, then a pullup resistor might be needed.
  • #1
nascentmind
52
0
Hi,
I am having some confusion regarding pull down resistors. In the schematic I have a 100k pulldown resistor. P1 is the output port and the nOE(OE bar) is the input to a buffer.

What is confusing me is if the P1 input is high impedance then the nOE should go high, but when the P1 pin goes low isn't the nOE stuck again at high as the Vcc is never cutoff?

MEhOC.png
 
Engineering news on Phys.org
  • #2
Yes, that circuit is wrong. The supply is considered able to supply enough current to hold the input high no matter what the size of resistor you used for a pulldown.

You might use a pulldown where driven IC had an open circuit gate as an input. You would put in a pulldown to establish a LOW input even if the device was not being driven at that gate.

Then if the device was driven, the drive would determine the actual input since the pulldown would be a large resistance and its small current would not matter.

Otherwise, you could get random logic where the input could get static charges and change state.
 
  • #3
But what if I need to put the logic to high and drive it low for enabling. Its a active low. So I need to drive it low to enable it.
 
  • #4
nascentmind said:
But what if I need to put the logic to high and drive it low for enabling. Its a active low. So I need to drive it low to enable it.

Then you would use a pull-up resistor.

You only use pull down or pull up resistors when there is a need for them. If the gate is being driven by another gate's output, there is no need for either type of resistor. The gate output will be high or low and there will be no problem with the gate input.

Often, though, a gate may be driven by a switch or some sort of sensor that requires a resistor in the circuit to work.
A switch is a case where a pull down resistor might be needed. If you switch +5 volts to the input of a gate, and the gate input is very high impedance like CMOS, then the gate may acquire a positive charge and stay positive even if the switch is turned off. The pull-down resistor discharges any remaining charge on the gate and let's the gate go low.
 
Last edited:
  • #5
It is worth pointing out that any input that is 'uncommitted' should be either held up or down by an appropriate resistor. CMOS circuits can get very upset if a gate voltage drifts to an undetermined 'half way' value.
 
  • #6
If there is a pullup resistor and when I set the micrcontroller output to 0 then the output pin of the microcontroller (P1) will be set to ground and all the current should flow through the microcontroller output pin ground right?
 
  • #7
nascentmind said:
If there is a pullup resistor and when I set the micrcontroller output to 0 then the output pin of the microcontroller (P1) will be set to ground and all the current should flow through the microcontroller output pin ground right?

Yes, that is right. That is called "sinking". Like water running down a sink.

So, you must make sure the resistor is large enough that the current into the micro is not too much for the micro outputs.

So, if the supply was 5 volts and the micro could sink 20 mA, then the pullup resistor would have to be more than 250 ohms. (5 volts / 0.02 amps = 250 ohms).

A common pullup resistor size would be 4.7 K.
 
  • #8
Doubts cleared. Thanks for the clear explanations. :)
 

1. What is the purpose of a pulldown resistor?

A pulldown resistor is used to ensure that a signal line is pulled to a known logic level when no active device is connected to it. This prevents the line from floating and picking up unwanted noise or stray signals.

2. How does a pulldown resistor work?

A pulldown resistor is placed between a signal line and ground. When no active device is connected to the signal line, the resistor pulls the voltage on the line down to ground potential, creating a low logic level.

3. When should I use a pulldown resistor?

A pulldown resistor should be used in any circuit where a signal line could potentially be left floating. This is commonly seen in digital circuits, where a signal line is connected to a microcontroller or other logic device.

4. What is the difference between a pulldown resistor and a pullup resistor?

A pulldown resistor is used to ensure that a signal line is pulled to a low logic level when no active device is connected to it. A pullup resistor, on the other hand, pulls the signal line to a high logic level when no active device is connected.

5. How do I choose the value of a pulldown resistor?

The value of a pulldown resistor depends on the characteristics of the circuit and the signal line it is being used with. Generally, a higher resistance value will provide better noise immunity, but may also cause slower signal transitions. It is best to consult a datasheet or use an online calculator to determine the appropriate value for your specific circuit.

Similar threads

Replies
80
Views
3K
  • Electrical Engineering
Replies
6
Views
1K
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
3
Views
2K
  • Electrical Engineering
Replies
23
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
601
Replies
21
Views
2K
  • Electrical Engineering
Replies
11
Views
4K
Replies
6
Views
5K
Replies
2
Views
2K
Back
Top