Page 1 of 1

EEPROM lifespan?

Posted: 25 Sep 2018 13:53
by perjar

Does anyone know what the expected lifespan of the EEPROM is?

I am reading in other foras that an EEPROM has a lifespan of about 100.000 write cycles as a rule of thumb.

What speaks against this number is the the following example:

The water meter in the above example saves data to EEPROM every 2 minutes. So, if the lifespan is 100.000 cycles, then that sketch will effectively destroy the EEPROM in just 5 months.

So, I am thinking that perhaps the 100.000 number is not correct for the Z-Uno?

Re: EEPROM lifespan?

Posted: 26 Sep 2018 10:08
The water meter only writes if there are updated values.
Personally I don't think water flows for more then an hour a day. So take the 5 months times 24.

Re: EEPROM lifespan?

Posted: 26 Sep 2018 12:33
by perjar
Thank you for your thoughts about water flows. Any idea about the topic, EEPROM lifespan?

Re: EEPROM lifespan?

Posted: 26 Sep 2018 21:23
by PoltoS
The promised by the manufacturer is indeed 100k cycles

And as stated above, do not write if no changes. Even more, the Write to EEPROM function is checking if data is same and will not write if no changes will be made. This prevents from spare write cycles