I have basic knowledge about NPN transistors and I know how they work: for current gain based on the small input current in the base we are able to drive large amount of current in between collector and emitter.
In my circuit I need to amplify 3.3V of my stm32 micro controller input to 10 V output to drive a Mosfet switch.
I want to give 10V input to the gate of the MOSFET to get very low Rds. I am using STM32 micro controller for controlling. Its maximum output voltage is 3.3V but I need 10V so I planned to use an NPN transistor in common emitter configuration so that I can amplify 3.3V to 10V and then I can give that to the gate of the MOSFET.
I understood that the amount of voltage we give in input to the base we will get as large voltage between collector and emitter based on the resistors. I also understood the voltage gain based on Rc and RE for example if Rc = 1k and Re = 100 ohm the gain is 10. But I cant understand how to choose a resistor and how much current should I use how much current to amplify to amplify the voltage, and how much voltage to give to get 10V as output. How this entire thing works based on voltage amplification based on my circuit.
I have searched on google but I can't 100% understand it.