PULL UP OR PULL DOWN RESISTORS

WHAT IS PULL UP OR PULL DOWN RESISTORS:

(active high or active low)

These are common resistors that connects  the digital input pins to VCC or Ground. The purpose of these resistors is to bring up the input pins equivalent to the voltage of Ground or VCC. Refer the above circuit diagram the resistors R1 and R2 is the Pull up resistors. These resistors are pulling up the voltage of input pins to the level of VCC.

Now take a look at the above circuit diagram, here the resistors R1 and R2 act as pull down resistors. These resistors are pulling down the voltage of inputs pins close to the level of GND.

WHY USE PULL UP OR PULL DOWN RESISTORS:

In short the purpose of Pull up or Pull down resistor to give keep the input of digital pins at a stable state – 1 in case of Pull up resistor and 0 in case of Pull down resistor. To explain this further, we need to understand about Logic families and how each family differs from each other.

LOGIC LEVEL:

Logic level is nothing but the voltage range which decides how an input or output in a digital circuit is interpreted either as a “1” – high state or “0” – low state. There are many logic family exists in digital systems. TTl, CMOS, RTL, DTL are few of the families and out of which TTL and CMOS are quite famous and commonly used.

The above image shows the logic level diagram of TTL logic family of +5Vcc. As you can observe in both output and input diagrams, there is a voltage range for each logic states. Referring to input voltage levels, you can observe

  1. For the Gate to read Logic 1 – Input voltage range must be between 2v to 5v
  2. For the Gate to read Logic 0 – Input voltage range must be between 0 to 0.8v
  3. The indeterminate region is the pitfall, this means when input voltage falls between from 0.8 to 2v the Gate will not understand it and it will act in an undesirable manner. Output could be either 0 or 1 and we can’t predict them.

The last case is too bad for designing a digital circuit, since it may make the entire circuit to fail and your design will do no good.

FLOATING STATE:

Now take a look at the above circuit where a switch is connected to the input pins of OR gate. When the switch is not connected the pins are said to be in a floating state which means no defined voltage is exhibited in it. In this instant Electrical noise or EM waves from the surrounding will induce some voltage in these pins and as a result there are high chances that the input voltage falls into that indeterminate region of 0.8 to 2v and thereby pushing our entire system to fail. In worst cases the noises and EM waves will produce fluctuating voltage making the entire system unstable.

To get rid of this above scenario add a resistor to both the input pins and connect them to Vcc. By doing this the input pins voltage will be pulled up and the voltage will be nearly equivalent to Vcc. This makes the logic gate to detect the input voltage as Logic 1 and act accordingly.

CALCULATING THE RESISTOR VALUE:

Every digital input pin consume some current and has some internal impedance in it. Due to these reasons voltage drop exists across these Pull up resistors. So when choosing the resistor value we should make sure

  1. That the resistor is not too high so that it won’t allow enough current for input pin to operate
  2. Too small so that excess current flows through and lead to short circuit.

PULL UP RESISTORS:

Let’s assume that our digital pin of OR gate consumes 100uA at +5Vcc. I have choosen 4v as Pull up voltage for the purpose of choosing resistor since it will give some nice room from 2v beyond which lies the indeterminate region. You cannot choose 5v since there will be some voltage drop in across the resistor as stated above, so it’s safe to choose less than the level of Vcc. Applying ohms law with these values,

R = 5 – 4 / 100uA 

                                                                                                                            = 1 / 100uA

 = 10Kohms

PULL DOWN RESISTORS:

With the above current of 100uA of consumption, am going to choose the pull down voltage of 0.5v since it gives a room from the 0.8v above which the input enters the indeterminate region. Applying ohms law here will give resistor value of

R = 0.5v / 100uA

= 5Kohms

pull-down-resistor-values

NOTE:

  • Check the datasheet for input current and input impedence of your digital chip and perform the above calculation to find the perfect pull up or pull down resistor for your digital circuit.
  • Never attempt to try the above setup without resistors, you will end up shorting your power supply since closing switch without resistors will lead to excess current flow since no impedance is available.

103 thoughts on “PULL UP OR PULL DOWN RESISTORS

  1. Hi! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing many months of hard work
    due to no backup. Do you have any solutions to prevent
    hackers?

  2. Hello there, just became alert to your blog through Google, and found that it’s truly informative.
    I am gonna watch out for brussels. I will appreciate if you continue this in future.
    A lot of people will be benefited from your writing.
    Cheers!

  3. Great blog right here! Additionally your web site rather a
    lot up very fast! What web host are you the usage
    of? Can I am getting your affiliate link on your
    host? I desire my web site loaded up as quickly as yours lol

  4. My partner and I absolutely love your blog and find the majority of your
    post’s to be just what I’m looking for. Would you offer
    guest writers to write content in your case?

    I wouldn’t mind producing a post or elaborating on a number
    of the subjects you write in relation to here. Again, awesome web
    site!

  5. I blog frequently and I seriously appreciate your
    content. This article has truly peaked my interest.
    I will book mark your website and keep checking for new details about once per week.
    I subscribed to your Feed as well.

  6. Other software includes an online browser (Mozilla Firefox),
    a word processor compatible with Microsoft Word, a PDF reader, a
    music program, video games and a drawing program. Full retail
    video games and small unbiased video games are available on the eShop, and Nintendo plans to sell basic games
    through the service as effectively. In case you bought them
    from a small local store, they will make it easier to
    debug the problem (though it may value you). Instead
    of Android 4.0, these include Android 2.3. You possibly can select between a 7-, 8- or 9-inch display.
    Of course, the complete-coloration display is nice for Web surfing and
    different duties, but for studying in shiny light, monochrome e-readers (such as the Kindle) are sometimes
    superior. If you are reading this article, chances are high you do
    not have a CD player built-in into your car’s dashboard, however we’re guessing that you just do have a cassette participant.
    To avoid this problem, you possibly can depart the speakers in your car and hook them up every time you want
    to use your computer as a portable CD player.
    Sallow-skinned teenager basking within the glow of a computer display screen in a basement bedroom at his parents’ home?
    One downside to this technique is that along with having to take your laptop pc with you
    wherever you journey, you may even have to carry a small, but bulky
    set of speakers.

  7. Hi there this is kind of of off topic but I was wondering
    if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience.

    Any help would be enormously appreciated!

  8. Superb blog! Do you have any tips for aspiring writers?
    I’m hoping to start my own blog soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or
    go for a paid option? There are so many options out there that I’m completely
    confused .. Any tips? Many thanks!

  9. Please let me know if you’re looking for a author for your blog.

    You have some really great articles and I feel I would be a good asset.

    If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Regards!

  10. whoah this weblog is fantastic i really like studying your articles.
    Stay up the great work! You realize, a lot of people are looking around for this info, you can aid them greatly.

  11. Unquestionably imagine that that you said. Your favourite justification appeared
    to be on the net the simplest thing to take note of.
    I say to you, I definitely get annoyed at the same time as
    other people think about worries that they just don’t
    understand about. You controlled to hit the nail upon the highest and also defined out the whole thing without having side-effects ,
    folks can take a signal. Will likely be again to get more.
    Thanks

  12. Hi there I am so happy I found your website, I really found you by mistake,
    while I was browsing on Digg for something else, Anyways I am here now and would
    just like to say thank you for a fantastic post and a all round entertaining blog (I also love the
    theme/design), I don’t have time to browse it all at the minute but I have saved it and also included your RSS feeds, so
    when I have time I will be back to read a lot more, Please do keep up the fantastic job.

  13. In addition to the quality of the content, I found the layout and design of your blog to be very visually appealing and easy to navigate. It’s clear that a lot of thought and care has gone into making the user experience as smooth as possible.

  14. Thanks on your marvelous posting! I certainly enjoyed reading it, you will be a great author.I will be
    sure to bookmark your blog and definitely will come back from now on. I want to encourage that you continue your great
    writing, have a nice morning!

  15. Hey There. I found your blog using msn. This is an extremely well written article.
    I’ll make sure to bookmark it and come back to read
    more of your useful information. Thanks for the post.
    I’ll certainly return.

  16. Hey! Do you use Twitter? I’d like to follow you if that would be
    okay. I’m definitely enjoying your blog and look forward to new posts.

  17. You actually make it seem so easy together with your presentation however I in finding this
    matter to be actually something which I think I would never understand.
    It kind of feels too complicated and very extensive
    for me. I am taking a look ahead to your subsequent
    put up, I’ll try to get the hold of it!

  18. You made some really good points there. I checked on the web for more info about the issue and found
    most individuals will go along with your views on this website.

  19. Appreciating the dedication you put into your site and detailed information you provide.
    It’s awesome to come across a blog every once in a while that isn’t the same outdated rehashed information. Excellent read!

    I’ve saved your site and I’m adding your RSS feeds to my Google account.

  20. Wonderful work! That is the type of information that should be shared across the web.
    Shame on Google for now not positioning this submit upper!

    Come on over and consult with my website . Thanks =)

  21. En Uygun Lisans, müşterilerine sadece en kaliteli yazılım lisansları sunmakla kalmaz, aynı zamanda müşteri memnuniyetini de ön planda tutar. Hızlı teslimat, güvenli ödeme ve üstün müşteri desteği ile tam bir e-ticaret deneyimi sunuyoruz.

  22. We’re a bunch of volunteers and starting a new scheme in our community.
    Your website offered us with valuable info to work on.
    You’ve performed an impressive activity and our entire neighborhood might be grateful to you.

  23. Great blog here! Additionally your website rather a lot up fast!
    What host are you using? Can I am getting your associate link in your host?
    I desire my site loaded up as quickly as yours lol

  24. It’s tгuly very difficult in tһis active ljfe t᧐ listen news on Television, tһerefore I
    ⲟnly uѕe the web for that purpose, аnd obtаin tthe hottest іnformation.

  25. Güvenilir Bahis Siteleri Nelerdir?

    Güvenilir bahis siteleri, kullanıcıların güvenliğini
    ön planda tutan, lisanslı ve düzenlenen sitelerdir.
    Bu siteler, adil oyun politikaları ile birlikte, ödeme ve müşteri hizmetleri konularında da üstün kalite sunarlar.
    Ayrıca, güvenilir bahis siteleri, gizlilik politikalarına uygun hareket ederek, kullanıcı bilgilerinin korunmasını sağlarlar.

    https://sites.google.com/view/bahis-siteleri-bedava-bonus/

  26. I was curious if you ever thought of changing the layout of your website?
    Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having 1 or 2 images.
    Maybe you could space it out better?

  27. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored subject matter
    stylish. nonetheless, you command get got
    an nervousness over that you wish be delivering the
    following. unwell unquestionably come further formerly again since exactly the same
    nearly very often inside case you shield this increase.

  28. Şirketimiz, genellikle farklı marka ve modeldeki yazıcılar için hizmet sunarlar. Aynı zamanda yerinde teknik servis hizmeti vererek yazıcıların kullanıcıların bulunduğu yerde tamir edilmesini sağlar. Nadiren ise yazıcıları kendi servis merkezlerine alarak işlem yapar.

  29. Attractive portion of content. I simply stumbled upon your website and in accession capital to claim that I get in fact
    loved account your blog posts. Anyway I’ll be subscribing for
    your augment and even I achievement you get entry to consistently fast.

  30. Heey wοuld you mind stating ѡhich blog platform үou’re սsing?
    Ι’m ցoing to start my own blog in tthe neаr future Ьut I’m having
    a difficult tikme deciing betwee BlogEngine/Wordpress/B2evolution andd Drupal.
    Τhe reason I asк iѕ becɑuse yοur design andd style
    seеms differеnt then most blogs аnd Ӏ’m lookіng
    for ssomething сompletely unique.
    Ρ.S My apologies fоr gеtting off-topic but I had to ɑsk!

  31. I’m truly enjoying the design and layout of your website.

    It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out
    a designer to create your theme? Fantastic work!

  32. Magnificent beat ! I would like to apprentice while
    you amend your web site, how could i subscribe for a blog web site?
    The account helped me a acceptable deal. I had
    been a little bit acquainted of this your broadcast provided bright clear concept

Leave a Reply

Your email address will not be published. Required fields are marked *