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

Duration : 0:32:52


Comments

25 responses to “Tutorial 11 for Arduino: SD Cards and Datalogging”

  1. sciguy14 Avatar
    sciguy14

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

  2. lilinghiew Avatar
    lilinghiew

    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. sciguy14 Avatar
    sciguy14

    @ONixaO That’s not …
    @ONixaO That’s not a question… what’s the? issue?

  4. ONixaO Avatar
    ONixaO

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

  5. sciguy14 Avatar
    sciguy14

    @JhonssonCOL85 You? …
    @JhonssonCOL85 You? should be able to accomplish that.

  6. mayomar1631 Avatar
    mayomar1631

    yeah text? fight
    yeah text? fight

  7. WhosTuhTroll Avatar
    WhosTuhTroll

    @mayomar1631 wanna? …
    @mayomar1631 wanna? fight about it

  8. mayomar1631 Avatar
    mayomar1631

    @WhosTuhTroll i …
    @WhosTuhTroll i have rights? and make me

  9. WhosTuhTroll Avatar
    WhosTuhTroll

    @mayomar1631 im a …
    @mayomar1631 im a minor too, git off duh? youtube

  10. mayomar1631 Avatar
    mayomar1631

    @WhosTuhTroll why i …
    @WhosTuhTroll why i am a minor? and i have rights

  11. WhosTuhTroll Avatar
    WhosTuhTroll

    @mayomar1631 boom, …
    @mayomar1631 boom, get off? duh internet

  12. mayomar1631 Avatar
    mayomar1631

    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

  13. ONixaO Avatar
    ONixaO

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

  14. JhonssonCOL85 Avatar
    JhonssonCOL85

    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

  15. paveltv Avatar
    paveltv

    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.

  16. lolypopboy777 Avatar
    lolypopboy777

    @sciguy14
    No, i …

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

  17. sciguy14 Avatar
    sciguy14

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

  18. lolypopboy777 Avatar
    lolypopboy777

    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)

  19. sciguy14 Avatar
    sciguy14

    @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.

  20. RosauraVelazco Avatar
    RosauraVelazco

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

  21. juliovelarde1 Avatar
    juliovelarde1

    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.

  22. oOVroomOo Avatar
    oOVroomOo

    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?

  23. heyarn Avatar
    heyarn

    Please do a …
    Please do a tutorial on gyroscopes and accelerometers? 🙂

  24. wowmir Avatar
    wowmir

    @sciguy14 cool no …
    @sciguy14 cool no problem. Do it? when you are free

  25. RichyBTheking Avatar
    RichyBTheking

    @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.

    Richy

Leave a Reply