I used this circuit to control a MOSFET via PWM with a microcontroler, but the output of 5 volts and max current isn't enough for high power loads, so i used two transistors to be able to use a higher voltage, but the MOSFET can't handle over 20 volts... So using a resistor voltage divider and storing in a capacitor to be able to deliver a high enough current peak so the MOSFET can turn on fast enough and stay on.
If you have sugestions to beef up this circuit, leave it on comments.