- Fri May 05, 2023 4:07 am
#96337
I think you already did a decent job, but I found that you need to take one extra precaution to prevent the ESP8266 from resetting randomly when RF spikes are present: the RESET and ChipEnable lines should be decoupled from the power supply.
You can do this as follows: for each of them (separately!) connect the pins to +3V3 over a 10k Ohm resistor (don't leave it out or it won't work). Then connect a fast acting capacitor to the respective pins (like a ceramic one), the exact value isn't that important, I usually use 100 nF. This will prevent RF spikes (either via the 3V3 or via induction) to lower either RESET or ChipEnable.
[EDIT] I see you're already using 10k resistors, so you'll only need to add the capacitors.
[EDIT 2] did you check the datasheet of the AMS voltage regulator? Often voltage regulators have specific demands on input and output capacitors to work ringing-free. Often they want both a electrolytic and a ceramic (or tantalic) capacitor on both sides.
PS if you need to use a decent linear voltage regulator (5V -> 3V3) I can recommend the LM3941 which is designed exactly for this and also (which I think is a huge advantage) comes in a standard TO220 package and they're very affordable, probably cheaper than AMS modules.