Gentlefolk, I am attempting to build a circuit to switch power through a P-CHANNEL MOSFET device. I believe I am on the right track, but I appear to be frying my NPN transistors (2N2222) as soon as the NPN base goes high (5v). The smell is pretty putrid and I am probably knocking a year off my life every time I breathe in the fumes. Not quite sure what I am doing wrong here. R1 is simply a dummy load resistor. In the production circuit, this is where the equipment sits.
I am simply trying to use the NPN to drag the MOSFET base to ground which should turn on the MOSFET and allow current to pass. There should only be 17mA through R2 which shouldn't be enough to fry the device. Any idea what I'm doing wrong here?