ESP32: Brownout detector was triggered
Posted: Sun Mar 06, 2022 5:32 pm
Hey there,
After my watchdog timer problems ( https://flowcode.co.uk/forums/viewtopic.php?f=3&t=791 ), now the brownout detector gets triggered
Here => https://iotespresso.com/how-to-disable- ... n-arduino/ the possible reason is revealed, but in my case I know that the power supply is sufficient. It must be something with the cables.
But I don't have time right now to search for other hardware to get the power supply like the ESP wants.
So I was thinking of disabling the Brown out detection during testing.
The code to do so is on the website mentioned above.
And..
I really hoped that with Flowcode I didn't need to use code anymore.
How do I implement this code in FC?
Thanks!
After my watchdog timer problems ( https://flowcode.co.uk/forums/viewtopic.php?f=3&t=791 ), now the brownout detector gets triggered

Here => https://iotespresso.com/how-to-disable- ... n-arduino/ the possible reason is revealed, but in my case I know that the power supply is sufficient. It must be something with the cables.
But I don't have time right now to search for other hardware to get the power supply like the ESP wants.
So I was thinking of disabling the Brown out detection during testing.
The code to do so is on the website mentioned above.
Code: Select all
#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"
Code: Select all
void setup() {
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable detector
//Your code
}
How do I implement this code in FC?
Thanks!