The problem of SN74LS136N (XOR).

hexreader

Joined Apr 16, 2011
619
Check the datasheet for your voltage regulator.

I am pretty sure that some capacitors are required, but I cannot see a single one on your breadboard picture.

If the 5V supply is not clean and stable, then anything can happen with digital ICs
 

dl324

Joined Mar 30, 2015
18,428
Still not owrking, one switch is off, goes to the 13th pin, 13th pin is 4.95 V, one switch is on, goes to the 12th pin, 12th pin is 0V, 11th pin (output) is 0V. I used 4.7 kilo ohm resistors
Switch on/off is ambiguous and it's tedious to read your descriptions of how things are connected. Post a schematic.
 

bertus

Joined Apr 5, 2008
22,964
Hello,

As said, place some decoupling capacitors on the regulator:

3-pin_low_power_regulators_with_capacitors.png

Also use some resistors from the output of the gates to the +5 Volts.
Any value between 1K and 4K7 will do:
74LS136.png
The image is taken from the attached databook.

Bertus
 

Attachments

Audioguru

Joined Dec 20, 2007
11,248
I didn't notice that the output of a 74LS136 needs a pullup resistor.
Did you connect the 4.7k pullup resistor from pin 11 to pin 14?

You should read the datasheet of everything you try. Your voltage regulator is missing the extremely important input and output capacitors.
 

Thread Starter

Human2

Joined Dec 22, 2017
51
I have 100 uF (microF) electorlytic capacitors, are they good ?

EDIT : oh now i see that I should use 0.1 and 0.22 uF ones.. oh well :(
 

Thread Starter

Human2

Joined Dec 22, 2017
51
WP_20171229_15_22_38_Pro.jpg WP_20171229_15_24_20_Pro.jpg

Okay so I got the capacitors, 0.22uF going from Vi to gnd, and 0.1 uF from Vo to gnd.

For whatever inputs output is always 0 V, except when both inputs are connected to +5V output is 0.12...

So both of my 74LS136N 's are probably broken right?
 

Thread Starter

Human2

Joined Dec 22, 2017
51
Oooohhh.... So that resistor is what was the problem now it works thanks guys xD...

I also got 74HC86N today (also xor gate)
and it works fine without output pullip resistor.
And some 74LSxx I used and and or ones also didn't need output pull up resistor why does 74LS136N need one
 

MrChips

Joined Oct 2, 2009
34,973
Oooohhh.... So that resistor is what was the problem now it works thanks guys xD...

I also got 74HC86N today (also xor gate)
and it works fine without output pullip resistor.
And some 74LSxx I used and and or ones also didn't need output pull up resistor why does 74LS136N need one
Read the data sheet.
If it says OPEN COLLECTOR OUTPUT, then it needs a load resistor (pull-up resistor).
 
Top