esp32Thing crashes.

All things pertaining to wireless and RF links

Moderator: phalanx

Post Reply
DonTelescope
Posts: 4
Joined: Wed Apr 20, 2016 6:25 am

esp32Thing crashes.

Post by DonTelescope » Tue Aug 07, 2018 1:50 pm

During my application development the esp32 Thing would crash.
I was powering it from the USB port on my computer. I thought is was a power brownout problem so I built a battery powered regulated 5.0v supply with and lm317 which could easily deliver 1amp. Things seemed to work better, didn't concern myself with the occasional crash during development.

My code is a data logger which sends 25 bytes of data over the wifi every 5 seconds and needs to run for days. I could get the board to run for a few hours but it would always eventually crash. The crashing is now more frequent, I am lucky to keep it running for 30 seconds now. Most of the time now as soon as I ask my PC to connect to the WIFI network it immediately crashes. The board seems to have degraded an now hardly runs. I have ordered a new board and hope it works.

I have used both client and AP server mode. I am now in AP server mode. I am using the blue led as a mode light to show me what part of my code is executing. When it crashes the led goes to a very dim continuous on state. I Have a debug version of the code which I can run with the serial monitor when connected via USB. It has the same behavior and when it crashes there is no diagnostic displayed.

Has anyone else had this problem?

DonTelescope
Posts: 4
Joined: Wed Apr 20, 2016 6:25 am

Re: esp32Thing crashes.

Post by DonTelescope » Mon Aug 27, 2018 1:25 pm

Today 8/27 tried new board. This is how a printed circuit installation with a robust power supply (5.13V).
It ran for one hour and 13 minutes before it hung. Frustrating.

paulvha
Posts: 272
Joined: Sat Nov 11, 2017 2:39 am

Re: esp32Thing crashes.

Post by paulvha » Tue Aug 28, 2018 1:04 pm

the ESP32 is working on 3V3. Are you providing 5V on the battery connection or the USB?

DonTelescope
Posts: 4
Joined: Wed Apr 20, 2016 6:25 am

Re: esp32Thing crashes.

Post by DonTelescope » Sat Sep 22, 2018 4:27 pm

I am providing 5V to pin 2 on the header which is VUSB-RAW.
I was using the spark fun real time clock module BOB-12708 which uses the DS1307. I do have a logic level converter.
Software communication used wifi.h I rewrote my application and removed the dependence on the RTC. I took out wifi.h
Now my application works without crashing. I have however not had time to run it for more than a few hours. I hope
to do more extensive testing later this fall.

Post Reply