TTL logic level , how NOT gate checks logic level

digital-logicledttl

enter image description here

This is a TTL logic level checker circuit , highlighted blue area is a checker pin. Voltage at checker pin is 0.65V so this must be logic 0 , LOW LED will on.

But in input of first 7404 NOT gate in first row is 1.3V and 2nd 7404output is LOW , logic 0.

Why first NOT gate in first row thinks 1.3V is a logic 0 , (LOW)

isn't TTL voltage range in 0.8-2V is a unvilad area ?

Best Answer

I assume since your circuit says it is using 7404, and not for example 74LS04 etc then it is really classic 7404 TTL.

So you are right, according to the datasheet the range for a low input is 0v to 0.8v, and a high from 2v to Vcc or 5v.

So, any input up to 0.8v is guaranteed to be a 0, and any input 2v and above is guaranteed to be a 1.

As you point out, the region in-between is a no-man's land. But that doesn't mean there is no output, it's just undefined. The input could be considered a 0 just as well as 1. But it has to be one or the other.

In your case, the gate considers the input of 1.3v to be a 0. This is not unexpected; the midway point between 0v and 2v is 1.4v, and this is slightly below that. Since this is a simulation, it is probably programmed to act that way. But in real-life, even if the input was 1.9v, it could still be considered a 0, just unlikely.

BTW your two voltmeters are not connected the same way, your top one (1.323v) shows the voltage going into the top 7404, but your bottom voltmeter (0.652v) shows the voltage at the junction of the two diodes, so the voltage is a diode drop above the voltage going into the input to the bottom 7404.