ESP32 life-time

svenbieg
Posts: 39
Joined: Tue Feb 11, 2020 5:48 pm

Re: Long live

Postby svenbieg » Tue Feb 23, 2021 7:22 pm

ESP_Angus wrote:
Mon Feb 22, 2021 3:10 am
Regarding "erased flash too often", are we talking >100,000 erase cycles here?
Yes, i did save the temperature-curves every minute erasing flash-sectors. The chip did still work, only the curves were gone after about half a year, that means about 100.000 write-cycles like in the specs. This was my fault, like i said. I'm going to use the DevkitC this year, i can post an update when it stops working.

ESP_Minatel
Posts: 361
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32 life-time

Postby ESP_Minatel » Wed Feb 24, 2021 9:51 am

svenbieg wrote:
Sat Feb 20, 2021 12:37 pm
I'm using a voltage divider with the 3.3V supply-voltage, the relais are driven with 5V by an ULN2003. I just wanted to know if this a known problem of the ESP32. I'm going to try the DevkitC, maybe the chip got too hot when i was soldering it on the adapter.
Hi,

Are you using the chip itself (i.e ESP32-D0WD) or a module (i.e ESP32-WROM)? If it's the chip, did you reflow it manually with a hot air station for a long time in high temperature?

For this kind of problem, we can't help a lot without any detailed information about your circuit and the environment that it's connected.

Things that you can check:
  • Power supply quality/noise
  • Voltage spikes on the analog side
  • Relay protection/noise (should measure the 3V3 rails while switching the relays)
It's to way complicated to give you a solution, but the ESP32 is very reliable and I've designed several industrial grade solutions using ESP32 without any problem. For any embedded system in rough environment, you'll need to design some protections in your circuit, sometimes using TVS, inductors, ferrite beads, PPTC, diodes, etc.

svenbieg
Posts: 39
Joined: Tue Feb 11, 2020 5:48 pm

Re: ESP32 life-time

Postby svenbieg » Fri Feb 26, 2021 9:24 am

I don't get spikes on the analog-pins, it is a simple voltage divider with 3.3V supply voltage. And the relais are driven with 5V. If the supply voltage would drop the chip would restart immediatly. I think the soldering maybe the problem, i put a WROOM-SoC on an adapter with a soldering Iron. Thank You for Your reply, good to know that it is my fault!

svenbieg
Posts: 39
Joined: Tue Feb 11, 2020 5:48 pm

Re: ESP32 life-time

Postby svenbieg » Tue Jul 20, 2021 9:16 pm

I'm now using the DevKitC v4 but the ESP32 still doesn't work over half a year. I don't think i got over-voltage because the chip wouldn't work that long then. I'm using a usual 5V smart-phone charger. Maybe there is a difference where i order the DevKit? Is there anybody having the same problem? The ferrite bead seems to be a good idea. The original controller had problems too, maybe it's the 230V power supply. I'm going to try this next!

User avatar
mbratch
Posts: 298
Joined: Fri Jun 11, 2021 1:51 pm

Re: Long live

Postby mbratch » Wed Jul 21, 2021 1:13 pm

svenbieg wrote:
Sat Feb 20, 2021 12:37 pm
I'm using a voltage divider with the 3.3V supply-voltage, the relais are driven with 5V by an ULN2003. I just wanted to know if this a known problem of the ESP32
Not a known problem. Are these custom boards that you hand solder the ESP32 on yourself?
svenbieg wrote:
Sat Feb 20, 2021 12:37 pm
I'm going to try the DevkitC, maybe the chip got too hot when i was soldering it on the adapter.
Sounds like a good plan for a good reason.
Last edited by mbratch on Mon Jul 26, 2021 7:58 pm, edited 1 time in total.

Kaisha
Posts: 42
Joined: Thu Mar 05, 2020 8:59 pm

Re: ESP32 life-time

Postby Kaisha » Thu Jul 22, 2021 3:53 am

I have an esp8266 that's been running for 4y straight now, no issues. I don't think it's the chip failing. Much more likely you're doing something incorrect.

pinkeen
Posts: 6
Joined: Mon Jul 12, 2021 2:55 pm

Re: Long live

Postby pinkeen » Thu Aug 12, 2021 7:24 am

svenbieg wrote:
Tue Feb 23, 2021 7:22 pm
ESP_Angus wrote:
Mon Feb 22, 2021 3:10 am
Regarding "erased flash too often", are we talking >100,000 erase cycles here?
Yes, i did save the temperature-curves every minute erasing flash-sectors. The chip did still work, only the curves were gone after about half a year, that means about 100.000 write-cycles like in the specs. This was my fault, like i said. I'm going to use the DevkitC this year, i can post an update when it stops working.
Increase the flash lifetime by using some form of wear leveling - either automatically by using SPIFFS/FAT32 or implement a simple flash-based circular buffer.

svenbieg
Posts: 39
Joined: Tue Feb 11, 2020 5:48 pm

Re: ESP32 life-time

Postby svenbieg » Wed Mar 16, 2022 4:36 pm

My program was running in an endless-loop with no delay, so the CPU-load was 100% all the time. Maybe this caused the problem.

vanBassum
Posts: 68
Joined: Sun Jan 17, 2021 11:59 am

Re: Long live

Postby vanBassum » Thu Mar 17, 2022 7:36 am

svenbieg wrote:
Sat Feb 20, 2021 12:37 pm
I'm using a voltage divider with the 3.3V supply-voltage, ....
Wait what? If I understand you corectly:
You have 5V supply, and you use a voltage divider to supply the ESP with 3.3V?
That would be an absolute NO-GO.
But then again, maybee I understand you incorrectly.

As others have noted, a schematic would help us to help you. ;)

If your hardware is OKE, it should be inpossible to kill the chip using software. The thing should be able to handle 100% cpu load for a very long time.

svenbieg
Posts: 39
Joined: Tue Feb 11, 2020 5:48 pm

Re: ESP32 life-time

Postby svenbieg » Thu Mar 17, 2022 4:18 pm

You did not read correctly. I'm using the voltage-divider for the Pt1000. As supply i have a standard contstant voltage-regulator. I had the same problem when using the DevKitC, looks like it is the software.

Who is online

Users browsing this forum: No registered users and 96 guests