Thanks for your quick answers!
Why it shouldn't work? But I think you could use large EEPROM instead which will be much cheaper I guess.
Yeah I tought about it, but ROM mean Read Only Memory, isn't it ? I need to remove the data each time I successfully send it to the network so wouldn't it be a problem ?
You could use an SD-card which basically is just a big flash, and it's replaceable if worn out.
In the same idea. Can I write/read/erase data as fastly/easily as with a SRAM Chip ?
SRAM is volatile, in case of loss of power unsent data are lost
EEPROM takes more time to write, if used carelessly it may be worn out
SD card need level converting and I think it needs more energy and is more complex to use but can log the data for many years without need for rewriting them
In my case, even if I lose 2/3 hour of data, I don't think this would be a problem.
But as you say, I don't know if the EEPPROM is able to store the data as fast as I need it, and I don't think SD Card would be a bad idea but energy is also an important aspect of my project, so i'll have to think about it.
I use the 23LC512 all the time. It is a 64k SPI RAM, very easy to use. Just initialize it to sequential access, a Read or Write sequence just takes a one byte cmd, a two byte address and a buffer containing the data.
No wearout problems, no waiting after a write command. Consistent access times.
No complex library needed, Code overhead can be as small as a single 16bit word for data length.
As long as you can survive a power failure loosing all of your data the 23LC512 or LC1024 work great for temp storage. The LCV* versions also support a battery backup feature for persistent memory.
Yeah, I think that's the best idea. I thought about the LC512, but I think that it would be better to store more data in case of networks problems.So I think i'll buy the LC1024, thanks!