I try now to make an external power supply with LiPo Battery 3.7V, StepUp Module MT3608 and charging module TP4056.
As already mentioned, if its supplied with USB Port everything is ok. But if i am going with Battery it is seems to be that my controller not starting. The LED (for tests) in setup() function, not even blinking.
A few scenario that i have seen:
USB supply -> works well.
batter supply + charging module connect to powerbank or usb -> sometimes works, but started after x times reboot.
only battery supply -> has only i guess 2 times started, after few seconds was dead.
The voltage in all scenarios on the module is the same ~5.0-5.1V (between V5 and GND pins).
I have tried different batteries with capacity: 320mAh, 1000mAh and 1200mAh. No changes.
Also i have battery status in %, works now very well (Analog Pin35). Without this function make also no difference.
I don't understand the question, but if I had this problem, I would look for posts here on the forum that involve TP4056 and member ShermanP. He has posted very good information on using 18650 Li cells and the 3 (THREE) chips or more needed for correct operation.
First of all, you have connected the battery GND straight to GND, but LOW-voltage cut-off protection from the TP4056 module cuts the GND in case it has low voltage, so the connection should be removed.
Secondly, you measure a battery voltage between 3.7v & 4.2v on a pin that takes between 0 & 3.3v !!!
Before you continue please remove these connections. If you want a voltage monitoring system for the battery you may be able to do so later, although i think you will need to add an Op-Amp as a buffer.
Now i understand you want to start out with 5v so you can power the DF-player, but the ESP32 is a 3.3v device and the devkit has an inefficient 3.3v linear regulator on-board. Anyway to see if that works you should disconnect the DF-player just to see if the current demand exceeds what the MT3608 can supply (which is 1A, but that is given it has sufficient heatsink.
Keep in mind that the TP4056 is not capable to do a load-share. While you are charging the battery, there should not be a load on the battery as well, or the TP4056 may keep charging an already full battery which may (thank god this doesn't happen to often !) explode.
I connected now DFPlayer to 3.3V. No changes. So with TP4056 has the same problems.
After i diconnected DFPlayer, no changes.
After that I have try, to give 5V directly to my controller. Only after disconnecting RFID it has works, but speacker make strange voices. After 1-2 min controller make reboot, and not always starting after.
Some boards call it EN some RST.
So will the board work properly after you push the RST button?
Many of thes boards are not designed properly and will not reset properly when connected to an external power source but will always work when connected to a PC.
Not sure you mean 5v from the MT3608, but if so, then it looks like your MT3608 module does not provide sufficient current. An ESP32 can be quite power hungry.