Where is a schematic showing the input signal, the output load and the power supply voltage?
Because we do not have a clue about what you want the Mosfet to do.
But he said the positive terminal of his "object" (load?) is connected to the drain so maybe NOTHING is connected to the positive power supply voltage.
Without a schematic then we are simply guessing.
I need the PWM controller for a fan, the voltage controller is for the MIC502 and the fan.. the fan is 12V @ .62A
I noticed what I was doing wrong, long story short the voltage regulator's output was going direct to the gate pin.. but the mosfet is for the Out of the MIC502, which seems is going to need a resistor, which is 280 Ohm
The MIC502 is designed to drive a bipolar NPN transistor (as shown in the datasheet), not a Mosfet. Its output high voltage is only 3.8V but the IRF510 needs a gate high voltage of 10V.
Use a BD135 NPN bipolar transistor with a 150 ohms base resistor.