Using Ardunio and MOSFET to drive 5V to 12V

fungus:

focspike:
Thanks for the replies, I will try switching SOL to the other side and see how that goes. I believe my NPN pinout is fine, as well as the NMOSFET.

I am using the NMOSFET due to the supplies I have available, and I was hoping that I could make it work with these parts

Ignore that. It might work with the pullup to 12V....get rid of the 100k/50k resistor.

I was unable to make it work by removing the resistor, and also removing the resistor+moving SOL to connect with the drain.