Pages: [1]   Go Down
Author Topic: Files  (Read 1106 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?  smiley
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 163
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

half a kb is more than sufficent.... thanx...  smiley-wink
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Lefty

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And note that this memory should not be written excessively ... as it has a rather short lifetime of 100'000 write/delete.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

okies and thanx... smiley
Logged

Pages: [1]   Go Up
Jump to: