Skip to main content

Section 5.1 Before Class: Transistors as Controlled Switches

This reading introduces the transistor: a three-terminal device that uses a small signal on one terminal to control a much larger current through the other two. We need one because the GPIO pins we have used so far can drive only small loads such as the on-board LED or a logic-level signal line: their current rating is 6 mA per pin (15 mA at most), with a total budget across the chip, while motors, relays, high-brightness LEDs and solenoids need hundreds of milliamps or more. The GPIO pin never drives the load directly. It drives the transistor, and the transistor carries the load current.