--- title: Transistors description: draft: false tags: - electronics author: TrudeEH showToc: true --- Transistors are electronic components that behave like a `switch`, or `amplifier`. ## Schematic ```Plain .--.,-- Collector Base --(--|<) `--`'-- Emitter ``` ## Examples ### Switch If the `base` pin is provided with energy, the transistor allows current to flow in the main circuit. ![image](image.png) ### Amplifier Altering the voltage given to the `base` pin allows us to control a larger voltage in the main circuit. ![image1](image1.png) ## Types of Transistor ### NPN An NPN transistor combines the `base` pin and `collector` pin. ![image2](image2.png) > Note: Even if the collector pin is disconnected from the circuit, a small amount of current still passes through. ![image3](image3.png) ### PNP A PNP transistor receives energy through the `emitter` pin, and then divides it to the remaining pins. ![image4](image4.png)