Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Tutorial 11 for Arduino: SD Cards and Datalogging

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
27,560
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 5, 2011

You can download the parts list, code, and schematics from this episode on my website: http://jeremyblum.com/2011/04/05/tutorial-11-for-arduino-sd-cards-and-datalog...

Watch all of the videos in this series here: http://www.youtube.com/playlist?p=A567CE235D39FA84

This tutorial series is sponsored by element14. Check out their arduino group!
http://www.element-14.com/community/groups/arduino

Thanks to http://www.cooking-hacks.com for supplying the SD Card Shield!

Follow me on twitter: http://www.twitter.com/sciguy14

Link to this comment:

Share to:

Uploader Comments (sciguy14)

  • What software are you using to initialize the sd card? I did some survey on the logging stuff where the Fatfs library is kind of confusing me now. I don't really understand purpose of including the Fatfs library and is it necessary for the logging system where i didn't see any on this code appear in your tutorial. Thanks and looking forward to your reply.

  • @lilinghiew You need to initialize it as FAT16 with your computer first. (Format it).

  • i have these pins: MISO, SCK, SS, MOSI, GND and 5v please help

  • @ONixaO That's not a question... what's the issue?

  • What is the max sample rate for data storage?...

    i need store data from one three axis accelerometer @ 30 ms... Arduino+SD can do the job?

    best regards

  • @JhonssonCOL85 You should be able to accomplish that.

see all

All Comments (53)

Sign In or Sign Up now to post a comment!
  • Couldn't you just have sent binary numbers?

    Four bytes of binary numbers will get you 4,294,967,297 numbers, while four bytes of decimal numbers encoded as binary data - which does not make much sense - only gets you 10,000 numbers.

  • Hey Jeremy,

    Will the code be essentially the same for other SD shields out there (maybe just some pin changes)? I am looking at some other shields that fit my needs better. Also, is 2GB the limit of FAT16?

  • Where do I get the shield you use in this video

  • @sciguy14 can you help me or not?

  • From previous experience with SD cards (not using an Arduino), I had a problem with adding data to the end of an existing file. When I opened the file to write, it would overwrite the existing file. Is this a problem with this method or is there a method to add to the file? I will be using the SD card to store a lookup table. It is possible that I will need to add values to that lookup table after the card is already in place.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more