Recall & Review
beginner
What is EEPROM in Arduino?
EEPROM stands for Electrically Erasable Programmable Read-Only Memory. It is a small memory inside the Arduino that keeps data even when the power is off.
Click to reveal answer
beginner
How do you write a byte to EEPROM in Arduino?
Use the function
EEPROM.write(address, value); where address is the memory location and value is the byte to store.Click to reveal answer
beginner
How do you read a byte from EEPROM in Arduino?
Use the function
EEPROM.read(address); where address is the memory location. It returns the stored byte.Click to reveal answer
intermediate
Why should you be careful when writing to EEPROM?
EEPROM has a limited number of write cycles (usually 100,000). Writing too often can wear it out and cause data loss.
Click to reveal answer
intermediate
What is the difference between
EEPROM.write() and EEPROM.update()?EEPROM.write() writes a byte no matter what. EEPROM.update() writes only if the new value is different, saving write cycles.Click to reveal answer
Which Arduino library is used to access EEPROM?
✗ Incorrect
The EEPROM library provides functions to read and write EEPROM memory.
What does
EEPROM.read(10) do?✗ Incorrect
EEPROM.read(address) returns the byte stored at the given address.
Why use
EEPROM.update() instead of EEPROM.write()?✗ Incorrect
EEPROM.update() writes only if the new value differs, reducing wear.What happens to EEPROM data when Arduino is powered off?
✗ Incorrect
EEPROM retains data even when power is off.
What is a typical limit for EEPROM write cycles?
✗ Incorrect
EEPROM usually supports about 100,000 write cycles before wearing out.
Explain how to store and retrieve a byte value using Arduino EEPROM.
Think about how you save and get data from a small notebook.
You got /4 concepts.
Describe why it is important to minimize writes to EEPROM and how to do it.
Imagine a pencil that can only be sharpened a few times.
You got /3 concepts.