Transistors are electronic switches that are used to control things that would kill an Arduino, Raspberry Pi, or Beaglebone. There are two major types known as a BJT and MOSFET. This is part 1 of a two part series, which looks at BJTs first.
Courtesy: AddOhms