I Use ESP-32S DevKit With arduino IDE. When i use the ESP32 alone, and i power it with usb, it works. When I use the ESP32 and i power it with 5V pin with external supply and i conecct it to another ESP32 via Serial, it works. But if i use only one ESP32 and i power it with external power supply, the ESP32 works strange. It turn on and its power led is on, but the code not working. What is the problem?
With the information provided the problem is Mars is in retrograde or you could provide additional info.
Information like showing an image of your project all wired up and not working would be great. A schematic of your project would be great.
Would be helpful to the forum if you explained what "it works" and "not working" means.
The most common problem is insufficient power-supply. What happens if you use a 5V 2A powersupply in combination with a 2000µF capacitor connected as close as possible to the ESP32-board?
As you haven't provided any further details of your project this is only a wild guessing. As long as you don't provide more details the reasons for "not working" could be dozens of different things.
best regards Stefan
I use lm2576T-5.0 with 100uF Input capacitance, 1000uF output capacitance, 1n5820 schottky diode and 100uH 3A inductor. The Input voltage is 12v the output is 5v.
What happends if you press the reset-button after powering up?
Do you have an extra USB-TTL-adapter that you could connect to the IO-pins
1 and 3 ?
IO-pins 1 and 3 are the IO-pins connected to the onboard USB-TTL-adapter
The extra-adapter could read what the serial interface is sending in the bootphase of the ESP32
best regards Stefan
If I press the reset button it works. What is the reason?
qoogling
https://www.google.de/search?as_q=eps32+only+works+after+pressing+reset
found this
second hit
best regards Stefan
Try with a phone charger.
(your buck converter is suspect)
I added a 100uF electrolic capacitor to en and gnd. Everything works fine. Thank you so much.
Nice that it is working now.
google is always worth a quick try: "qoogling"
I start with a lot of specific keywords. In this case
"eps32 only works after pressing reset"
If google does not find them all it comes up with hits with lesser keywords.
If some of the keywords lead into a wrong direction I take them out.
This was the first time qoogled for these keywords. Pretty successful.
best regards Stefan
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.