• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

esp32 is rebooting

Q&A Forum › Category: ESP32 › esp32 is rebooting
0 Vote Up Vote Down
Swapnil Bhole asked 4 years ago

I am using below board & i have attach error 
https://drive.google.com/file/d/1Mspis-u_6PSdIfckuPEtaEr5L_hcQNEK/view?usp=sharing
what is root cause
 
I am using esp32
 

12 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
How are you powering your ESP322 board?
Are you sure you have all peripherals connected properly?
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

Hi,
I am power on board from laptop USB. 
Also, I have not attach any peripherals to board. I am only powering board. 
Also, If I have power on from external supply, how can I see serial data. 
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
 
I’ve uploaded the code to my ESP32, and it is working fine.
 
Usually, the brownout error is related to some sort of hardware problems like an insufficient power supply or some issue with the wiring.
 
However, it may also be related to something with the code.
Can you tell me:

  • the version of the AsyncMQTT library
  • the version of the LiquidCrystal library
  • ESP32 boards add-on version

Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

 AsyncMQTT library: I am using book learning esp32, Module-7. Whatever links given in book, I have downloaded libraries from link. 
LiquidCrystal library: I am not using this. I have commented that part of code
 

  • ESP32 boards add-on version=
    https://www.banggood.in/LILYGO-TTGO-T-Energy-ESP32-8MByte-PSRAM-WiFi-bluetooth-Module-18650-Battery-ESP32-WROVER-IB-Development-Board-p-1427125.html?cur_warehouse=CN&rmmds=search
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I took a look at your board pinout, and I think it may be related to the pin we’re setting for the button. We’re setting GPIO 32:

const int buttonPin = 32;

Use another GPIO for the button, for example, GPIO 35.

const int buttonPin = 35;

Let me know if this solves the issue.
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

Hello mam, 
I have change pin number, but same error. Without connecting anything, that error is coming. I think, timer interrupt can be issue. Any idea, because one of colleague, its timer interrupt issue which he face. But, what to change in our code, is i m exploring. 
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I’ve never used that board before. So, I’m not sure if the pin is the issue.
What ESP32 board are you selecting?
I’m not sure what needs to be changed. As I’ve mentioned, it worked fine in my DOIT ESP32 board.
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

I am selecting ESP32 Dev module. What can be possibilities  of this error. 
 

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

If you check the bang good site you linked to for your board the very first review is from someone who basically says that using WiFi causes the board to constantly reboot which is exactly what you are seeing.
 
If it was me I would get a different board, perhaps by a more reputable brand. Try the ESP32 Dev Kit. 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Does this happen only with that example? Or do you get that error with other examples too?
Do you have another ESP32 board to experiment with?
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

Does this happen only with that example? 
No. I have other small codes. For that also, this is happening. 
 do you get that error with other examples too?
Yes. 

Do you have another ESP32 board to experiment with?  Yes. Run on other esp32. Its working perfectly
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi again.
So, it seems that it is an issue with that specific board.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.