I bought OpenLog a while ago, but I haven't tried it out until now.
When I now try to load the referenced library (GitHub - sparkfun/OpenLog: Open Source Hardware Datalogger - OpenLog-4.3.zip) I get an error message, I have tried both with Arduino IDE 2.2.1 which generates the following error “Error: 13 INTERNAL; Library install failed: moving extracted archive to destination dir: library not valid” and IDE 1.6.5 “Specified folder/zip file does not contain a valid library”!
First, please download the Arduino IDE v1.6.5. Other versions of the IDE may work to compile the OpenLog firmware, but we have verified this as a known good version.
Next, download the OpenLog firmware and required libraries bundle.
Once you have the libraries and firmware downloaded, install the libraries into Arduino. If you are unsure how to manually install the libraries in the IDE, please check out our tutorial: Installing an Arduino Library: Manually Installing a Library.
Note: We are using modified versions of the SdFat and SerialPort libraries in order to arbitrarily declare how big the TX and RX buffers should be. The OpenLog requires the TX buffer to be very small (0) and the RX buffer needs to be as large as possible. Using these two modified libraries together allows increased performance of the OpenLog.
Looking for the Latest Versions? If you would prefer the most up-to-date versions of the libraries and firmware, you can download them directly from the GitHub repositories linked below. The SdFatLib and Serial Port libraries are not visible in the Arduino board manager so you will need to manually install the library.
Next, to take advantage of the modified libraries, modify the SerialPort.h file found in \Arduino\Libraries\SerialPortdirectory. Change BUFFERED_TX to 0 and ENABLE_RX_ERROR_CHECKING to 0. Save the file, and open up the Arduino IDE.