I want to try to understand this. So in this case, the 5V from the
microcontroller will provide current to the base of the
transistor. That will then turn on the switch and allow current
to flow to the coil. So, in this case, the collector attaches to one
lead of the relay coil, and the other lead of the relay coil attaches
to a seperate 12V supply voltage. Is this correct? In other words,
this will not increase the 5V from the microcontroller to 12V, I am
simply supplying a seperate 12V feed? Am I way off on this one?