-1
\$\begingroup\$

I want to build a cheap, basic project which logs data to an SD card that can be removed and read using a normal card reader in a computer.

Requirements are fairly basic so performance is not critical but simple would be good to enable a smaller device.

What is the best way to implement this? I guess something like FAT16? Are there free libraries for something like this?

\$\endgroup\$

closed as not a real question by user17592, Leon Heller, Nick Alexeev, Nick T, Dave Tweed Jun 8 '13 at 20:19

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    \$\begingroup\$ Probably, but we need some more information. What microcontroller will you be using? What language / compiler will you use for programming? How large will your SD card be? \$\endgroup\$ – user17592 Jun 8 '13 at 14:17
  • \$\begingroup\$ Ditto above plus how fast is the data arriving? \$\endgroup\$ – Andy aka Jun 8 '13 at 14:21
2
\$\begingroup\$

Have you looked at the openLog datalogger? It probably already does what you want.

It uses an ATmega328P, a microSD card socket, and not much else. It has a very simple serial command set. Normally, anything you send simply gets written to a text file on the SD card. It supports FAT16 and FAT32 using sdfatlib.

enter image description here
Image credit: Sparkfun.com

It's open source, so if you want to modify it, you should be able to do so pretty easily.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.