New Search

If you are not happy with the results below please do another search

1 search result for:

1

ESP32 ลูป reboot นรก Brownout detector was triggered

ESP32 มีระบบเตือน Error ออกมาเมื่อ แรงดันไฟต่ำกว่า 2.4V และจะ Reset ตัวเองอัตโนมัติสาเหตุ น่าจะเกิดจากแหล่งจ่ายไฟ USB ที่มีไฟเลี้ยงไม่เกิน 500mA การแก้ไขคือ เพิ่มแหล่งจ่าย 5Vหรือ ใช้ library โดยเพื่อปิด Brownout detector #include “soc/soc.h”#include “soc/rtc_cntl_reg.h” และ void setup() {WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable detector//โค้ดอื่น ๆ}