by your description (and please don't take offense) i'm guessing electronics is not your strong suit
when the power supply is set to 12V and the measuring device (looks like this?) is removed and disconnected, the simple blink sketch works properly?