Author Topic: Pull-up resistors on 74HC series  (Read 7983 times)

0 Members and 1 Guest are viewing this topic.

Offline ABCDTopic starter

  • Contributor
  • Posts: 23
Pull-up resistors on 74HC series
« on: May 21, 2011, 02:02:30 am »
I have a 74HC112N, dual negative edge triggered JK flip flop with preset and clear.  I want to set it to toggle mode, which I know how to do in terms of what the inputs need to be, but when it comes to wiring it up, I'm not sure how to configure the inputs.  They can't be left floating, I know, and the datasheet says to tie unused inputs to either Vcc or GND.  But it makes no mention of pullups.  So, can I just wire J and K to Vcc, PRE and CLR to Vcc (they are active LOW) and be OK?  (I'd tie all inputs for the second FF to Vcc I suppose.)  My impression is that if I attached switches to J and K, I'd need to use pullups to keep the inputs at logical 1 (or pulldowns for logical 0) so that I don't short out the pins when I push the button.
 

Offline tecman

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Pull-up resistors on 74HC series
« Reply #1 on: May 21, 2011, 02:39:00 am »
You can tie any input hi or lo, as required, without any problem.  Pull ups not required.

paul
 

Offline ABCDTopic starter

  • Contributor
  • Posts: 23
Re: Pull-up resistors on 74HC series
« Reply #2 on: May 21, 2011, 02:54:10 am »
Thanks, that's what I thought from reading the datasheet.  If attached switches to inputs J and K, would a pullup then be needed?  I am still a little unclear as to when they need to be used.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19896
  • Country: gb
  • 0999
Re: Pull-up resistors on 74HC series
« Reply #3 on: May 21, 2011, 08:39:19 am »
I think you nedd to lead a bit more about what a pull-up/dwon resistor actually does so you can answer your own question.

A CMOS gate has a high impedance (>10M) which can float at any voltage if not connected to either power supply rail.

Now look at the internal structure of a typical CMOS gate.


If VIN is half way between VDD and the negative rail, both Qn and Qp will turn on causing a current to flow which would cause the output voltage to also flow between VDD and the negative rail. The result is your CMOS IC will use much more power than it's supposed to.

When the gate is working properly and is static either Qn or Qp will be on, not both which should only happen when the input voltage is changing from high to low or vice versa.

A pull-up/down resistor is only required when there's a chance a CMOS input will not be connected to either VDD or the negative rail.
 

Offline ABCDTopic starter

  • Contributor
  • Posts: 23
Re: Pull-up resistors on 74HC series
« Reply #4 on: May 21, 2011, 10:13:47 pm »
Hero999-

Thanks, I believe I have the concept down now.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf