Different Type of Memory Storage – Arduino

Life would be exhausting on the off chance that you needed to reinstall programming each time you turned off your PC. At the outset, that is precisely what happened. A PC was turned on, and if a floppy plate was not embedded, the PC did not comprehend what to do and just held up. It had no clue about who utilized it for sure projects were accessible. Unexpectedly, little has changed; rather than a floppy, we have hard drives, putting away commonly more information, yet despite everything it depends on the same guideline.


PCs regularly have two sorts of memory: unstable and non-volatile. Volatile memory contains information the length of it is fuelled. At the point when the force is evacuated, all the information is lost. This is the way RAM deals with your home computer. It utilizes a memory module called DDR. Really; DDR memory is considerably more unstable than you may at first think; it should be invigorated much of the time to keep the information set up. This may sound like poor designing, however the fact of the matter is that Dynamic RAM (DRAM) is amazingly quick, thick, and moderately shoddy, taking into account modest memory chips that work extremely well.

Volatile memory is utilized to store variables and information. The real program is set in non-volatile memory and uses unstable memory to work. Your wake up timer may have this capacity. You can set a caution, yet in the event that the force is cut, you need to reconstruct the wake up timer; else, you won’t wake up on time. Nonvolatile memory will be memory that holds information when force is uprooted. The main usage of non-volatile memory was an execution of unpredictable memory with a little cell battery. At the point when that battery ran out, the information would be lost.

The Different Memories on Arduino

Arduinos have three diverse memory advancements: RAM, Flash, and EEPROM. The RAM on Arduinos is precisely like the unpredictable memory on your computer, it is utilized to store variables, and the substance are lost when the force is removed. The Flash memory is utilized for the representation itself, and additionally a little bootloader. This is the memory that is utilized when you transfer a portrayal. Streak memory bolsters no less than 10,000 compose cycles. The EEPROM memory is a somewhat diverse memory innovation, supporting more compose cycles. EEPROM memory on ATmega microcontrollers support at slightest 100,000 composes and can be perused and kept in touch with byte by byte. This is the memory that will contain long haul settings and is not overwritten by each. Overhauling your portrayal won’t overwrite your variables.


EEprom Library Arduino

The EEPROM library is a collection of routines that can access the internal EEPROM memory, reading and writing bytes. The EEPROM library can be imported by manually writing the include statement

Alternatively, you can include the EEPROM library utilizing the Arduino IDE. Go tothe Sketch menu thing; select the Import Library submenu, and select EEPROM.

Read and Write bytes

The whole EEPROM library comprises of two functions: read() and write().These two capacities can read and compose bytes from particular memory locations. The read() capacity peruses information from a predefined address and returns information as a byte.

In this project, the Arduino peruses the fi rst byte of EEPROM memory and showcases it over the serial interface. Yes, it is that basic. Composing a byte into memory is pretty much as clear.