5-min Tutorials - SD Card Reader with Arduino - Code and Test

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 พ.ค. 2018
  • This is a new series called '5-min Tutorials' to provide quick tutorials on common electronics and arduino based sensors/ devices.
    This is a review/ tutorial of the SD card reader for arduino, in this video, i show how to create a file in an SD card using the arduino, how to read a file from an SD card using an arduino, and general usage of SD card with arduinos. For Simple Arduino projects, subscribe to Fungineers!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 50

  • @rodrigojaime6768
    @rodrigojaime6768 4 ปีที่แล้ว +10

    Hello very good video can you put the code somewhere?
    pls

  • @-Fikra-qq1zd
    @-Fikra-qq1zd ปีที่แล้ว +1

    If I use an SD Card Reader with Arduino and esp8266, does it use a common 3.3v voltage for the two, or does each of them connect separately? Thanks

  • @ARSHADALI-oz7ou
    @ARSHADALI-oz7ou 3 ปีที่แล้ว +1

    Hello Sir!
    How should i read onky last line of my sd card text file while using sd card

  • @leisryan
    @leisryan 2 ปีที่แล้ว +1

    Hello have you done reading files from SD card with arduino from PC ...,it's just like reading from a hard drive?

  • @dorubrad
    @dorubrad ปีที่แล้ว +1

    Why does the adapter have rows of pins? What is the correct row to use?

  • @rebecalunardibublitz6358
    @rebecalunardibublitz6358 2 ปีที่แล้ว +1

    Im from Brazil, and man you saved me!! Thanks a lot! Loved the video!!!

  • @JassonQuill
    @JassonQuill 5 ปีที่แล้ว

    can it read csv files?

  • @user-su1bz8yz5l
    @user-su1bz8yz5l 9 หลายเดือนก่อน

    hi , i'm trying to get this module run with a servo but can't because of timer problem , plz i need help

  • @ernestorivero9909
    @ernestorivero9909 2 ปีที่แล้ว

    Fungineer me gusto su video,pero déjeme plantearle algo a ver si usted me ayuda o le sirve como pie para un video nuevo.Yo descargué el software JINX, vay usted ha oodo hablar de este software,con el se hacen animaciones que luego se guardan en una targeta sd,en los videos que yo he visto sobre este software te enseñan hacer las animaciones y como guardarla en una targeta para que luego sea leída por un arduino nano,uno,o mega,pero que pasa que no te hablan del código que debes descargar en el arduino para que te lea las animaciónes que grabaste en la sd y enviarla a una matrix de led.Seria usted tan amable de orientarme donde buscar un código para programar el arduino y este me pueda leer las animaciones que hay en la memoria sd,le repito animaciones que grabe del software JINX.

  • @Venaber
    @Venaber 10 หลายเดือนก่อน

    good video, thank you

  • @tiago4937
    @tiago4937 2 ปีที่แล้ว +1

    Im from Brazil, and man you saved me!! Thanks a lot! Loved the video!!!
    😍😘🥰🤩

  • @whoismatera
    @whoismatera 3 ปีที่แล้ว +1

    This was uploaded two years ago. Can I still ask questions?

  • @w4rh34d1
    @w4rh34d1 5 ปีที่แล้ว

    Nice tutorial...sir what if button is press and read line by line..at a time. Whats the code added.

  • @any123-og
    @any123-og 5 ปีที่แล้ว

    I have that sd logger but it is velleman

  • @PurpleGround
    @PurpleGround 6 ปีที่แล้ว

    Cool!

  • @priyaranjantiwari1827
    @priyaranjantiwari1827 5 ปีที่แล้ว +2

    can we Load sketch code from SD Card

    • @Afif87123
      @Afif87123 4 ปีที่แล้ว

      Ithink so

  • @bigsmoke4663
    @bigsmoke4663 6 ปีที่แล้ว

    Keep the good work up!!!

  • @gazzacroy
    @gazzacroy 4 ปีที่แล้ว +1

    cool

  • @Jay-ym2ri
    @Jay-ym2ri 3 ปีที่แล้ว +2

    mine says inislising failed

    • @jaxxrr
      @jaxxrr ปีที่แล้ว

      same

  • @bot-sk8mt
    @bot-sk8mt ปีที่แล้ว

    this sd card reader is strange. Mine wouldnt work properly and I tried like 10 differernt things to fix it, but in the end I connected the wires to the first row of pins and then it worked.

    • @dorubrad
      @dorubrad ปีที่แล้ว

      First row is the one at the end of the adapter or the one to the inner side?

  • @afonia3573
    @afonia3573 ปีที่แล้ว

    2:12 - Double A

  • @rumrobot_
    @rumrobot_ 5 ปีที่แล้ว +1

    My code or piece doesn't work I made the same code as you but there was anything when I plugged it into my pc then I put the if statement at the end of the setup to see if the file exists there but it doesn't?? So in the ending i have this code:
    #include
    #include
    File myFile;
    int speakerPin = 8;
    void setup() {
    pinMode(speakerPin, OUTPUT);
    Serial.begin(9600);
    while (!Serial){
    ;
    }
    Serial.print("Initializing SD card...");
    if (!SD.begin(4)){
    Serial.println("Initializing failed!");
    }
    Serial.println("Initializing done.");
    if(SD.exists("example.txt")){
    Serial.println("example.txt exist.");
    } else{
    Serial.println("example.txt doesen't exist.");
    }
    Serial.println("Creating example.txt...");
    myFile = SD.open("example.txt", FILE_WRITE);
    myFile.write("Hello");
    Serial.println("Writing to file succesful.");
    myFile.close();
    if(SD.exists("example.txt")){
    Serial.println("example.txt exist.");
    } else{
    Serial.println("example.txt doesen't exist.");
    }
    }
    void loop() {
    }

    • @rumrobot_
      @rumrobot_ 5 ปีที่แล้ว

      Now I tried it again WITH the example.txt file and it says that it still dosen't exist. What should i do?

    • @Fungineers
      @Fungineers  5 ปีที่แล้ว

      Looks like your SD is not being read. Whats the SD card capacity?

    • @Fungineers
      @Fungineers  5 ปีที่แล้ว

      Did you see my other video about SD card problems? I discuss some of the common issues

    • @rumrobot_
      @rumrobot_ 5 ปีที่แล้ว

      @@Fungineers its about 4GB

    • @rumrobot_
      @rumrobot_ 5 ปีที่แล้ว

      No, I didn't. but I will look on that ;)

  • @kt__23__63
    @kt__23__63 4 ปีที่แล้ว

    Can I use 16gb sd card...???

    • @Fungineers
      @Fungineers  4 ปีที่แล้ว +1

      I think 8gb is the limit. But you can try

    • @kt__23__63
      @kt__23__63 4 ปีที่แล้ว

      @Bitor Bit Dude... 182gb card doesn't exists...

    • @GLH8
      @GLH8 3 ปีที่แล้ว

      Think it needs to be formatted in FAT32, most come preformatted in different formats

    • @solodagci
      @solodagci 3 ปีที่แล้ว

      @@Fungineers Then why do you show a 128GB card in the thumbnail and on the table, near Arduino?

    • @solodagci
      @solodagci 3 ปีที่แล้ว

      Btw. I tested it with my 128GB sd card and it was successful. There's no 8GB limit. You have to make sure to format the card as FAT32 via guiformat tool though. ridgecrop.co.uk/index.htm?guiformat.htm

  • @bigsmoke4663
    @bigsmoke4663 6 ปีที่แล้ว

    Its me Kevin kevin

  • @guillermotrujillo8282
    @guillermotrujillo8282 ปีที่แล้ว

    no ma wey porque no le pones el link a los archivos de las librearías y de una vez de todo el código, pero ps chido perrito gracias por el tutorial

  • @bbbbbbbbbbbbbbbbbbbbbbba
    @bbbbbbbbbbbbbbbbbbbbbbba ปีที่แล้ว

    hi good.

  • @letsgetto1millwithoutvids
    @letsgetto1millwithoutvids ปีที่แล้ว

    I'd pay you to make me some code that clones an SD card to another 1 to 1 with partitions and everything.

  • @pramodjalgaonkar1221
    @pramodjalgaonkar1221 ปีที่แล้ว

    1 sd card can read 2 Arduino Device

  • @jaxxrr
    @jaxxrr ปีที่แล้ว

    I spent two hours trying to figure out why it wont work... DO NOT USE 5V on Arduino Uno.. use 3v3 !!

  • @indianastones9884
    @indianastones9884 3 ปีที่แล้ว +2

    horrible video: 1. Name your Board 2. Name the Modul= Hw203 3) Show the wiring from above and the the shematic 4) explain your code at least somewhat.