74LS08 trouble

Thread Starter

krzysiudobry

Joined Sep 1, 2010
2
Hello, I'm new

I'm having trouble with the 74ls08:





So here's what I get:
When I connect the power to pin 14 (using resistor voltage divider because I use a 9V battery and I need 5V for this one) and ground pin number 7 I get 4V from pins number 11, 8, 3 and 6 without any input to all 4 gates!.

when I connect the power to lets say pin number 13 and 12 I still get 4V from pin 11, when I ground any of the input pins i get 0V from output (for example pin 13-grounded, pin 12 - 5V, pin 11 - 0V) when i ground both inputs i still get 0V as output. Please help.

here's what says on the ic: HD74LS08P OC16
 

beenthere

Joined Apr 20, 2004
15,819
If you need to use a 9 volt source, CMOS logic is better. 74LSxx logic will fail if the Vcc goes above 5.5 volts. TTL logic tends to fail with the input shorted, so connecting an input directly to Vcc may cause problems. It's best to use a pullup resistor of around 10K ohms.

A CD4081 has the same function, but will work from about 3 volts up to 15 volts.
 

DonQ

Joined May 6, 2009
321
Or at least use a 3-pin regulator like a 7805 or a lm317 type of regulator (or any of a wide variety of 3-pin options). This will give you a 'real' 5V supply with minimum hassle.

Voltage dividers go wacko when the load changes, like when you connect different inputs, or even if the output changes, or depending on the values (it can even change when you just attach a meter to read the voltage).
 

n1ist

Joined Mar 8, 2009
189
Other than the voltage, I'm not sure what the issue is? The 74LS08 is a quad AND gate; the output is a "1" only when both inputs are "1", and "0" otherwise. On TTL, unconnected inputs tend to float hi.
/mike
 
Top