Instead for using external EPROM IC you can use this library.
EEPROMLivingAgeExtension is a library that allows your project to use the internal EEPROM to save data over the allocated address space, you define. The library is moving the data in this EEPROM address space. When it’s hits the 100,000 cycles limited for the cells it’s start to move the data to a new location in EEPROM.
Starts from the beginning and works up to the end of the address space you assign. The life extension for your EEPROM is depended of how large the address space and how much data space you allocate.
EEPROM Life calculation for the allocated address space
Use this to calculate the optimized address space to your data and needed EEPROM life.
Start address: EEPROMADRESS
End address: EEPROMADRESS_LAST
DATA-SIZE-WITHIN-EEPROM is value of 0-1023. 4=Long or 2=Integer library.
DataSpace = 4 + ( DATASIZEWITHINEEPROM * "4 or 2" )
LIFECOUNTDOWN = ( ( EEPROMADRESS_LAST – EEPROMADRESS ) / DataSpace ) * 100.000
Data library: Long
EEPROMLivingAgeExtension.zip
Data library: Integer
EEPROMLivingAgeExtensionInt.zip
DOWNLOAD
