Close
0%
0%

Embedis : Keystore for Arduino Uno

Store Arduino Uno project settings in your choice of internal or external EEPROM, using simple Embedis "set" and "get" commands.

Similar projects worth following
460 views
We needed a simple and efficient way to store configuration settings and values between projects, using common, low-cost, external I2C EEPROM Memory.
The Embedis database is persistent, and can be used across multiple projects to configure your program settings for the specific hardware and network configuration that you are using. The Embedis database supports the internal CPU EEPROM storage by default, but you can also add other external memory devices easily, as we show with this example, by adding an external I2C EEPROM such as the 24AA64 (8K bytes) or the 24LC256 (32K bytes).

What is Embedis?

Embedis is a very small, in-memory, data structure store for key/value pairs; and why it is also known as a "keystore server". Embedis can be used as a database, cache, and message broker, with it's publish and subscribe mechanisms. Embedis uses a syntax similar to the popular "Redis" program, which has API/bindings available for C/C++, Python, Ruby, TCL, etc.

In this example the Embedis command interpreter is connected to the Serial Monitor (i.e. Serial.print), however we have examples that show it running several simultaneous connections at once, including Telnet, WWW, MQTT, and others.

The Embedis database is persistent, and can be used across multiple projects to configure your program settings for the specific hardware and network configuration that you are using. The Embedis database supports the internal CPU EEPROM storage by default. You can also add other external memory devices easily, as we show in this example, by adding an external I2C EEPROM such as the 24LC64 (8K bytes).

Now, you don't need to recompile your program and reflash your device in order to change your device and project settings anymore. Project settings can be changed "on-the-fly" with just a serial or wireless interface! (some settings changes however, will require a restart/reboot to take effect.)

  • 1 × arduino
  • 1 × thingsoc
  • 1 × embedis
  • 1 × EEPROM

  • 1
    Step 1

    Installing Embedis

    To Install Embedis in the Arduino IDE, please see the Detailed Install Directions. Embedis is installed using the Arduino Library Manager, from the top menu bar :

    Sketch -> Include Library -> Manage Libraries -> Embedis

    embedis_uno_2.png
  • 2
    Step 2

    Installing the extEEPROM Library

    The extEEPROM library is installed using the Arduino Library Manager, from the top menu bar :

    Sketch -> Include Library -> Manage Libraries -> extEEPROM

  • 3
    Step 3

    Set up the EEPROM Click

    Make sure that you are grounded, and use a personal ground strap and static protected surface if you have one.

    Set the EEPROM Click for 5 Volt Operation

    Note that the Voltage of the Arduino Uno board is 5 Volts, and the power select on the EEPROM click should also be set to 5V operation.

View all 11 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates