Author |
Message |
droffset

Joined: Feb 02, 2009 Posts: 515 Location: London area
Audio files: 2
|
Posted: Sun Mar 14, 2010 5:21 pm Post subject:
Resistors and Pulling down or up. |
 |
|
Musing about the next system I want to build and came up with a query for you folks:
I've gotten into the habit of using pull-down resistors on CMOS inputs because it was suggested to me. But why is a resistor necessary, can one not just use a jumper to connect to ground?
I see people mostly use 100k, is that an arbitrary value or is anything out of the parts bin usable?
Thanks _________________ ==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing
Edit: Spelling mistakes. |
|
Back to top
|
|
 |
droffset

Joined: Feb 02, 2009 Posts: 515 Location: London area
Audio files: 2
|
|
Back to top
|
|
 |
Psyingo

Joined: Jun 11, 2009 Posts: 248 Location: Canada
|
Posted: Sun Mar 14, 2010 8:19 pm Post subject:
|
 |
|
it is my understanding that the pull up/down is used when there is another signal that is coming in, so that when the signal isnt there, it will default. like when you are patching modules, leaving the input unconnected would make it float.
whether or not you pull up or down is determined by whatever you want the input to default to.
if the input is going to permanently remain high or low, tying it to either supply or ground is fine. |
|
Back to top
|
|
 |
Uncle Krunkus
Moderator

Joined: Jul 11, 2005 Posts: 4761 Location: Sydney, Australia
Audio files: 52
G2 patch files: 1
|
Posted: Mon Mar 15, 2010 1:07 am Post subject:
|
 |
|
It may not be much of an issue when being pulled down (sinking) but when an input is being pulled up the resistor stops the input from sourcing significant amounts of current. _________________ What makes a space ours, is what we put there, and what we do there. |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24396 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Mon Mar 15, 2010 5:41 am Post subject:
Re: Resistors and Pulling down or up. |
 |
|
droffset wrote: | But why is a resistor necessary, can one not just use a jumper to connect to ground? |
For CMOS it is perfectly OK to wire an input hard to either Vcc or ground. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 536 Location: Dordrecht NL
Audio files: 4
G2 patch files: 4
|
Posted: Mon Mar 15, 2010 6:06 am Post subject:
Re: Resistors and Pulling down or up. |
 |
|
Blue Hell wrote: | droffset wrote: | But why is a resistor necessary, can one not just use a jumper to connect to ground? |
For CMOS it is perfectly OK to wire an input hard to either Vcc or ground. |
It's OK if you want to have the input permanently grounded or pulled up. The resistor is used when you still want to use the input. With the pulldown (or pullup in the case an input is "active low"), you can leave the input unconnected without it being "floating".
(edit: ermm... that's more or less exacty what Psyingo wrote. Ah well, I'll just leave this here in case it makes it even more clear) |
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 536 Location: Dordrecht NL
Audio files: 4
G2 patch files: 4
|
Posted: Mon Mar 15, 2010 6:33 am Post subject:
|
 |
|
Uncle Krunkus wrote: | It may not be much of an issue when being pulled down (sinking) but when an input is being pulled up the resistor stops the input from sourcing significant amounts of current. |
So am I correct that when in need of a pull up, it's best to use a smaller value resistor like 10K instead of, say 100K?
In this link (very informative, thanks) 10K pullups are used.
http://www.seattlerobotics.org/encoder/mar97/basics.html
I do have some doubts here though. Do inputs actually need current? I think they just need voltage. The sourcing or sinking current ability is an issue with the outputs isn't it? |
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 536 Location: Dordrecht NL
Audio files: 4
G2 patch files: 4
|
Posted: Mon Mar 15, 2010 6:42 am Post subject:
|
 |
|
quote: "Some disadvantages of pull-up resistors are the extra power consumed when current is drawn through the resistor, and the reduced speed of a pull-up compared to an active current source."
Ermm... now it gets complicated. This would mean: a higher resistor limits current draw.
Ah well, as we're using mostly audio frequencies speed would be less of an issue compared with normally used clockspeeds in digital circuits. |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24396 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Mon Mar 15, 2010 6:45 am Post subject:
|
 |
|
electri-fire wrote: | quote: "Some disadvantages of pull-up resistors are the extra power consumed when current is drawn through the resistor, and the reduced speed of a pull-up compared to an active current source." |
Keep the context in mind .. for CMOS this is not the case. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Uncle Krunkus
Moderator

Joined: Jul 11, 2005 Posts: 4761 Location: Sydney, Australia
Audio files: 52
G2 patch files: 1
|
Posted: Tue Mar 16, 2010 3:24 am Post subject:
|
 |
|
Yeah, definitely listen to Jan on this one.
CMOS = No resistor needed.
I was just floating something I remember hearing, and Jan is right, it was in reference to TTL. Sorry to have misled anyone. _________________ What makes a space ours, is what we put there, and what we do there. |
|
Back to top
|
|
 |
|