Pull-up and pull-down resistors

  Рет қаралды 12,185

learnelectronics

learnelectronics

Күн бұрын

Пікірлер: 47
@sudhirpatil3434
@sudhirpatil3434 4 жыл бұрын
I watched video over n over again to make myself clear abt pull up n down res. Previously i watched couple of other videos from which i was unable to grasp. But your way of explaining things made me understand the stuff! Thx
@trevorjames83
@trevorjames83 7 жыл бұрын
That's been bugging me for a while, having only started with Arduino fairly recently. Thanks for the wonderfully simple explanation.
@learnelectronics
@learnelectronics 7 жыл бұрын
Trevor James You are welcome. I'm always here if you have questions.
@Humanclock
@Humanclock 4 жыл бұрын
Thanks! You do a good job keeping the examples as simple as possible and not going off on long tangents. (I saw another tutorial online that had multiple switches and resistors in the circuit, that was really confusing from a newbie perspective).
@meestawoo2840
@meestawoo2840 4 жыл бұрын
Best explanation so far, from all the videos I saw on this subject.
@carlossebe2481
@carlossebe2481 6 жыл бұрын
Hi. This is the best explanation and demonstration I saw. The explanation is similar to all that I saw or read ... but the demonstration is fundamental, it is recorded in the mind. Thank you.
@aydencalvin3031
@aydencalvin3031 3 жыл бұрын
not sure if you guys gives a damn but if you are bored like me atm then you can stream pretty much all the latest series on instaflixxer. Have been streaming with my gf during the lockdown xD
@TheMilohemlock
@TheMilohemlock 6 жыл бұрын
You have my gratitude for explaining this in a way I can understand. If someone had made this as clear when I was in tech school, it would have changed everything for me. Thank you for being kool. Me
@learnelectronics
@learnelectronics 6 жыл бұрын
Glad to be of service
@945-b2m
@945-b2m 3 жыл бұрын
Very well explained. Thank you!
@isfk
@isfk 7 жыл бұрын
Best explanation I've seen, this clears things up, thanks.
@learnelectronics
@learnelectronics 7 жыл бұрын
isfk Thanks. My real job is teaching basic EE at the local community college.
@alchemy1
@alchemy1 2 жыл бұрын
Most of what I have noticed is that pull up resistors is used far more than pull down. Most likely because it is the electrons that move from the ground towards so called high voltage and charges don't jump from VCC to ground. But I don't know.
@igrewold
@igrewold 7 жыл бұрын
Great man, thanks a lot. How do we know when to use a pull-up resistor and when to use a pull-down resistor? The decision is based on what? And what about the value(s) of the resistor(s)? Because I think in some applications(battery operated circuits/devices) losing more than needed power is a waste of energy.
@learnelectronics
@learnelectronics 7 жыл бұрын
igrewold You decide whether to use pull-up vs. pull-down based on if you want an inverted signal or not. (Pull-up = inverted). As for resistor vaule: between 5 and 10k.
@igrewold
@igrewold 7 жыл бұрын
Thank you
@brettpenza5149
@brettpenza5149 7 жыл бұрын
I am still trying to get my head around arduino and pull-up, pull-down. This was a great video incorporating the simple circuit drawing and then the hands-on example. Great work! One question. Is that a resistor attached to the LED? And does the LED have to go back to ground to complete the circuit on the high side? Thanks again. Great stuff. Great pacing.
@learnelectronics
@learnelectronics 7 жыл бұрын
Yes it's a 220R resistor attached to the cathode. The anode is attached to the same pin as the switch (parallel). And yes, it must connect to ground to light the LED, but it has no effect on the switch.
@WahidKhan-rx9jo
@WahidKhan-rx9jo 3 жыл бұрын
Thnx , gr8 explanation !
@huntingexperiences93
@huntingexperiences93 6 жыл бұрын
Hi :) in a case of pull down. What will happened when i choose value of resistor lower then value of arduino pin? will it works or not. I think that not but for sure i will ask you :)
@michaelpadovani9566
@michaelpadovani9566 7 жыл бұрын
Great instructional video once again sir!
@learnelectronics
@learnelectronics 7 жыл бұрын
Michael Padovani Thank you
@avrphreak9121
@avrphreak9121 2 жыл бұрын
Thanks!
@marcuscesar1343
@marcuscesar1343 5 жыл бұрын
Great explanation.
@codev3rtcreations
@codev3rtcreations 5 жыл бұрын
How do you know what resistor to use? You are using 10k ohm resistor for this project. I’ve seen other videos but no one seem to explain how to calculate resistor used in pull down resistor application. Please let me know, thank you ;)
@jonelectronics510
@jonelectronics510 4 жыл бұрын
You need to know the impedance of the input pin and then the logic value you want to have. For example, if a uC has a logic high threshold of 3V and you want to pull it up high, the voltage at the pin must be 3V or higher to register as a logic high. So: Input impedance: 100k Pull up resistor: 100k You can see that you would get half the Vcc at the pin, if vcc was 5v we would be under the 3V logic high threshold so would fail to be pulled high, so a lower resistor value would be needed. Another unseen danger is the capcitiance of the input pin, meaning that if you use a large resistor the switching time will start to become a problem. In reality there is quite a range of values, normally between 10k-100k will normally work.
@jonelectronics510
@jonelectronics510 4 жыл бұрын
Also be aware of current, you don't want to choose a value which just sucks current.
@danysize
@danysize 3 жыл бұрын
THANX !!
@dominikbaricak9589
@dominikbaricak9589 Жыл бұрын
Why when switch is closed in pull up mode the input is 0? It doesnt make sense from what i know about electricity. Switch and MCU is connected in paralel with VCC and when something is connected in paralel everywhere should be the SAME voltage. I dont understand that...
@POLMAZURKA
@POLMAZURKA 5 жыл бұрын
pull ups resister are above the switches on a schematic?.....the reverse for downs?...............
@keithoconnor1090
@keithoconnor1090 4 жыл бұрын
reminds me of Schrodinger's cat
@birkhansonkan4236
@birkhansonkan4236 7 жыл бұрын
Nope i still didnt get it unfortunately! I thought the resistor was pulling it down to "Zero" (0/to the ground) so shouldnt it change the value 1 and 0 (9:01) continously when you remove the resistor?
@igrewold
@igrewold 7 жыл бұрын
Think about this way: we got 3 states(hi,lo & floating), the reason we need a pull-up/down is to avoid floating state because that state is making the mcu/Arduino crazy it is as if you are asking a person a yes/no question like "do you want to have dinner?" And you are getting the answer "the sky is blue!" So, you dunno whether that is a yes or a no! Maybe a simpler circuit would help in understanding it better kzbin.info/www/bejne/aXrGoGSFZ8mAm9E
@birkhansonkan4236
@birkhansonkan4236 7 жыл бұрын
First of all thanks for your answer and i have to say i do get that part of the subject. The part i dont get is the blue wire to pin 9. Why removing that wire instead of removing the resistor at 9:01? I thought the resistor was pulling it up or down!
@igrewold
@igrewold 7 жыл бұрын
He removed the wire to show you how Arduino is confused from the floating state which made it fluctuate between 0 and 1 then when put the wire back into the circuit the state was 0 because of the pull down resistor. And once the button is pushed the state became 1.
@LanceDenly
@LanceDenly 7 жыл бұрын
I thought the input impedence of a MCU was very high, like at least 1Mohm. The only only current flowing into the input pin of the MCU is unwanted or "leak" current. They are more of a voltage controlled device like a MOSFET. Almost all of the current is going to flow threw the pulldown or up resistor. Again, I'm not 100% sure so I would like you to comment on this.
@learnelectronics
@learnelectronics 7 жыл бұрын
Lance Denly No the input impedence is low. This allows the Arduino to sink current as well as source it.
@LanceDenly
@LanceDenly 7 жыл бұрын
I think I'll breadboard this up because now I'm more curious about this than I was before lol. I work with PLC's so I know they are lower cause they are essentially a LED inside an isolator, I just wasn't aware that these micro's were capable of doing the same thing. Keep up the good work on the channel. Stuff like this is how we learn either from not knowing, or from being taught wrong like me lol.
@LanceDenly
@LanceDenly 7 жыл бұрын
I get 0.500mA flowing threw the 10K resistor while feeding the input high. Total circuit current was 0.500mA. I tried both sinking and sourcing on the input with the same results. I used a second DMM on the input and cranked it down to uA, but still read zero. I'm not saying that your wrong at all on how to use a pullup or pulldown. Your spot on on everything including your schematic and everything. It's just that one part where you draw an arrow and point out where most of the current flow is traveling at 7:15
@learnelectronics
@learnelectronics 7 жыл бұрын
Lance Denly check out this link for more info on Arduino current sinking: playground.arduino.cc/Main/ArduinoPinCurrentLimitations
@LanceDenly
@LanceDenly 7 жыл бұрын
those are output limits, not input
@deadchords4919
@deadchords4919 7 жыл бұрын
cool
@learnelectronics
@learnelectronics 7 жыл бұрын
Shredder thanks
Wemos D1 Mini Hiker's Friend
10:13
learnelectronics
Рет қаралды 2,4 М.
Short and sweet:  pull up/pull down resistors explained
6:16
learnelectronics
Рет қаралды 136 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 75 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 52 МЛН
Pull Up and Down Resistors for Floating Inputs- Simply Put
23:52
Pull Up Resistor Tutorial | AddOhms #15
3:52
AddOhms
Рет қаралды 309 М.
Pull Up/Down Resistors
6:42
0612 TV w/ NERDfirst
Рет қаралды 9 М.
Floating Pins, Pull-Up Resistors and Arduino
10:29
Programming Electronics Academy
Рет қаралды 161 М.
Pull-up and pull-down resistors explained
6:33
Blueprint IoT
Рет қаралды 9 М.
555 Timer All Modes
14:53
learnelectronics
Рет қаралды 126 М.
I Can't BELIEVE They Let Me in Here!
23:37
Linus Tech Tips
Рет қаралды 443 М.
What is a Pull Up Resistor?
26:09
High Performance Academy
Рет қаралды 17 М.
Pull-up and pull-down resistors
3:42
Julian Edgar
Рет қаралды 59 М.