Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

HUZZAH32 ESP32 crashes when calling wifi.begin()
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

HUZZAH32 ESP32 crashes when calling wifi.begin()

by hrusso22 on Mon Apr 05, 2021 10:17 pm

Doing a project using huzzah32 esp32, temp sensor, gps, OLED, and sd card module.
Lately, whenever Wifi.begin is called, the program crashes and resets. This never occurred for the first month of working on the project but all of a sudden this occurs. There is no pattern to when it will do this, sometimes it works, sometimes it doesn't. The connection process is initiated by a button press on the OLED, connected via I2C, and I am connecting to an iPhone hotspot. I have seen so many posts about this issue, but no concrete solution. Any ideas?

hrusso22
 
Posts: 2
Joined: Mon Apr 05, 2021 10:12 pm

Re: HUZZAH32 ESP32 crashes when calling wifi.begin()

by adafruit_support_carter on Wed Apr 07, 2021 6:06 pm

It may be power related. How are you powering the setup?

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: HUZZAH32 ESP32 crashes when calling wifi.begin()

by hrusso22 on Thu Apr 08, 2021 9:56 pm

adafruit_support_carter wrote:It may be power related. How are you powering the setup?


Its a 2500mAh lithium battery. Ill include a picture for reference.
Attachments
Screen Shot 2021-04-08 at 8.52.20 PM.png
Screen Shot 2021-04-08 at 8.52.20 PM.png (434.22 KiB) Viewed 84 times

hrusso22
 
Posts: 2
Joined: Mon Apr 05, 2021 10:12 pm

Re: HUZZAH32 ESP32 crashes when calling wifi.begin()

by adafruit_support_carter on Fri Apr 09, 2021 10:27 am

Make sure the battery is fully charged. And then try and replicate the issue with the most simple sketch possible. Don't involve the OLED, buttons, GPS, etc. Try a very simple sketch that calls wifi.begin() and demonstrates the issue.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.