You could use an SD-card which basically is just a big flash, and it's replaceable if worn out.
Hi everyone,I would like to know if it's possible to use the 23LC1024 SRAM Chip as an extend of Arduino Uno's SRAM.Here is the explication:I would like to take GPS data every 15 seconds with a SIM908 Chip, store it in a buffer, and send all the datas every 10 minutes by POSTing in my Web Server.The problem is that 10 minutes of data takes about 3k of SRAM. Additionally, I would like my program to be able to store the data for 1 or 2 hours in case of networks problem, so it would take a huge amount of SRAM.I havent buyed the SRAM chip yet, it's just a question before i'm buying it.Thanks in advance !
Why it shouldn't work? But I think you could use large EEPROM instead which will be much cheaper I guess.
SRAM is volatile, in case of loss of power unsent data are lostEEPROM takes more time to write, if used carelessly it may be worn outSD 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
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.Chuck.
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 ?...In the same idea. Can I write/read/erase data as fastly/easily as with a SRAM Chip ?...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.