What is the gate voltage relative to source - ie red lead on gate, black on source pin (not ground)? -12v, ground end of resistor, gnd of DAC, opamp and Arduino should all be connected to a single point - no daisy chains or loops. If you have a scope monitor output of opamp (to ground) on A and voltage at source (to ground) on B channel and set it to A-B - it shouldn't be more than 2 -3v, maybe 4 max and stable DC. If you see any oscillations at high frequency then you need to add compensation to your loop as already mentioned.... your rats nest isn't helping here.





