| Author |
Message |
blownauratone

Joined: Nov 10, 2011 Posts: 6 Location: Los Angeles, CA
|
Posted: Tue Dec 06, 2011 6:40 pm Post subject:
Looking for Basic Answers on Pulldown Resistors w/CMOS |
 |
|
I've read various snippets here and there that recommend putting pulldown resistors on "every input" of Lunetta circuits. What I can't tell is this:
Does this mean resistors on every input on in-use section of a chip (say, two triggers in a 40106), or resistors on every input of every device (say, every input on a 4077, even if only one gate is connected in the circuit)?
Lastly, I've seen some folks say, "CMOS doesn't need pulldown resistors." Is there any truth to this?
I have a clean power setup and I still get less-than-predictable results on many of the designs I try on breadboard, so wondering if this is the reason.
Thanks much,
-blownauratone |
|
|
Back to top
|
|
 |
inlifeindeath

Joined: Apr 02, 2010 Posts: 316 Location: Albuquerque, NM
|
Posted: Tue Dec 06, 2011 6:48 pm Post subject:
|
 |
|
yes, just like an opamp, the inputs need to be told what to do, otherwise you'll get the aforementioned unpredictable results. An unused input doesn't need a resistor, just needs to be tied to V+ or Gnd depending on the function. _________________ http://www.youtube.com/user/borisandfef |
|
|
Back to top
|
|
 |
blownauratone

Joined: Nov 10, 2011 Posts: 6 Location: Los Angeles, CA
|
Posted: Tue Dec 06, 2011 6:56 pm Post subject:
|
 |
|
| inlifeindeath wrote: | | An unused input doesn't need a resistor, just needs to be tied to V+ or Gnd depending on the function. |
Is there any good "law" to tell which of those (V+ or Gnd) a given unused input should be patched to?
Thanks for the info! |
|
|
Back to top
|
|
 |
MadScientist

Joined: Nov 28, 2011 Posts: 63 Location: Denmark
|
Posted: Tue Dec 06, 2011 11:26 pm Post subject:
|
 |
|
Unfortunately there are no hard and fast rules for what you should do to unconnected inputs. I can think of exceptions to pretty much most of those, which springs to mind.
Very broadly speaking:- Never connect two outputs together. Exceptions: Open drain outputs, tristate outputs. (Tristate only allows this when used and clocked properly).
- Active inputs, meaning those which are connected to an output somewhere, doesn't need neither pull-up nor pull-down resistors. Exception: Open drain outputs always needs a pull-*up* resistor for them to work properly.
- Inputs for unused functional units, like complete gates, flip-flops and so on, should be tied either high or low, whichever is most convenient. Exception: Unused analog multiplexer pins can be left floating with no ill effects.
- Inputs for partially used functionally units, like when you only want to use 3 out of four inputs to a four input gate, need to be tied either low or high, depending on the function you want to achieve. Inputs doesn't have a 'default' input state, as it were.
A completely different explanation for your troubles could be building CMOS circuits on breadboard (assuming we are talking about the quick prototyping no-solder kind made from Nylon). Breadboards quickly develop poor connections, and they have quite high capacitances between 'lanes', both of which are a very questionable combination with the high sensitivity of standard CMOS chips.
Decoupling the power supply directly (and I do mean *directly*) next to each chip with a 0.1uF capacitor is also highly recommended, though I suspect from your description you are doing this already.
Frank. |
|
|
Back to top
|
|
 |
|