Electronics 201: Pull-Up and Pull-Down Resistors

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 เม.ย. 2012
  • In this Electronics 201 lecture, we talk about the useful tool that is the pull-up and pull-down resistor. We also go over the concept that is the tri-state buffer.
    I'm looking for suggestions for future videos, so if you have any topics, just put them in the comments below.
    As usual you can check out my blog at
    8bitprojects.blogspot.com/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 228

  • @leonardomelia92
    @leonardomelia92 3 ปีที่แล้ว +13

    I've watched other's, yours explain everything, doesn't take many things for granted, it's complete and clear as well

  • @bgable7707
    @bgable7707 4 ปีที่แล้ว +11

    Finally, a "complete" explanation which made sense, thank you

  • @jeremyo1457
    @jeremyo1457 8 ปีที่แล้ว +4

    Im really happy how you talked about in detail the floating state in the beginning, a lot of other videos dont talk about that and why anyone would want a pull up or down resistor. Thank you for helping us!

  • @sd4dfg2
    @sd4dfg2 11 ปีที่แล้ว +2

    Thanks! I had looked up the definition of pull up and pull down resistors several times without it making sense - now I see it was because I wasn't thinking about impedance.

  • @ericlindau2039
    @ericlindau2039 4 หลายเดือนก่อน

    Thanks for talking about impedence. Finally makes sence to me. I've tried to wrap my head around this for a while, never thinking of that the mcu has a resistance.

  • @daktariTJ
    @daktariTJ 6 ปีที่แล้ว +1

    One of rare youtube videos I let commercials roll (muted).
    hHD, your work is appreciated. thanks

  • @ganeshsrinivasan842
    @ganeshsrinivasan842 7 ปีที่แล้ว +10

    key take aways 1. floating is bad 2. current is lazy , takes the path of least resistance 3. Impedance is your friend. thanks for the clear explanation

  • @Tubepkp
    @Tubepkp 11 ปีที่แล้ว

    Thanks a million! I am kind of playing with basic electronics for three years and thanks to you now I really know what is going on inside.
    Simply GREAT!

  • @roflcopterszz
    @roflcopterszz 8 ปีที่แล้ว

    Thanks for the video friend, I really learned a lot about "philosophies in creating circuits" and electricity in general because of the ways you displayed this information! THANK YOU! it's rare to find such clear and concise conveyance of information on this subject

  • @mikeburch2998
    @mikeburch2998 3 ปีที่แล้ว +2

    That was a great video! I learned a lot quickly. Greetings from Arizona.

  • @alih2975
    @alih2975 10 ปีที่แล้ว +15

    Well done, very useful
    Value R of Pull-Up
    just wanted to point out that in the Pull-Up case, the value of the Pull-Up resistor has to limit the current flowing to the input pin and ground. it is preferred to be 10 times less than the impedance of the pin otherwise, a loading effect will be present as a result of the voltage divider, hence it is better to have the Pull up resistance Value R as 10 times less the impedance of input pin.

    • @drhane
      @drhane 5 ปีที่แล้ว

      Good point, Ali H. Input impedance is desired to be high while output impedance is desired to be low.

  • @abolilakhe
    @abolilakhe 7 ปีที่แล้ว

    This makes so much more sense now...Thanks for the tutorial!

  • @wickedchin
    @wickedchin 11 ปีที่แล้ว

    Thanks heaps for the unique way of explaining the concept pull-up and pull-down resistors - it's the easiest to understand so far!

  • @gihangamage6615
    @gihangamage6615 2 ปีที่แล้ว +1

    best explanation even in 2021

  • @ags-engineering5544
    @ags-engineering5544 ปีที่แล้ว

    Pull-up and pull-down resistors well explained, thank you !

  • @WhoWantsToKnow81
    @WhoWantsToKnow81 9 ปีที่แล้ว +59

    Excellent tutorial, thanks!
    Floating = bad? That's not why my swimming instructor said...

    • @___xyz___
      @___xyz___ 5 ปีที่แล้ว

      What did he say?

    • @ytrew9717
      @ytrew9717 5 ปีที่แล้ว

      dad's joke

  • @cthutu
    @cthutu 5 ปีที่แล้ว

    Fantastic video - allowed me to explain the concepts better to my electronics club!

  • @ohmedarick1
    @ohmedarick1 6 ปีที่แล้ว

    Thank you Great explanation. I thought I was the only one not able to understand the concept by the comments below

  • @BLAKskyyy
    @BLAKskyyy 8 ปีที่แล้ว

    Thanks for this, the explanation and analogies were excellent! It really helped a lot!

  • @cannnonfoddder
    @cannnonfoddder 11 ปีที่แล้ว

    Very clear. Champion tutorial mate. 10/10 would watch again.

  • @BenDavis78
    @BenDavis78 11 ปีที่แล้ว

    Great tutorial, answered a lot of questions for me. Thanks!

  • @nicholaselias8542
    @nicholaselias8542 8 ปีที่แล้ว +1

    Awesome video!!!! Thnx for the explanation were learning about this in automotive engine performance/diagnostics

  • @judo-rob5197
    @judo-rob5197 3 ปีที่แล้ว

    Always was a source of confusion for me. Thanks for making it clear now.

  • @Gruggo
    @Gruggo 6 ปีที่แล้ว

    Dude, amazing video, I have no idea about electronic circuits, but this helped me understands some of these Arduino demo projects i'm building. Thanks heaps mate.

  • @Pwe56
    @Pwe56 4 ปีที่แล้ว

    Thanks for the video! Quick and clear explanation.

  • @sheetanshkaushik
    @sheetanshkaushik 11 ปีที่แล้ว +1

    Finally, one video to answer all!! This is a GOOOOOOD VIDEO!!!

  • @chain3519
    @chain3519 9 ปีที่แล้ว

    Thank you for this video, it thoroughly explained that logic is not on and off, but High and low. I had then misconception that it was High and off, but this video helped me realize that off can not be a logic state as there is an absence of info.

  • @LukePuplett
    @LukePuplett 9 ปีที่แล้ว +14

    I thought Wikipedia's entry on this subject was concise and explained the concept really clearly, hope it helps someone:
    "A pull-up resistor weakly "pulls" the voltage of the wire it is connected to towards its voltage source level when the other components on the line are inactive. When all other connections on the line are inactive, they are high-impedance and act like they are disconnected.
    Since the other components act as though they are disconnected, the circuit acts as though it is disconnected, and the pull-up resistor brings the wire up to the high logic level.
    When another component on the line goes active, it will override the high logic level set by the pull-up resistor.
    The pull-up resistor ensures that the wire is at a defined logic level even if no active devices are connected to it.
    A pull-down resistor works in the same way but is connected to ground. It holds the logic signal near zero volts when no other active device is connected."

    • @pumbo_nv
      @pumbo_nv 5 ปีที่แล้ว +2

      As a beginner, I can tell that it's not explained well.

    • @davetriplett8109
      @davetriplett8109 5 ปีที่แล้ว

      I need to read it a couple times, but that makes sense to me😎

  • @jimadams2473
    @jimadams2473 10 ปีที่แล้ว

    Dude, very good instructional videos on electronics basics. I have watched three so far and plan to view more. Man, you should do many more of these on more electronics topics. How about one on H-Bridge motor controllers. Keep up the great work.

  • @DannyPost
    @DannyPost 9 ปีที่แล้ว

    Thanks for this! I was having some trouble grasping what each type did but this seemed to help.

  • @pumbo_nv
    @pumbo_nv 5 ปีที่แล้ว

    Now this is a more or less decent explanation, though not perfect. I had watched a few other videos on pull-up/down resistors and this is the first video I liked. Thanks. Now FINALLY it makes sense to me why and how it works.

  • @craigwilmot9045
    @craigwilmot9045 3 ปีที่แล้ว

    Excellent tutorial. This subject was a always a bit fuzzy to me but not now!

  • @larryinbkk
    @larryinbkk 7 ปีที่แล้ว

    Brilliant! You made me understand this. Many thanks

  • @JamesSleeman
    @JamesSleeman 12 ปีที่แล้ว

    Excellent description, this is perhaps the least head-hurty description of why a pullup/dn resistor works, and more importantly, why a given value is chosen.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel 11 ปีที่แล้ว

    Excellent tutorial. Best explanation I could find.

  • @yassinal-nuaimee1204
    @yassinal-nuaimee1204 2 ปีที่แล้ว

    Best video on the subject out there

  • @metroiddude123
    @metroiddude123 11 ปีที่แล้ว +1

    Great video, man. Very informative, thanks a lot!

  • @cameronfrost5924
    @cameronfrost5924 8 ปีที่แล้ว

    Thanks, cleared things up a little for me.

  • @syahrialrasyid2539
    @syahrialrasyid2539 10 หลายเดือนก่อน

    thanks for the explanation. It's very clear

  • @fumil4489
    @fumil4489 4 ปีที่แล้ว

    Good tutorial!! Easy to understand. Great job!Thanks!

  • @JasonPoindexterus
    @JasonPoindexterus 12 ปีที่แล้ว

    Great lecture. Made it crystal clear.

  • @ketkisonawane5048
    @ketkisonawane5048 5 ปีที่แล้ว

    Amazing explanation!! Thankyou so much!!!

  • @digihz_data
    @digihz_data 5 ปีที่แล้ว

    Excellent explained.

  • @JohnDoe-fv5cu
    @JohnDoe-fv5cu 6 ปีที่แล้ว

    Great! Very good explanation of the idea

  • @phani9676725
    @phani9676725 11 ปีที่แล้ว

    really your lecture helped me a lot in understanding that concept...thanks brother...

  • @navneeths459
    @navneeths459 6 ปีที่แล้ว

    Thank you buddy....really saved me a lot of time.....thank you....

  • @ganeshsrinivasan842
    @ganeshsrinivasan842 7 ปีที่แล้ว

    'current is lazy' :) good one.. easy to remember the concept.thanks

  • @tedthisius4778
    @tedthisius4778 5 ปีที่แล้ว

    I think of a pull up or pull down resistor like a mechanical spring. Since the symbol for a resistor looks somewhat like a spring it is easy to remember. With a pull up resistor it is like a spring which tries to keep the voltage level at the level of the pull up source. Using a switch to ground "stretches" the spring down to Ground. Once the switch is released the "spring" returns the voltage to the higher voltage of the pull up source. With a pulldown resistor, the spring is trying to hold the voltage level down but can be stretched upward when the button is pushed.

  • @Kahain
    @Kahain 9 ปีที่แล้ว

    Thank you so much for this video, i watched so many videos but they are all confusing except for yours. I just got started with the official arduino starter kit and i completed the project number 02 and also completed project 03 but i was still stuck at project 02 as to why there was a 10k resistor after the switch. I knew it was a pull down but a co worker today just confused the heck out of me and it turns out you confirmed i was right from the beginning. I'm so happy to learn my logic is healthy lol, there is nothing i hate more than thinking logically and be wrong and have no clue why. I can finally move on because of you. You're the best!!! And... I subscirbed to your channel, there seem to be a few good videos to watch laters, i just dont know how many but cant wait to find out.

  • @coolguy336
    @coolguy336 6 ปีที่แล้ว +1

    Hi there, I think you meant to say that pull up resistor should be 1/10th or 10% of pin. In the case of pull up with V+ at 5V, 10kohm resistor vs 1kohm pin means that by simple voltage division, you actually have 0.45V at microcontroller pin which defeats the whole purpose.

  • @mikekorkowski4794
    @mikekorkowski4794 9 ปีที่แล้ว

    Very good description!

  • @DupczacyBawol
    @DupczacyBawol 6 ปีที่แล้ว

    201 = You Are The Best.

  • @lumpusmaximus8100
    @lumpusmaximus8100 6 ปีที่แล้ว

    Even if it's kinda confusing cause of the used words, it's still a very good video and better than the other ones available for pull-up and pull-down resistors.

  • @Andefir
    @Andefir 3 ปีที่แล้ว +1

    Thank you, very useful video

  • @VViproz
    @VViproz 11 ปีที่แล้ว

    Nice tutorial, you're very clear, thank you !

  • @programmingelectronics
    @programmingelectronics 9 ปีที่แล้ว +3

    Fantastic explanation - Great video. Thank you!

  • @allanonmage
    @allanonmage 10 ปีที่แล้ว

    Woa I know pull up and down resistors.
    Thanks for the great explanation!

  • @kopaczp
    @kopaczp 5 ปีที่แล้ว

    Very educational video! I clearly understood pull up finally. You should do lectures on Polish school. Cheers!

  • @cman32826
    @cman32826 8 ปีที่แล้ว

    Aspiring computer/mechanical engineer here - this was VERY helpful!

    • @aryesegal1988
      @aryesegal1988 8 ปีที่แล้ว +1

      likewise brah. g/l for the both of us! ;]

  • @Zork13
    @Zork13 9 ปีที่แล้ว

    great video, I love digital electronics, and this helped me solidify some things. And a side note; at 3:03 as well as the concept of pulling-out XD

  • @josh_m
    @josh_m 10 ปีที่แล้ว

    This was helpful, thanks!

  • @TorstenLohr
    @TorstenLohr 9 ปีที่แล้ว

    Hey m8. Thanks for my daily dose of education. :-)

  • @PriyankaDanda
    @PriyankaDanda 6 ปีที่แล้ว

    Thank you! It was very clear :)

  • @heejune
    @heejune 11 ปีที่แล้ว

    this helped me a lot, thank you!

  • @ali101819
    @ali101819 4 ปีที่แล้ว +4

    7:45 why would any current gets pulled straight to ground when the resistance of the pull down resistor is larger than the mcu, isn't it suppose to go to the mcu instead because it has lower resistance ?

  • @GetUpAndJump0
    @GetUpAndJump0 12 ปีที่แล้ว

    Nice lecture! Keep up the good work :)

  • @pavanbobba
    @pavanbobba 4 ปีที่แล้ว

    Thank you for the nice tutorial...

  • @ashishraghav8241
    @ashishraghav8241 6 ปีที่แล้ว

    very good teaching ...

  • @smithclk
    @smithclk 10 ปีที่แล้ว

    Thanks a lot! Very helpful...

  • @johnbrumfield6212
    @johnbrumfield6212 ปีที่แล้ว

    Great vid. How do you measure the input impedance?

  • @djantony8501
    @djantony8501 9 ปีที่แล้ว

    good explanation mate. thanks

  • @EnergeticWaves
    @EnergeticWaves 4 ปีที่แล้ว

    if i have a 10k resistor and say 40 inputs on a mega and do the pull down thing, will all that power going into the resistors be too much and will it heat up the resistor too?

  • @ut4321
    @ut4321 10 ปีที่แล้ว

    Great stuff, man! Thanks. I need to translate this from your switch example to interfacing a microcontroller (output) to an LDO voltage regulator chip that has a handy extra pin to control on/off. I'll think on it a bit...

  • @boogele
    @boogele 4 ปีที่แล้ว +1

    Pull up is active low - when button is "active" pin is low.
    Pull down is active high - when button is "active" pin is high.

  • @mihirpatil515
    @mihirpatil515 6 ปีที่แล้ว

    very nice explanation

  • @marshalcraft
    @marshalcraft 9 ปีที่แล้ว

    so if i didnt know if a chip encorperates the pull up resistor for i2c and i put the resistor in, it wouldnt effect the i2c at all. so basically always put in a resistor and 5v supply for i2c?

  • @GC-dz1sn
    @GC-dz1sn 6 ปีที่แล้ว

    This never made sense to me until now cheers

  • @logarithm0
    @logarithm0 5 ปีที่แล้ว

    I FINALLY understood this

  • @alewarten
    @alewarten 4 ปีที่แล้ว

    But in the case of pull'down resistor noise signal would also go to MCU (since it has lower impedance) instead of the ground?

  • @Tim-vd-wal
    @Tim-vd-wal 10 ปีที่แล้ว +4

    On 7:38, lets say that µc has an impendance of 10Ω, which means that the resistor should have 100Ω, correct?
    Why is the floating current choosing ground over the microcontroller when ground has a resistance of 100Ω and the microcontroller has a resistance of 10Ω?

    • @haydenoverseas
      @haydenoverseas 10 ปีที่แล้ว +4

      He applied the one tenth value to the wrong resistor.... Your question is justified.
      From another website: The general rule is to use a pull-up resistor that is an order of magnitude (1/10th) LESS than the input impedance of the input pin (10k-100k). An input pin on a microcontroller has an impedance that can vary from 100k-1MΩ

  • @MrACG66
    @MrACG66 8 ปีที่แล้ว +12

    In case of pull down resistor. When the switch is open why the current would not choose the MC path because it has less resistor?
    Thank you

    • @Ziplock9000
      @Ziplock9000 8 ปีที่แล้ว +1

      +MrACG66 Yes, he explains that concept in reverse for the pull-up.

  • @aliutesleem4046
    @aliutesleem4046 4 ปีที่แล้ว

    But when I drew that same circuit on proteus using a led instead for a micro controller, I still have to flip the switch before the led comes on and you said for pull up when it’s open it’s on

  • @seanocansey2956
    @seanocansey2956 8 ปีที่แล้ว +1

    conceptually, would it be better to have a pull up resistor as this saves power in a microcontroller? instead of constantly letting it run to GND with a pull down.

  • @gowtime
    @gowtime 11 ปีที่แล้ว

    Great video, the only thing i'm still confused is in the voltage that the microcontroller 'sees' (in the pull-up), i guess is less than 5 volts due to the resistor??

  • @amandafalke7670
    @amandafalke7670 10 ปีที่แล้ว

    Well done!

  • @HeuristicObfuscation
    @HeuristicObfuscation 10 ปีที่แล้ว

    Nice tutorial.....does this apply to pull down resistor value for mosfets? you mentioned R= 10* impedence input.

  • @knssoftware6018
    @knssoftware6018 7 ปีที่แล้ว +2

    Thanks for a great tutorial! There is something that i still do not understand, and i see others with the same query, however the responses seem to be addressing different issues:
    In a PULL DOWN scenario, when the switch is OPEN, why wouldn't the 'stray voltage' still choose to go to the path of least resistance to the micro controller [with the lower built in resistor], than go straight to ground [with the higher pull down resistor], which was the whole point - to stop the stray voltage entering the pin...

    • @jackbud427
      @jackbud427 3 ปีที่แล้ว

      i have no idea either. Did you ever figure this out?

  • @nachoespinoza6074
    @nachoespinoza6074 11 ปีที่แล้ว

    Who the fuck would dislike this. This is better than Kahn ac..

  • @kevinjulestv6410
    @kevinjulestv6410 8 ปีที่แล้ว

    what is the difference between pull up signal or pull down signal control? which is controlling?

  • @firoz9751
    @firoz9751 5 ปีที่แล้ว

    Nice lecture

  • @inglese2996
    @inglese2996 2 ปีที่แล้ว

    On the pull down, with the switch open, why is there any current flow at all from the ground?

  • @smartaIec
    @smartaIec 5 ปีที่แล้ว

    Something I don't understand... When you close the switch in a pull up resistor circuit like the one in the video, the 5v connects directly to the ground, with only the resistor in-between. Would this not fry the resistor?

  • @MinhVu-fo6hd
    @MinhVu-fo6hd 7 ปีที่แล้ว

    Can anyone explain to me again why the Impedance in the micro-controller is our friend? How does it work when we have a lot of current and when we have a weak signal? Do we still benefit from keeping one resistor (impedance) or do we have to change the resistor (impedance) to get good results in those 2 scenarios? thank you!

  • @RX7GSLSEowner
    @RX7GSLSEowner 11 ปีที่แล้ว

    Hi-
    Using the Amtel 1284P. Trying to send a signal to the CLEAR pin on a MAX16054 for the purpose of auto-shutdown via software.
    The setup is like the first example in the MAX16054 datasheet. Need to calculate the value of the pull-down on the CLEAR line.
    Tried to include links to the datasheets, but TH-cam wouldn't let me. Sorry
    Thanks!

  • @Sembazuru
    @Sembazuru 10 ปีที่แล้ว

    Excellent video. I would just like to point out that while floating pins on _inputs_ are generally considered bad, a floating pin on an _output_ is either doesn't matter, or is required like with multiple outputs on a buss configuration. The floating output would (obviously) be a separate video, but it should be stressed on this video that the "bad" label is applicable here only because this video is dealing with inputs.

  • @maheshbabu4276
    @maheshbabu4276 6 ปีที่แล้ว

    I heard Pull-up concept is also used to increase the voltage level of the sensor when sensor gives comparably lower values. How does this pull up resistor used in that application ?

  • @mdmasontn
    @mdmasontn 8 ปีที่แล้ว

    In the floating state, for there to be a "stray signal on the pin" that means that the micro controller also has a ground in addition to the main ground. The stray electrical signal would flow to micro controller's ground. Is that a true statement? If not why?

  • @TelemanNers
    @TelemanNers 10 ปีที่แล้ว

    When you say the pull up circuit is built in to most uC's, does that include the Arduino? If so, does that eliminate the need for this and allow you to just wire 5v to button to pin?

  • @humanHardDrive
    @humanHardDrive  11 ปีที่แล้ว

    What microcontroller are you using?

  • @jeshwanth100
    @jeshwanth100 10 ปีที่แล้ว

    Excellent!!