Restart the ESP32

kanstinho
Posts: 8
Joined: Tue Apr 26, 2022 10:56 am

Restart the ESP32

Postby kanstinho » Tue May 10, 2022 12:07 pm

Hello everybody.

As i wrote in another topic, i have a problem, that my ESP32 doesn´t restart properly sometimes.
When i do esp.restart() it doesn´t help, but when i take away the current for a short time, the ESP32 starts again. So i want to implement something like that in my Software ("Hard Restart"). Does anybody know how to do that?

Another problem is, that if my Software doesn´t start, it wouldn´t be able to do that "Hard Restart" either, if it´s part of the software:/

So I´m pretty pointless at this moment. I appreciate every adive/idea. As i mentioned in the other post I´m a beginner so please don´t get triggered to badly:).

Many thanks.

Craige Hales
Posts: 94
Joined: Tue Sep 07, 2021 12:07 pm

Re: Restart the ESP32

Postby Craige Hales » Thu May 12, 2022 1:53 am

Make sure your power supply is good. A power supply that drops the voltage a little too low will cause all kinds of problems. If you are using the computer's usb port for power, that might be the problem. If the ramp-up from 0V to 5V on the supply is too slow, I think you'll have boot failures too.
Craige

kanstinho
Posts: 8
Joined: Tue Apr 26, 2022 10:56 am

Re: Restart the ESP32

Postby kanstinho » Fri May 20, 2022 8:49 am

Hello Craige,

in my case the ramp up from 0-5V can be pretty slow. Is there a way how i can tell the ESP32 that it should only start when the voltage is like 10V or something. I could create a switch case in my Software, but therefore the program must start which isn´t always the case.

Craige Hales
Posts: 94
Joined: Tue Sep 07, 2021 12:07 pm

Re: Restart the ESP32

Postby Craige Hales » Fri May 20, 2022 9:58 am

I am not a hardware expert. I think this might have some good ideas about power-on reset circuits.
https://www.maximintegrated.com/en/desi ... /3227.html
Craige

Craige Hales
Posts: 94
Joined: Tue Sep 07, 2021 12:07 pm

Re: Restart the ESP32

Postby Craige Hales » Fri May 20, 2022 10:09 am

https://www.espressif.com/sites/default ... eet_en.pdf near page 20 has power-on-reset info.
Craige

Who is online

Users browsing this forum: No registered users and 103 guests