I'm pretty new to electronics, I'm more of a computer guy.
I followed this tutorial to build a vibration sensor. My circuit looks like below.
When I turned it on everything worked, but within a few minutes I noticed a burning smell and my microcontroller stopped working ever since. I suspect I fried the onboard voltage regulator. I tried providing 3.3V to 3.3V pin, now the ESP8266 module is heating up.
I am afraid to use a new microcontroller to fry it again with the same circuit.
What am I doing wrong? I checked for a short circuit, my soldering looks okay. Do I need a resistor to D0 of SW420?