The RTL Kit range are discrete logic boards that teach how RTL logic gates work. With integrated buttons and LEDs, each kit can be used independently to learn about a specific logic function, such as AND and OR, while also allowing for combined use with other RTL kits, realising more complex logic functions.
Even though RTL is no longer found in modern day electronics, it demonstrates some features that are indeed still use, such as NMOS logic, open collectors, and transistor amplifiers. By making the kit discrete (i.e. no integrated circuits) you can see how components that go into modern semiconductors are used to power our world.
Before diving into the RTL kits, it might be a good idea to get yourself the Logic Board and read through its instructions, as it teaches about logic and binary, both of which are needed to understand this kit.
RTL stands for Resistor Transistor Logic, which itself is what’s known as a logic family. All logic families and logic gates operate on binary, being 1’s and 0s, but how these logic families achieve this can vary greatly.
An analogy to this concept could be something like signalling over long distances. You could either use smoke signals, large flags, or a bright source of light to all transmit a binary signal over great distances, but no matter what method you choose, they all send binary,
In the case of logic families, some may use current, others will use voltage, and even those using voltage will all have different voltage levels. Furthermore, how those logic families generate those currents and/or voltages can also greatly different, as we will see in the RTL gates.
For example, CMOS logic (the most common type today, and also the simplest), uses two transistors in a push-pull configuration to connect an output to either power or ground, whereas in TTL logic (widely used in the 1970s-1980s), used a combination of overly complex BJT transistor emitters as inputs, which honestly, still doesn’t make sense.
To understand how RTL logic gates work, its best to start with the most basic one, the NOT gate.
A NOT gates output will always be the opposite to its input, with an input of 1 becoming a 0, and vice versa. The input to the RTL NOT gate, as shown in the schematic, is controlled by the switch SW1, and the LED D1 indicates the output of the NOT gate.
When the switch is unpressed, there is no current flowing into the RTL NOT gate, meaning that the input is a logical 0. Because there is no current flowing into the transistor Q1, it cannot conduct electricity, meaning that current can flow through R3, through R1, and then through the LED, turning it on. Because the LED is on, this shows that the output (the collector of Q1) is VCC, representing a logical 1.
If we then push the switch, current can flow into Q1 via R2, and this represents an input of 1. Because the transistor is fully saturated (i.e. becomes fully conductive), it means that all the current coming through R3 is shorted to ground through the transistor. As such, no current is allowed to flow through the LED, turning it off, thus representing a logic 0.
The RTL NAND Gate uses two transistors in series to realize the NAND function. A NAND gate’s output is only off when both inputs are on. By examining the schematic, we can see how this works.
If neither input is on, neither Q1 nor Q2 are conducting, allowing the output LED to turn on as current flows through R4, R1, and D1. If one transistor is turned on while the other remains off, the path to ground via the transistors is incomplete. As a result, the current still flows through the LED circuit, keeping the LED on.
The RTL NOR Gate also uses two transistors, but instead of being in series, they are arranged in parallel. This means that if either transistor is on (or both), there is a path between the output and ground, making the output 0. However, if neither input is on, there is no path from the output to ground, resulting in an output of 1.
The other gates in the series, the AND and OR gates, are created by adding a NOT gate to the output of the NAND and NOR gates, respectively.
But can you spot a pattern with the RTL kits?
- Every input has its own transistor.
- AND functions are achieved by placing transistors in series, as all need to be on (1 AND 2 AND 3, etc.).
- OR functions are achieved by placing transistors in parallel, as only one needs to be on for the output to be set (1 OR 2 OR 3).
Multi-input logic gates, such as 4-input AND or OR gates, can be created by adding more transistors. For AND gates, more transistors are placed in series, while for OR gates, additional transistors are placed in parallel.
RTL takes advantage of transistors essentially pulling current away from some output circuit. While this is straightforward to implement, it also introduces several significant challenges.
The first issue with RTL is that current is always flowing (either through the output or directly to ground), making it very energy-intensive. While this is not a major issue for a few gates, it becomes problematic when thousands of these gates are integrated into a tiny silicon chip. The energy consumption can generate enough heat to cause the chip to become very hot.
The second issue is that with such high current consumption, RTL cannot be scaled up to billions of transistors. For comparison, NMOS (a closely related logic family) CPUs in the 1980s could consume a few watts of power with around 10,000 transistors. A modern GPU, if built with RTL, would require hundreds of kilowatts of power, making it impractical.
The third issue is that RTL gates using BJTs (Bipolar Junction Transistors) are relatively slow, making them unsuitable for high-speed logic. Increasing the size of the collector resistor (e.g., R3 in the NOT gate) can reduce current consumption, but this comes at the cost of even slower speeds.
This slow speed also causes issues in complex gates with multiple transistors, as it takes time for each transistor to turn on. This can lead to unexpected outputs that rapidly change as signals propagate through the circuit.
Component | PCB Reference | Quantity | Looks Like |
---|---|---|---|
2N3904 | Q1, Q2, Q3 | 3 | |
10K Resistor | R1, R2, R3, R4, R5 | 5 | |
3mm Red LED | D1 | 1 | |
Tactile Switch | SW1, SW2 | 2 | |
PP3 Battery Connector | - | 1 |
Component | PCB Reference | Quantity | Looks Like |
---|---|---|---|
2N3904 | Q1, Q2 | 2 | |
10K Resistor | R1, R2, R3, R4 | 4 | |
3mm Red LED | D1 | 1 | |
Tactile Switch | SW1, SW2 | 2 | |
PP3 Battery Connector | - | 1 |
Component | PCB Reference | Quantity | Looks Like |
---|---|---|---|
2N3904 | Q1, Q2, Q3 | 3 | |
10K Resistor | R1, R2, R3, R4, R5 | 5 | |
3mm Red LED | D1 | 1 | |
Tactile Switch | SW1, SW2 | 2 | |
PP3 Battery Connector | - | 1 |
Component | PCB Reference | Quantity | Looks Like |
---|---|---|---|
2N3904 | Q1, Q2 | 2 | |
10K Resistor | R1, R2, R3, R4 | 4 | |
3mm Red LED | D1 | 1 | |
Tactile Switch | SW1, SW2 | 2 | |
PP3 Battery Connector | - | 1 |
Component | PCB Reference | Quantity | Looks Like |
---|---|---|---|
2N3904 | Q1 | 1 | |
10K Resistor | R1, R2, R3 | 3 | |
3mm Red LED | D1 | 1 | |
Tactile Switch | SW1 | 1 | |
PP3 Battery Connector | - | 1 |
To learn more about how to solder electronic components, download the Electronics Construction Manual free using the button below
Electronics Construction ManualWhen soldering components, it is essential that you do so in a particular order, so that it is easy to add components and get to their legs. Generally, you always start with the smaller components (such as resistors and capacitors), before moving onto the larget parts (potentiometers and ICs).
Soldering GuideFeeling brave? Consider using different resistor values
Attach these gates to other circuits to make more complex logic systems