MAKECourse
  • Home
  • About
  • Course Materials
    • Software
    • Course Kits
    • TA hours
  • Videos
    • Intro to Programming Videos
    • Advanced Topics >
      • DAC and ADC Tutorial
      • SD Card Data Logging
      • DC Motor Control
  • Schedule
    • Syllabus
  • Student Projects
    • Awesome Prizes
    • Fall 2020 Projects
    • Fall 2016 Awesome Prize Winners
    • Fall 2016 Projects
    • Spring 2016 Awesome Prize Winners
    • Spring 2016 Projects
    • Fall 2015 Awesome Prize Winners
    • Fall 2015 Projects
    • Spring 2015 Awesome Prize Winners
    • Spring 2015 Projects
    • Fall 2014 Projects
    • Spring 2014 Projects

Week 12: Segment 2: Using the Arduino EEPROM for Non-Volatile Data Storage

This segment focuses on using the EEPROM memory on the Arduino. In addition to the regular 2 kb SRAM memory where variable and arrays are stored, the ATmega328p chip also has 1 kb of non-volatile EEPROM (Electrically Erasable Programmable Read-Only Memory ), which can be used to store data. This is useful if persistence of the data during shutdown periods is desired. Examples would be to store user-defined settings, or to log sensor data that needs to survive a loss of power of the Arduino.

Goals:

  • Understand the working principle of EEPROM.
  • Learn to use the EEPROM on the Arduino.

Materials for this segment:
  • Watch the video on the right 
  • Arduino sketch featured in the video (see link below video).
  • The Arduino.cc page on the Arduino IDE included EEPROM library.
  • The Arduino.cc page on the memory types of the ATmega328p microcontroller.

Main Arduino sketch used in the tutorial:
t17_eeprom.zip
File Size: 1 kb
File Type: zip
Download File

[Home] [Course Materials] [Syllabus] [Student Projects] [Contact]
Powered by Create your own unique website with customizable templates.