Electronic – esp8266 power supply problem

esp8266noisepower supplyripplevoltage-regulator

It's the fourth esp8266-12e that destroyed with my AMS1117-3.3 voltage regulator.

I'm powering esp8266 with AMS1117-3.3 module and this simple circuit:

Input voltage: 5.4 V from adapter
Input cap: 1000 uF
Output cap: 470 uF
Esp8266 current: about 100 mA

But the esp8266 will burn after some on-off switches.

Am I doing anything wrong?

I'm testing it on a breadboard and the ams1117-3.3 is a copy model. I've measured the output voltage of it with my scope and I saw some ripples with a maximum of 4.6 V and about 20 ns duration at the moment I switch input voltage ON and OFF. Can these short ripples burn the esp8266? How can I protect it?

I saw these ripples also on Lf33 and 7805 (original models)

Ripples on output voltage of AMS1117-3.3 triggering when switching input voltage ON/Off:

enter image description here

Best Answer

This answer is to show my ESP8266 power-on plot. It is provided to compare against originator's trace, so it is possible it is not an ultimate solution.
My setup consist of 5V 2A power supply, connected to AMS1117-3 with some additional capacitors.
Capacitors: on input of AMS is an tantalum 10uF and output of AMS - 220uF electrolytic and close to the ESP8266 Vcc and GND board terminals is located a 100nF capacitor.

ESP8266 power supply

Scope trace:
Trace - ESP power-up

Scope is on 500mV/div, so overshoot is around 250mV.

I would suggest to use capacitors to suppress initial voltage overshoot. Looking at the originator's scope trace it would be beneficial to use small capacitor (100nF) as close as possible to the ESP module.
Also, as is mentioned, using non-original AMS1117 may bring additional problems.

EDIT:

Some wording has been changed to make my post clear.