I have a LED strip and an ESP8266-12 to control it. As the LEDs need 5V I'm using an AMS1117 3.3V linear regulator to get the 3.3V needed for the ESP8266. The circuit works fine but when I try to establish a serial connection to the ESP by connecting an USB-TTL-Adapter the AMS1117 starts to overheat and breaks in the end.
The regulator starts to burn when the circuit is running and I connect the ground-cabel of the serial-adapter to the ESP. I'm new to electronics, so I don't know what happens here. Is there a big current floating from my laptops-USB through the regulator to the power-supply? How can I protect the regulator and prevent it from overheating?