In this blog post we will be exploring EEPROM, an unheralded but extremely useful feature of Arduino boards. EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a form of memory that can remember things even when the power is turned off or the Arduino is reset. If you take a look at the specifications for most Arduino compatible boards you will see an entry for EEPROM, for example, the Freetronics EtherMega shown below has 4KB of EEPROM.
The main benefit of this kind of memory is that it can be used to store data generated in a sketch on a more permanent basis. Typically EEPROM is used to store configuration parameters or serial numbers, although it can also be useful for storing regularly updating information such as the number of times the Arduino has been reset or cumulative measurements such as total distance travelled. To learn more about how you can put the EEPROM in your Arduino to use, checkout this great tutorial from tronixstuff.
The Freetronics EtherMega is a great “fully-loaded” Arduino-compatible board. Apart from being completely Arduino Mega2560-compatible, it includes a full Ethernet interface, a microSD card socket, full USB interface, optional Power-over-Ethernet support and still has a circuit prototyping area with extra I2C interface pins. So if your project is breaking the limits, upgrade to the EtherMega today.
Want to keep in the loop about the latest in home automation? Subscribing to SuperHouse Automation on YouTube is the best place to start!
Inspired to start work on this project? Are you working on a project you would like us to feature in this blog? The team at SuperHouse Automation would love to know! Tell us about it in the comments section below or on Facebook and Twitter.
Leave a Reply