The first step before we can upload upload the firmware is to install the Arduino environment. If you haven't already installed the Arduino environment or you have an older version than v1.0 you will need to download and install the latest version. The Arduino software can be found here
Before you can compile the firmware, it's necessary to install the i2cEEPROM library. This library gives us access to the 24lc256 family of serial EEPROM chips. The chip is used if you want to support data storage.
Data storage is used to hold saved positions for playback, initial positions, and user custom data. I'll show a custom step at the end of this instructable that illustrates how to easily add this feature.
Note: It's not necessary to have the serial eeprom connected to your Arduino for this application to work, but it is necessary to install the library in order for you to properly upload the firmware. The firmware supports the features if the hardware is present.
Download the library as a zip here:https://docs.google.com/open?id=0B-GOV0jkq9cROTk0ODg2ZTYtMzBkMi00ODY2LTgxZTItNTRiYWE5ODIzYTdi
The source can be found here:https://github.com/Soshimo/I2C-Serial-EEPROM-Arduino-Library
Open an explorer window and open the folder at <Documents>\Ardunio.
Create a directory called libraries (if there isn't one already).
Unzip the contents into the libraries directory that you just created. (Note this library only works for Arduino v1.0 and later versions).
Your directory structure should look like this:
Close all Arduino windows and restart the Arduino software.
Check that the library was loaded correctly.
Navigate to the library import menu: Sketch -> Import Library.
On the list of available libraries to import you should see i2cEEPROM. If you don't see it, make sure you have the path correct as above and shut down all instances of Arduino before restarting.
Finally download the SerialServoControl sketch:https://github.com/Soshimo/Serial-Servo-Controller-Firmware
The easiest way to get the sketch into your Arduino environment is to create a new sketch called SerialServoControl. Open the .ino file downloaded above in notepad (or your editor of choice). Copy the entire file's contents and paste into the window of the new sketch you created.
Save the sketch.
Upload the sketch to your Arduino.
Next we will hook up the Arduino to the servo controller board we built in the last two steps.