Forum 2005-2010 (read only)
Syntax & Programs
(Read 1 time)
Sep 29, 2009, 04:06 am
Is it possible to store some values permanently on arduino board? ie) board should take in values on the first run and store it permanently and then even if it resets itself the board should run with the values stored in the first run... similar to file system in c++. Is it possible with arduino?
Sep 29, 2009, 04:22 am
The arduino, all by itself, has a half kilobyte for persistant storage. See: http://arduino.cc/en/Reference/EEPROM
If that's not enough you're going to need additional hardware for your storage.
Sep 29, 2009, 04:43 am
half a kb is more than sufficent.... thanx...
Location: Left Coast, CA (USA)
Measurement changes behavior
Sep 29, 2009, 06:03 am
The ATmega168 has 1 KB of SRAM and 512 bytes of EEPROM (which can be read and written with the EEPROM library); the ATmega328 has 2 KB of SRAM and 1 KB of EEPROM.
Sep 29, 2009, 08:51 am
And note that this memory should not be written excessively ... as it has a rather short lifetime of 100'000 write/delete.
Sep 29, 2009, 05:29 pm
okies and thanx...