Transistor

If you are looking for switches / bump sensors, please see the Bump Sensor article

A switch, used for turn on different devices that have different voltage needs (such as fans) are based on transistors. The following diagram can be used to help you interface with such a device. You must use the diode to let the transistor correctly reset itself!