Electronic – How to control 12V from 5V using transistor?

power supplyrelayswitch-mode-power-supplyswitchingtransistors

enter image description herei have used BC547 Transistor to stepup from 4.6v but I can't able to draw above 5v from collector, I have given input of 4.6v to base and emitter to ground and collector to output load. but load doesn't activate. Can anyone help me out from this problem?

Best Answer

You need a diode across the relay coil to handle back EMF or you may destroy the transistor. Ignore the LED in this picture

enter image description here