The tag 'transistor switch' is only used once. This is the project:
Rpi 3 12V transistor switch
Using the GPIO pins on a Raspberry Pi to control transistors that in turn drive 12V devices.
Using the GPIO pins on a Raspberry Pi to control transistors that in turn drive 12V devices. Use at your own risk.