How to connect sd card module to Esp32

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • download esp32 libraries from github.com/esp...
    Connections:
    esp32 sd card module
    3V3 VCC
    GND GND
    D5 CS
    D18 SCK
    D19 MISO
    D23 MOSI

Комментарии • 50

  • @demiurgiac
    @demiurgiac Год назад +9

    I have spent hours trying to get my ESP32 to talk to my SD card reader. You are the first contributor to mention "DO IT ESP32 DEV-KIT V1". Once I selected it... worked like a charm! Thank you!!!

  • @amirhoseinrnx9084
    @amirhoseinrnx9084 7 месяцев назад +3

    10 times OK! in a sec .
    it's a new skill that you have unlocked bro !

  • @octopro8937
    @octopro8937 3 месяца назад +2

    Thanks! this worked for my Inland ESP32 from micro center

  • @have_fun1107
    @have_fun1107 Год назад +3

    if any one get an error. try changing the 3.3v pin to vin pin. it worked for me.

    • @techacademy9787
      @techacademy9787  Год назад

      The SD card module has onboard DC dc converter.which converts 5v to 3.3v. So yes you should connect it to 5v.

    • @felipetribinos8660
      @felipetribinos8660 27 дней назад

      thanks you! i spend hours trying to solve it and it worked!

    • @have_fun1107
      @have_fun1107 13 дней назад

      @@felipetribinos8660 welcome

  • @Ronshaw100
    @Ronshaw100 3 года назад +1

    Thank you for your very informative RUclips video. The instructions were easy to follow, and I now have have my SD card working on the ESP32 Dev Board.

  • @juanjerez7399
    @juanjerez7399 5 месяцев назад

    How did you lift the Card mount failed error report? I am having the same problem and it doesn't seem to work.

  • @fahrullohmuftarikkayusuf9375
    @fahrullohmuftarikkayusuf9375 3 года назад +3

    hi, i have the same problem in serial monitor just say card mount failed. what have you done so you can solved that problem? i watch your video it seems you cut that process, can you help me? in serial monitor always say Card Mount Failed when i reset my esp32

    • @drycell476
      @drycell476 3 года назад +2

      add more voltage, use potentiometer to vary it

    • @lutfullahaydn2794
      @lutfullahaydn2794 6 месяцев назад

      @@drycell476 Thank you for that broo!!!

  • @ernstlemm9379
    @ernstlemm9379 2 года назад +3

    The 3.3V output on te ESP32 is connected to the 5 to 3.3V regulator input. This is wrong.

    • @kalegamingtv2200
      @kalegamingtv2200 2 года назад +1

      Yes, it will get failed messages into serial monitor, it can’t activate CS pin

    • @ifjsnayarn0418
      @ifjsnayarn0418 2 года назад

      what should be the pin connection then?

    • @sa-ej4sq
      @sa-ej4sq 2 года назад +2

      @@ifjsnayarn0418 Change from 3V3 to Vin Pin and it will work.

    • @ifjsnayarn0418
      @ifjsnayarn0418 2 года назад

      @@sa-ej4sq thanks

    • @basmalhahmed8278
      @basmalhahmed8278 Год назад

      @@sa-ej4sq it didn’t work

  • @akalankashani9907
    @akalankashani9907 2 года назад +1

    May I know if two esp32 can be connected to one sd card? If so, how to connect it? Please help me know about it.

  • @ernestorivero688
    @ernestorivero688 2 года назад

    Hello I have a esp 8266 and a micro SD that using the JINX program manages to record animations in the target, I want if you could help me which program I must load on the esp8266 so that he reads the microSD and sends me the animations to a matrix of 8x32 wide built with leds ws2812 (called neopixel) or if you can make a video regarding this topic

  • @henrichlacao1007
    @henrichlacao1007 5 месяцев назад

    weird symbols only shows up at my serial monitor, i dont know what to do.

  • @glennnickelson6978
    @glennnickelson6978 Год назад

    Great!; thank you. I needed to change the SPI pins, could not find anything on the net to use pins other than the default. I found if you edit the pins.h file for the "C:\Users\glenn\.platformio\packages\framework-arduinoespressif32\variants\esp32"; in my case. Commented out the default and added the pins I wanted to use.
    /* Commented out the default spi pins and added alturnaltives */
    /*
    static const uint8_t SS = 5;
    static const uint8_t MOSI = 23;
    static const uint8_t MISO = 19;
    static const uint8_t SCK = 18;
    */
    static const uint8_t SS = 25;
    static const uint8_t MOSI = 32;
    static const uint8_t MISO = 27;
    static const uint8_t SCK = 4;
    One could make a special variant; however, I never tried this.

  • @hubapptechnologies5708
    @hubapptechnologies5708 3 месяца назад +1

    Hi my friend, are you available to help me to setup Arduino code into my ESP32? I will be happy to pay you a coffee.

  • @TheXLab
    @TheXLab 3 года назад +1

    Is it possible to setup linux/windows in ESP32 like rasberry pi??

  • @haveagoodlife12
    @haveagoodlife12 Год назад

    do u know why i can't save all my sensor data on microSD using esp32? i have put the program on void loop but i cant save all data

  • @andresaguilerah.959
    @andresaguilerah.959 3 года назад

    Hi, thanks a lot for the code. Do you know how to detect when the SD was removed o extracted and when it was put on again? for example, it is working normally and it is on, but someone wants to extract SD and does not turn off the device and then put again, so dont work well, but if i detect that was extracted i can do somethink. do you know somethink like that?

    • @techacademy9787
      @techacademy9787  3 года назад +1

      you can create log file on sd card and write time after some interval . again read log file check current time and saved time the interval should be same if not sd card was intrupted

  • @marwanalkheir5894
    @marwanalkheir5894 3 года назад

    Thank you for this video.
    But what are you doing to resolve the failed problem?

    • @techacademy9787
      @techacademy9787  3 года назад

      make sure sd module vcc is connected to 5v

    • @Novatronixlabs
      @Novatronixlabs 3 года назад +3

      @@techacademy9787 even after connecting it to the 5V it is not working and returning "Card Mount Failed"

    • @ilkeraykut7064
      @ilkeraykut7064 3 года назад +1

      @@techacademy9787 it doesnot work

    • @dilayacer
      @dilayacer 2 года назад

      @@ilkeraykut7064 İİker selam bu sorunu çözebildin mi?

  • @ernestorivero688
    @ernestorivero688 2 года назад

    Hola yo tengo un esp 8266 y una micro SD que usando el programa JINX logre grabar en la targetas animaciones,yo quiero si usted me podría ayudar que programa debo cargar en el esp8266 para que el me lea la microSD y me envíe las animaciones a una matrix de 8x32 de ancho construida con leds ws2812(llamados neopixel)o si usted puede hacer un video con respecto a este tema

  • @agustina.g7031
    @agustina.g7031 3 года назад

    m sale que no contiene una libreria valida

  • @squidben5780
    @squidben5780 Год назад

    So what is the max size for sdcard ???

  • @rhezayudhistira
    @rhezayudhistira 8 месяцев назад

    how to connect the speaker with sd card module?

  • @summerfun6114
    @summerfun6114 Год назад

    Hi, nice project. I am not lucky and got " Card Mount Failed " error, any solution please.

  • @itsatomtech
    @itsatomtech 3 месяца назад

    ....

  • @IstadR
    @IstadR Год назад +1

    Ok