What is TTL and why is it important to my Retro Computers

The place to visit to learn tips on how to troubleshoot your machine.
User avatar
Posts: 4632
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex

What is TTL and why is it important to my Retro Computers

Post by rubber_jonnie » Wed Oct 06, 2021 11:20 am

TTL, or Transistor Transistor Logic (REF:https://en.wikipedia.org/wiki/Transisto ... stor_logic is the core technology used in the chips used within many of our favourite retro computers

In basic terms, TTL translates voltage levels into binary, 5V being 1 and 0V being 0.

It isn't quite as simple as that though, as the 5V & 0V scenario is what would be the case in a perfect world!

In reality the binary 0 is anywhere between 0V and 0.8V for an input signal and 0V to 0.5V for an output signal.

Binary 1 is anywhere between 2V to 5V for an input signal, and 2.7V to 5V for an output signal.

And of course the ICs need a power connection, or VCC of 4.75V to 5.25V

Why do we need to know this?

When investigating problems with these systems, it is often the case we will require a way to determine if these signals are correct.

For example, we want to check the output of an inverter, one of the simplest logic gates, which will output a TTL value of 1 when a signal of 0 is input, and vice versa.

We can use a TTL logic probe, however in a running machine, the input/output signals may be switching very quickly so the logic probe might not be able to give an accurate yes/no answer, though it will at least show the state is changing.

However, if we connect channel one of an oscilloscope to the inverter input, and channel two to the output, we can capture these changes of state and measure the voltages at the same time.

This allows us to see if the input/output voltages fall within the above specifications and if there is any delay in the output once an input is received. We can check this against the specs for a chip in the datasheet.

Similarly, we can use a Logic Analyser to collect similar data, though my preference is the oscilloscope.

REFERENCES:https://www.allaboutcircuits.com/textbo ... 20exactly.
Collector of old Atari things:
800XL + Ultimate 1MB, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k +APE Warp) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg), 1040STF long button floppy, 2x 1040 STFMs + Gotek, 2x 4160STE with 32Mhz booster, ROM switcher, Mega ST1, Mega ST4, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...