SD-Card with Arduinos - Common Problems and How to Fix 'em

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2024
  • This is the second video/ tutorial for using SD cards with Arduino. If you havent, please see the first video which is an arduino sd card tutorial that explains the basics of using SD cards with Arduinos. This tutorial is to highlight and fix common problems when using SD card with arduino, mainly issues like "Initialization failed", or "SD card not found".
    Thanks for watching, and subscribe to Fungineers for more DIY, Arduino, Electronics and gadget reviews.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @progtom7585
    @progtom7585 4 ปีที่แล้ว +3

    lifesaver! Im a newb to arduino and it can be frustrating with so little begineer (not electrical engineer) style info out there!
    thanks

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

      I know bro

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

      Hey Tom. Try "Paul McWhorter" you tube channel. He has several series for beginners and on. He will be a great help if you are struggling getting started.

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

      @@billfield8300 thanks heaps!! Will do

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

    Many thanks bro,
    if I have multiple files in SD cards with different names, let's say 8 files in one sd card , now how can I able to select from these 8 files any file I like to let it work, for example if I have selectors switch can provide 5v. to (3 input pines) of Arduino board to provide 8 selection , so some time I want file with name (one) to work, after while l decided to let file with name (three) to work and stopped file (one) and so on

  • @MinhTruong-wq8xj
    @MinhTruong-wq8xj 4 ปีที่แล้ว

    Can arduino read 16gb sd card or 16gb micro sd card?

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

    I am using a 2GB card with formate FAT 16 but its showing the same error as you mentioned in the video

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

    I am using an SD card to store my data from arduino. When I run the example for cardInfo, the module and sd card are getting detected. There is no error, but when I try to read or write using my code, its showing sd card initialization failed. I am using PIN 10. I could not debug it. Kindly help me in sorting out

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

    Tive problemas no meu projeto e estava utilizando um chip micro Sd de 4Gb. Substitui meu módulo SD card por um módulo Micro SD card e funcionou com o cartão.

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

    Super usefull tips, I've been struggling with 8GB cards, and nothing! I will look for the 2GB ones.

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

    Thanks for the help!!

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

    Thanks so much sir,
    Problem is solved after when i format the card with "FAT32" option.

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

    Hi, hoping someone will help me, I have 2gb sd card, formatted at FAT16 (also tried to format it at FAT32) and get a failed initialization. The SD card can be detected by my laptop. I have 2 sd cards and both of them have same problem, I also have 1sd card module and a micro sd card modules and still got the same problem.
    However, I tried my 8gb sd card and it works! But still I my project to work with 2gb sd card only. Can you help me?

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

    I have a 32GB micro SD. It is initializing successfully and saving the sample code data successfully. When I begin to change the sample code regarding printing to the file, the data never shows on the file and the myfile.read(); function is not operating properly. Any possible solutions would be greatly appreciated!

    • @JS-do2ye
      @JS-do2ye 2 ปีที่แล้ว +1

      have the same problem. I have Date and Time and one Value, that worked fine. afterwards i added another value and now the last 2 values either dont show all up on the *.csv file or are not correct (not the same as on the serial monitor).

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

    Tutorials should connect the SD modules the right way, not using pin 10-13, but via the ICSP header. That way it works with all Arduino's, including MEGA, DUE, Leonardo and such.

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

    i have 16 gb card, the card initializes but it does not read files properly

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

    Thanks for the video. Is your board 5 or 3v3 ? As you are wiring directly to the board and for 5v is it necessary drop the wiring to 3v3 ?

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

      My board had both5 and 3.3 pins so either work. Somw new boards have only 3.3, then you need to connect inly 3.3from the Arduino.

  • @mr.techinventor3463
    @mr.techinventor3463 3 ปีที่แล้ว

    How to delete first line from text file

  • @ferdinandgunawan8611
    @ferdinandgunawan8611 4 ปีที่แล้ว +2

    I get this error =
    Initializing SD card...Wiring is correct and a card is present.
    Card type: SD1
    Could not find FAT16/FAT32 partition.
    Make sure you've formatted the card
    But I've formatted the card, so how should I solve this?

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

      Hey bro, I'm also face the same problem. I have used 4 GB sd card.
      If you find the solution, then please share with me. . . . TIA 😊

  • @user-wr8yg8ix6r
    @user-wr8yg8ix6r 2 ปีที่แล้ว

    THANKS A LOT

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

    Are there modules for sd cards between 2gb and 32 gb? i bought the same module but i have no small card for it. This module is SD but doesnt support SDHC which is over 2gb and it sucks...

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

      I'd say a DF player

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

    Arduino reads my card(8gb) shows card type but it show size as 0 and shows not a single file on the card??
    Pls help me

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

      Try to reformat. Use smaller size card if possible

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

    Very helpful video

    • @MARS-GREENH0USE
      @MARS-GREENH0USE 4 ปีที่แล้ว

      On my mega with ramps, 16gig OK..... 32gig too big to read any files. Boom fixed

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

    Don't you have to turn off arduino before removing sd card from the reader just like Windows's safety remove feature?
    Anyway just realized how terrible this sd card read is. Can't read anything above 2GB. At the time of this video, they hadn't come up with new model that can read higher capacity?

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

      I think sparkfun has a better version now.

  • @Romello_Pietersz
    @Romello_Pietersz 18 วันที่ผ่านมา

    My 16GB Micro SD card with the adapter is working fine, no problem.

  • @user-pe7hn2no6e
    @user-pe7hn2no6e 5 ปีที่แล้ว

    What is the link of the first video?! :-)

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

      Search for SD card fungineers :)

  • @hugodavid2244
    @hugodavid2244 4 ปีที่แล้ว +2

    It works with 4GB cards

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

    thank U

  • @MinhTruong-wq8xj
    @MinhTruong-wq8xj 4 ปีที่แล้ว +2

    1gb or 2gb card is too hard to find now

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

    do 64gb cards work with arduino?

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

      You would have to check. Depends on what version of sd card reader you are using.

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

    Данный модуль (HW-203 SD Card Reader) работает с micro-SD картами за счет переходника который согласует уровни напряжения, но не работает с полноценными SD картами. Это очень плохой модуль, Я провел очень много времени пытаясь понять что не так.. ***** This module (HW-203 SD Card Reader) works with micro-SD cards due to an adapter that coordinates voltage levels, but does not work with full-fledged SD cards. This is a very bad module, I spent a lot of time trying to figure out what's wrong..

  • @MARS-GREENH0USE
    @MARS-GREENH0USE 4 ปีที่แล้ว

    On my mega with ramps, 16gig OK..... 32gig too big to read any files. Boom fixed. Thx

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

    Yo! Appreciated man, the tool helped me quite much, apparently I had my SD card in exFAT format, not FAT32 (64 GB). I used command prompt (from Github) to lower the partition size and format it. This one worked perfectly for me:
    (in command prompt) - make sure that disk one is your SD card.
    diskpart
    list disk
    select disk 1
    clean
    create partition primary size=30000
    list partition
    select partition 1
    active
    format quick fs=fat32
    assign
    exit

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

    if you have arduino uno and this exact module use 3v3 not 5v !!