I made several projects with ESP-12E and ESP-12F several months ago and I managed to solve all the power problems and the pullup/pulldown requirements. Those projects still work fine and are very stable. One month ago, I received a new batch of ESP-12F form Aliexpress and the logo on top is not identical to the former one, see here. The first problem I faced is that, as opposed to the indication "QIO" reported on the back, it only works in DIO mode. Once I found the correct setings, it flashed OK and I never again got a reset or crash.
But I am facing a new, worst, problem: ANY sketches I load, even those of the still working (on other chips) ones, I see the sketch running (regular Serial.print messages are shown as expected) but the behaviour of the WiFi is intermittent.
In other words:
The ESP connects always to the access point and the authentication works fine. Let's now focus on PING from a PC to ESP, while all the WiFi behaviour is basically the same:
Sometimes it answers forever to ping: very rare, but happens.
Sometimes it never answers to ping, but the ARP is solved (arp -d before ping, arp -a after ping timeout show the correct MAC).
Sometimes it answer to the first ping, then I have a 5-10 seconds timeout, then it works forever.
Sometimes it answer to the first ping, then it stops to answer forever.
Sometimes it answer to the first ping and resumes to answer after several minutes.
Once it decides to answer, it answer forever.
AT his point, I exclude a sketch problem and I assume
A) A power problem.
B) Defective ESP-12F (all the four behave exactly the same).
As for the power, to be sure to have all the problems already faced fixed, I made this basic test board that can be expanded on a breadboard.
Please note, under the ESP there is a 1000uF electrolytic cap and the pullup/pulldown resistors, the regulator is an LM317 and the pot is to adjust the 3.3V. The toggle switch is to disconnect DTR and RTS, while under the ESP there is also a female header to connect the USB/Serial adapter. The wires from the LM317 to the ESP are 1mm diameter.
I tried 3 different power supplies: wall 12V/2A, bench P.S.U. 12V/5A, P.C. power supply, 12V rail.
My main question is: are you aware of faulty chips from the Chinese market? Any other suggestions?
