Moderator's Note:
This thread was split from -- 74HC08N always outputs 1
.
Okay I got another problem.
I got a SN74LS136N (XOR), connected to +5V Vcc, and ground, output to 100 ohm to LED to ground,
and whatever input I gave it output was always zero (when one of inputs is 1 and other 0 output should be 1)
So I thought maybe its because of the floating pins, so I connected all unused input pins to gnd, (5 of them with normal
wires and 1 of them with a 100 ohm resistor because I dind't have any more wires left) but for whatever A and B inputs it was still 0.
So I thoguht maybe I should check datasheet for and and datasheet for 74HC08N (the one which I got working fine) and compare.
And I saw that for 74LS136N I should use 40 uA current for high-level input current (did find high-level input current in 74HC08N, just input current which should be 1000nA? it works when 5V are connected directly so I don't know what current I'm inputing in it), so I connected (Vcc and gnd) of 74Ls136N to (5V and gnd), output to LED, 2nd input to gnd to 0 ( B = 0 ) and well for first input, I got from +5V to 10 000 ohm resistor, then to 1000 ohm and then to another 1000 ohm ( so current is then 41.6 uA ) and then to 1st input ( A = 1).
And yet LED doesn't shine
EDIT: Oh just realised that 5 / 12000 = 4.16 * 10tothepwerof -4 -.-
So I should really use 120 000 ohm of resistance for HIGH_LEVEL input ?
This thread was split from -- 74HC08N always outputs 1
Okay I got another problem.
I got a SN74LS136N (XOR), connected to +5V Vcc, and ground, output to 100 ohm to LED to ground,
and whatever input I gave it output was always zero (when one of inputs is 1 and other 0 output should be 1)
So I thought maybe its because of the floating pins, so I connected all unused input pins to gnd, (5 of them with normal
wires and 1 of them with a 100 ohm resistor because I dind't have any more wires left) but for whatever A and B inputs it was still 0.
So I thoguht maybe I should check datasheet for and and datasheet for 74HC08N (the one which I got working fine) and compare.
And I saw that for 74LS136N I should use 40 uA current for high-level input current (did find high-level input current in 74HC08N, just input current which should be 1000nA? it works when 5V are connected directly so I don't know what current I'm inputing in it), so I connected (Vcc and gnd) of 74Ls136N to (5V and gnd), output to LED, 2nd input to gnd to 0 ( B = 0 ) and well for first input, I got from +5V to 10 000 ohm resistor, then to 1000 ohm and then to another 1000 ohm ( so current is then 41.6 uA ) and then to 1st input ( A = 1).
And yet LED doesn't shine
EDIT: Oh just realised that 5 / 12000 = 4.16 * 10tothepwerof -4 -.-
So I should really use 120 000 ohm of resistance for HIGH_LEVEL input ?
Last edited:

