Skip to content
A re-implementation of the Arduino database library to allow more than 256 records
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Version 1.0.6 Nov 2, 2017
EDB.cpp Version 1.0.6 Nov 2, 2017
EDB.h Version 1.0.6 Nov 2, 2017 Create Feb 12, 2016
keywords.txt Added keywords.txt for syntax highlighting Feb 13, 2016

Arduino Extended Database Library

This Arduino Extended Database Library increases the maximum number of records allowed in a database from 256 records (byte) to a theoretical maximum of 4,294,967,295 records (unsigned long). The maximum record size was also increased from 256 bytes (byte) to 65,534 bytes (unsigned int).

You may use this library in conjunction with the standard Arduino EEPROM library, an external EEPROM such as the AT24C1024, or any other platform that supports byte level reading and writing such as an SD card.

Extended Database Library project's home at the Arduino Playground


This is a re-implementation of the Arduino Database Library originally written by Madhusudana das.


  • Unzip the download into your Arduino libraries directory
  • If the Arduino IDE is already running then exit and restart the Arduino IDE

Getting Started

  • Include EDB.h in your Arduino sketch
  • Define the data structure for your records
  • Include an I/O interface such as EEPROM.h
  • Declare an instance of EDB in your Arduino sketch
  • Pick an EEPROM address at which the table should start



1.0.6 - Nov 2, 2017

  • Added a new buffer W/R handlers to increase speed in SPIFFS and SD Cards
  • Added EDB_SPIFFS_Optimized example
  • Added EDB_SDCARD_Optimized example
  • Fixed a Warning about typedef in Compilation

1.0.5 - Oct 4, 2016

  • Updated to support Arduino 1.6.12+

1.0.4 - Aug 6, 2016

  • Updated to support all architectures

1.0.3 - Aug 6, 2016

  • Added EDB_SPIFFS example
  • Added EDB_SDCARD example
  • Added EDB_ERROR to EDB_Status and a byte flag at the beginning of database header to allow the user to check if the database has been successfully created and is readable

1.0.2 - Feb 12, 2016

  • Update filename extensions in example sketches
  • More Arduino IDE related files

1.0.0 - Feb 12, 2016

  • Updated to support Arduino 1.0.0+
  • Bug fix in EDB::open
  • Moved project to github

0.7.0 - Dec 8, 2009

  • Initial release
You can’t perform that action at this time.