I fried an ESP8266 Wemos Mini with a simple circuit, what am I doing wrong?
Have you configured pin D0 as an input in the software? If D0 is inadvertently set as an output there could be an issue where the SW420 signal is shorted.