looking for a n00b guide to SD data logging.

Hey guys and girls,

I'm looking for a little guide/tutorial on data logging with the Arduino and an SD card (without page after page of back-story and tecnical data that would fly over my head), preferably something with a very simple input (like a button) that need no configuration in the IED (like a temperature sensor) and has Heavily notarised code, so even I can grasp the concept...........Im talking instructables simple! :slight_smile:

no one!?

Iv read SD/MMC From the ground up
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1235125412

built the agent_orange schematic, formatted the card but still neeD guide to using the SDuFAT, or SMB LIBRARIES......I still dont like code! :cry:

Have you tried FileLogger?
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1240704747/0

You can use the same wiring as the "AgentOrange"/ "SD/MMC From the ground" up schematic.

I managed to get FileLogger, as well as uFat(SD/MMC From the ground up), working. It takes some diddleing around to get them programmed the way you want them to work.

The examples given are helpful, up to a point, but then the diddleing begins: looking for answers and asking questions in forums, and hoping to get responses. Hoping, I say. ::slight_smile:

My sketches for the use of either of the methods are quite messy. If I can clean one up, maybe I can post one.

Be careful with that HCl, don't breath the fumes.
Actually, "I love the smell nitric acid in the morning" :wink:

PO'T

Thanks PO'T, will check it out! :slight_smile:

noob,

Do you need a file system on your SD card? If you can only read it on a Windows PC, you probably do. If you want to write multiple files, you probably do. If you want to send it to someone else, you probably do.

However, if it's just for your personal use, I think you could just write the data to the card without a file system. You could read it with a Linux box, or, I believe, a Mac.

The advantage of this approach is that you wouldn't have to deal with a whole FAT library in your code. Just some low level I/O routines, which you could steal from a FAT library. I'm guessing they would be pretty simple.

Regards,

-Mike

Hi mike,

Im after pure fundamentals here, just want to know how to do something along the lines of taking a value from a pin, whether it be a button high/low, or value from a sensor like a NTC.....And at defined increments of time, log that value data to a SD card.

You are missing the point that they are trying to make: it all depends on what you want to do with the data AFTER you have logged it.

Read it on a PC? Read it back on the arduino?