RAM Chip for use in project
blutfort
Posts: 1
I'm working on a project were I need to keep track of the value of an input on a small delta T.· 1 to 60 second intervals.· I'd like to confer with some of the guru's here about some best practices.
1.· I don't want to use an EEPROM as primary storage.· I will quickly deplete the # of write cycles.
2.· I want to store the data in a sort of volitale ram and periodically move it to EEPROM, possible on when volitle ram is almost full and when a brownout is detected.
3.· My best way to minimize stored data volume is to watch for a change of state on binary inputs and record the time that the state changes.· That way I know the status at whatever time interval I want!· The same can be considered for analog inputs.· If I only record when the value changes by a minimium delta value I programatically know the value at any time in between.· (within the resolution limits ste as my delta).
What would be a good chip to use for the volitle ram?
Is this a best practice way of doing this?
Thanks!
1.· I don't want to use an EEPROM as primary storage.· I will quickly deplete the # of write cycles.
2.· I want to store the data in a sort of volitale ram and periodically move it to EEPROM, possible on when volitle ram is almost full and when a brownout is detected.
3.· My best way to minimize stored data volume is to watch for a change of state on binary inputs and record the time that the state changes.· That way I know the status at whatever time interval I want!· The same can be considered for analog inputs.· If I only record when the value changes by a minimium delta value I programatically know the value at any time in between.· (within the resolution limits ste as my delta).
What would be a good chip to use for the volitle ram?
Is this a best practice way of doing this?
Thanks!
Comments
DS1302 has 31 bytes RAM free.
PCF8583 (I2C-bus) has over 200 bytes.
You then have the RAM _and_ a real time clock, which is handy in datalogging applications .
Succes,
Klaus
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Kinzer
Post Edited (Don) : 1/10/2005 5:54:35 AM GMT
A back up battery would hold you data for a log time and you could use several of the modules together.
73
spence
k4kep
I might reconsider an eeprom.
Dave