Recall & Review
beginner
What is EEPROM in Arduino?
EEPROM is a small memory inside the Arduino that keeps data even when the power is off. It is used to save settings or information that should stay after the board is turned 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); to get the byte stored at the given address.Click to reveal answer
intermediate
Why should you limit EEPROM writes?
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
How can you store multiple settings in EEPROM?
You can store each setting at a different address or use a structure and save it as bytes. Remember to read and write each setting carefully to avoid overwriting.
Click to reveal answer
What happens to EEPROM data when Arduino is powered off?
✗ Incorrect
EEPROM keeps data even when power is off, unlike RAM which loses data.
Which function writes a byte to EEPROM in Arduino?
✗ Incorrect
EEPROM.write(address, value) stores a byte at the specified address.
What is a common limit of EEPROM write cycles?
✗ Incorrect
EEPROM typically supports about 100,000 write cycles before wearing out.
How do you read a byte from EEPROM?
✗ Incorrect
EEPROM.read(address) returns the byte stored at the given address.
What is a good practice when storing multiple settings in EEPROM?
✗ Incorrect
Using different addresses or a structure prevents overwriting and keeps data organized.
Explain how EEPROM can be used to save and retrieve a user setting on Arduino.
Think about how to save a value and get it back even after turning off the Arduino.
You got /4 concepts.
Describe why it is important to limit the number of writes to EEPROM and how you might do that in a program.
Consider the lifespan of EEPROM and how to avoid unnecessary writes.
You got /4 concepts.