Hoping somebody can help point out what I did wrong last night.
I have a Adafruit Feather M0 development board which I wanted to use to control a LED array. Because the array required a 9v supply I decided to use a seperate 9v battery and switch it using a MOSFET.
Becuase I'm basically lazy I purchased a IRF520 module from Amazon and wired it up as per the attached image.
I loaded the blink sketch up and set pin 14 (A0) as the output pin. Then uploaded the sketch onto the Feather.
At first all was working well but after a few minutes I noticed a glowing ember on the main chip and before I could react the magic smoke that makes all electronics work had escaped from my Feather.
Obviously the Feather is now fried and not much use to man nor beast.
At first I suspected that the problem may have been I mistakenly connected the 3.3v VCC of the feather to the VCC on the IRF520 module (as well as SIG and GND) but as far as I can tell the VCC on that module is not actually connected to anything so I'm at a loss as to what went wrong.
I have a new part on order but really can't afford to repeat the mistake. Can anybody help educate me please?