Tutorial 11 for Arduino: SD Cards and Datalogging

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-datalogging

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!

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

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

Duration : 0:32:52

[youtube 5v5A3j7Rrco]

25 thoughts on “Tutorial 11 for Arduino: SD Cards and Datalogging

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

  2. What software are …
    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.

  3. ok i am 11 and my …
    ok i am 11 and my dad left thi page open so i? am going to say way to much smarticals

  4. What is the max …
    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

  5. Jeremy, I am trying …
    Jeremy, I am trying to use an Arduino Uno and a SD card shield to store an analog signal from a function generator; basically,? it’s gonna be a Digital Storage Oscilloscope. Could you point me in the right direction about the file format I need to use to manipulate the signal data once it’s in memory (SD card)?
    Thanks for all the good tutorials.

  6. @sciguy14
    No, i …

    No, i dont have the shield( i use a SDcard sniffer not MicroSD). And how do i make a ‘level? shifting’?
    Got a tutorial? 😀

  7. @lolypopboy777 Are …
    @lolypopboy777 Are you using an SD card shield? If not you? need to do level shifting.

  8. why do i get “Card …
    why do i get “Card Failture” at the first run? The input and output is called DI & DO.
    my pins:
    CS -> 10
    DI -> 11
    vcc.-> 8
    Clk -> 13
    Gnd -> Gnd
    DO-> 12
    (I tried to change the IN/OUT put, but it didn’t work. There is also pins called:
    IRQ, P9, SD,? WP, COM)

  9. @RosauraVelazco You …
    @RosauraVelazco You can download youtube videos using a service like keephd (dot) com if you want. All the source code ,schematics, etc are available on my website. ? Visit the link in the video description.

  10. Jeremy, would you …
    Jeremy, would you allow the downloading of this chapter? I’m following? all the series. Thank you so much.

  11. hey I’m from Peru …
    hey I’m from Peru and arduino is new for me however you’ve caught my attention with this very well made tutorial I really liked them, and I hope? you’ll keep on making them and thank you very much for the time you take to teach us all this its really helpful.
    Im sorry if there are mistakes my English is not that good.

  12. Hey mate, great set …
    Hey mate, great set of videos! They have been extremely helpful. I am working on a data logger where I get at least 5 (maybe? more using a mega) analog inputs storing to an SD card. You mention you could have taken 5ms samples.. This is exactly what I need to do (sample rate > 200Hz). But it seems I would need to use a buffer to achieve this as opening/closing files on SD seems to take up lots of cpu time? any ideas how i go about this?

  13. @sciguy14 Thanks …
    @sciguy14 Thanks mate, iv just been following your vid series and your showing me alot about arduino and helping me? get my head around it. Good luck with your finals and i look forward to you posting the next set of vids.


Leave a Reply