Transistors and CMOS: The Switch Inside Every Gate
Hold your phone for a moment. Inside it, a chip smaller than your thumbnail is deciding which pixels to light, which tower to talk to and which app to wake, and every one of those decisions is made by switches. There are billions of them, and each flips on and off a few billion times a second. Nobody presses them. Each switch is flipped by the voltage that arrives from another switch, and that is the only reason a circuit with a billion gates can exist at all: the output of one gate has to be strong enough to operate the input of the next.
You have been drawing gates as neat little symbols. This chapter opens one up. What is the switch that an electrical signal can operate, with no finger involved? It is the transistor. And it has a second personality. Turn it on only part of the way and the current through it follows the signal faithfully, but bigger. That is amplification: a microphone's whisper becomes a loudspeaker's voice, and a sensor's few millivolts become a number a processor can read. The next lesson, on the op-amp, builds on that second personality; this one is about the first, the switch, and the gates made from it.
By the end you will be able to explain how a small base current steers a large collector current, tell cut-off, active and saturation apart, and size the resistor that makes a transistor a switch. You will choose between the three ways of connecting a transistor, explain how a MOSFET works and why its gate takes voltage instead of current, and draw a CMOS inverter, NAND and NOR from transistors, with the reason they hardly use power while resting.
We go in five parts, from the device to the gates built on it: the bipolar transistor, its three regions and its job as a switch, its three connections, the field-effect transistor, and CMOS logic.