Replace relay with mosfet?

larryd:
That circuit as is is going to destroy your BJT.

Change the 10k to ~8.6k

Add a ~1k between the BJT collector and the MOSFET gate.

Hi Larryd!

Do you mean change the pull-up resistor from 10k to 8.6k? if yes, Can I use 1k or 4.7k instead?

I have edited the schematic. :slight_smile: