bcd decimal

Thread Starter

duxbuz

Joined Feb 23, 2014
133
Hi

Just a question on setting up a logic circuit, to see if I am doing it correctly.

I have a 74HC42N BCD to decimal decoder

http://www.nxp.com/products/logic/decoders_demultiplexers/74HC42N.html

I am basically after probing its logic just to watch it working :)

I dont really know how to figure these circuits out so I am trying to use the same resistor pull up values that I used for my other 74HC logic ICs.

I add it to my breadboard with 5v regulator, I then add 4 buttons for inputs and on the buttons I use 10k resistors as pull ups.

I do not know how this value is determined exactly, I was following a schematic when I made the last circuit I did, but since that I read this article:
https://learn.sparkfun.com/tutorials/pull-up-resistors/what-is-a-pull-up-resistor

I am not rightly sure how to determine the input impedance then go a 1/10th less. But it does state 10k as a loose rule.

I then decide to leave the outputs floating like I did with the 74HC00.

With the 74HC00 I only had to pull down the inputs, so I am hoping this is normal practice?

I am expecting the inputs to dictate each output pins state, so are the outputs even floating?

Then I was hoping to be able to power on and test the state of the pins using logic probe and pressing the switches.

Does this seem reasonable?

Thanks
 

ericgibbs

Joined Jan 29, 2010
18,849
hi dux,
Its never a good idea let input pins float, it will make your circuits more susceptible to interference.

I would use 10K pull up resistors and switch down to 0V.

E
This pdf will help, its a little on the big size.! but very comprehensive.
http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CD8QFjAD&url=http%3A%2F%2Fhighered.mcgraw-hill.com%2Fsites%2Fdl%2Ffree%2F007337377x%2F968377%2FChapter05_final.pdf&ei=dItCU8zdOMyp7QaO2IG4Dw&usg=AFQjCNFOMKMnGryLhgSzKoRGZF2Iyc1ReA&bvm=bv.64125504,d.ZGU&cad=rja
 

MrChips

Joined Oct 2, 2009
30,810
Datasheets for digital logic will usually not show the input impedance.
Look up the input current in the datasheet. You may have to go to a different manufacturer's datasheet such as the one from Texas Instruments.

For 74HC00 series, input currents are typically around ±1μA max.

Instead of using input impedance, you can do a circuit analysis as follows:

Suppose you used a 1MΩ pullup resistor and the input pin draws 1μA.
The voltage drop across the resistor is 1V. Hence the logic-high input voltage will be Vcc - 1V. For Vcc = 5V, the input voltage is 4V which is acceptable.

Because the input current is very small the pull-up or pull-down resistor can be a value from a very wide range, 100Ω to 1MΩ.

10kΩ pull-up or pull-down works fine.

Totem-pole outputs do not float, i.e. you can leave output pins not connected.
 

crutschow

Joined Mar 14, 2008
34,452
For Active High inputs it may be easier to use a ≈10kΩ resistor pull-down resistor to ground on each input and connect the switches to +5V. That way the switches that are on will correspond to the BCD input value.
 
Top