Filelogger Library with Adafruit microSD Breakout+

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
dragonfly
 
Posts: 1
Joined: Tue Jul 29, 2014 4:32 pm

Filelogger Library with Adafruit microSD Breakout+

Post by dragonfly »

Dear Adafruit Team, I recently bought your MicroSD Card Breakout Board+ (http://www.adafruit.com/products/254). For my current project I would like to use the Arduino-Filelogger Library https://code.google.com/p/arduino-filelogger/ in order to reduce my sketch size, because I already have your GPS Module (with its corresponding Library) and the 128x64 Monochrome OLED http://www.adafruit.com/products/938 which I coded by using u8g library (also to reduce the sketch size).

In order to test the MicroSD Card Breakout together with the Filelogger-Library (which is very small and contains all I need).
I connected the SD Breakout to another Arduino Pro Mini (5V/16Mhz) using the followin pins:

SD Arduino
CS=>10
DI=>11
DO=>12
CLK=>13
GND=>GND
5V=>VCC

None of all the Sample-Codes I found with Google nor the included FileloggerDemo Sketch did work. I always get "Result: Fail initializing". I did Format the microSD Card with FAT16 and created a File with the corresponding Name used in the sketch with an space or any other character in it (This is the prerequisite for the Filelogger Library).

Is there a way to use your breakout with the Arduino-Filelogger Library? All other SD-Libraries are to "big" for the ATMEGA328 on the Arduino 328P. I already reduced as much Memory and SRAM as it was possible.

I would really appreciate it, if you could help me making this SD Breakout working together with the Filelogger Library.

Thanky you very much.

Regards,

dragonfly

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Filelogger Library with Adafruit microSD Breakout+

Post by Franklin97355 »

You will need to modify the library to accommodate the breakout. You could ask the author if they have any ideas. Some of the code comments talks about removing the spi code and using the Arduino spi library and there is a reference to WProgram which has been renamed in the latest versions of the IDE.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”