AND gates always on?

Thread Starter

Noisettes

Joined Oct 7, 2017
17
Hi, so im trying to build this circuit


But im stuck at the AND gates. Theyre supposed to be a keypad password that when the buttons 1,4, and 7 are pressed in order...theyll unlock or output high at the last AND gate.
Problem is even without pressing the buttons the last gate already outputs high. Is it because im using 74LS08 instead of the recommended 74HC08 in the book?
 

AlbertHall

Joined Jun 4, 2014
12,625
If you press any of the numbered buttons other than 1, 4, or 7 does that last gate output go low?
If not measure the voltage on all the AND gate pins with no buttons pressed and report here.
 

crutschow

Joined Mar 14, 2008
38,503
Could be.
Substitution of parts without noting what problem the differences may cause is not good design practice.

What are the value of the resistors at each gate input going to ground?
Look at that resistor value and then the input current required to pull the AND gates to a logic zero (which is the purpose of those resistors).
 

bertus

Joined Apr 5, 2008
22,921
Hello,

What are the component values?
There are none given.
It could be that the pull-down resistors will not work with the LS08.

Bertus
 

MrChips

Joined Oct 2, 2009
34,807
If the circuit calls for 74HC08 then install 74HC08. It is not interchangeable with 74LS08. They are two completely different families and semiconductor technology.
 

dl324

Joined Mar 30, 2015
18,326
Welcome to AAC!
im trying to build this circuit
Ignore any publication promotes schematics drawn in that fashion. No component designators or values??

Do yourself a favor and don't waste your time, or ours, on such junk.
Is it because im using 74LS08 instead of the recommended 74HC08 in the book?
Newbies should not make substitutions when they don't understand enough to know what problems they'll be creating or know how to troubleshoot them. 74LS and 74HC are not interchangeable.

What values are you using for the pull down resistors?
 
Last edited:

Thread Starter

Noisettes

Joined Oct 7, 2017
17
Yep, if its any other button, the gate goes low.
The resistors are 10k...too high? What would happen if they are too high?
I dont think HC are common around here -_-
 

Thread Starter

Noisettes

Joined Oct 7, 2017
17
Also, since im pretty much a noob, how can i measure the voltage of the AND gates? Im comfused where to put the voltmeter probes
 
The power and ground pins (or any other pins) are not shown on the gates. I hope you connected them?

One probe goes to the negative of the power supply, the other to the gate your trying to measure.

Ones and zeros are defined by the logic family. HC, LS, C etc.
 

MrChips

Joined Oct 2, 2009
34,807
What? 74HCxx not available where you are?

If you insist on using a 74LS08 then the resistors connected to GND (-) are pull-down resistors and will have to be between 100 - 220Ω.
 

WBahn

Joined Mar 31, 2012
32,823
Also, what are you doing with the unused gates in the package. The inputs should all be tied to one of the power rails. This is not as important on TTL families, as they tend to pull high internally, but is critical on CMOS families.

The original schematic looks like buttons 1-4-7 have to be held down together, no pressed in any particular order. There is no memory element involved to remember that the 1 was pressed before the 4, for instance.
 

crutschow

Joined Mar 14, 2008
38,503
1k is a pretty typical value for TTL
That's okay for LSTTL but not the old standard TTL.
Standard TTL has a input current of -1.6mA for a logic zero so the resistor must be less than 500Ω to keep the input voltage below the 0.8V maximum zero value.
 
Top