#6 NodeMCU/ ESp8266 Tutorial: Interface SD card

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • In this video I show pinout of SD card and how to connect an SD card with esp8266.
    The SD card connection is as follow:
    SD pin 2 (CS) -- D8
    SD pin 3 (MOSI) -- D7
    SD pin 4 (3.3v) --3v
    SD pin 5 (SCK/clock) -- D5
    SD pin 6 (GND) -- Ground
    SD pin 7 (MISO) --D6.
    The code is in the arduino example.
    Goto FIles--Examples scroll down and you will see SD(ESP8266)
    select the listFile example.

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

  • @luluiotrokag3858
    @luluiotrokag3858 2 года назад +4

    if you power up your nodemcu (8266) with 5V then at the pin Vin (Vin stand for volts that come in from the USB ) so use Vin pin directly and it will work fine, no need to unsolder the regulator

  • @eventhorizon8014
    @eventhorizon8014 4 года назад +1

    Thank you man, this helped me alot !

  • @saptarshiraut6300
    @saptarshiraut6300 5 лет назад +9

    You dont need to remove the voltage regulator if you power the esp using 5v wall charger .. connect esp-vin to sd-vcc. This will provide 5v from esp to sd card .. 🤘

  • @shivrajjangada
    @shivrajjangada 5 лет назад +1

    But the video was good and it was useful for me thank you

  • @mr.techinventor3463
    @mr.techinventor3463 3 года назад

    I want to read first line of text file from sd card and delete it . After that second line other lines should be shifted .Please help me in logic and commands

  • @mr.techinventor3463
    @mr.techinventor3463 3 года назад

    Thanks for tutorial , i am Little confusing i have data with timestamp text file so I want to send data to google sheet what is skipped while internet was not available , what commands i should use?

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

    it works thank you

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

    Any update on this?

  • @juanpamoreno325
    @juanpamoreno325 5 лет назад

    It worked before but now it don't, only soft WDT reset when calling SD.begin.
    Any clue?

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      Check your power supply.

    • @juanpamoreno325
      @juanpamoreno325 5 лет назад

      @@MohammedRezwanulIslam I' using PC USB port on the ESP8266.
      I think the SD module is dead.

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      @@juanpamoreno325 Use a good quality usb cable. If you use cheap usb cable then there will be high resistance on the wire and at the end there will not be 5v for the esp8266.

    • @juanpamoreno325
      @juanpamoreno325 5 лет назад

      @@MohammedRezwanulIslam I'm using the USB cable from my phone. It's supposed to be a good one

  • @kabileshr7390
    @kabileshr7390 5 лет назад

    is it neccessary to remove the ic when i work in node mcu

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      Yes. If you do not remove the IC then the supply voltage of the SD card will be less than 3.3v. Then it may not work properly.

    • @kabileshr7390
      @kabileshr7390 5 лет назад +1

      Thank u for your reply but when i worked in arduino it requires atleast 5v why

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      @@kabileshr7390 But NodeMcu dev board can only supply 3.3v. The IC can convert 5v -> 3.3v but if you supply 3.3v then the output will be less than 3.3v and your SD card will not work.

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

    make an updated video

  • @shivrajjangada
    @shivrajjangada 5 лет назад

    Bro you should add source code and connection diagram in description

  • @khushwantmaan791
    @khushwantmaan791 5 лет назад

    card initialization failed!

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      Try again and again and again.

    • @khushwantmaan791
      @khushwantmaan791 5 лет назад

      @@MohammedRezwanulIslam its working with some another sd card but for a particular sd card its not working it because micro sd card adapter supports micro sd card and microsd hc

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 лет назад

      @@khushwantmaan791 good to hear that you got it working.

    • @khushwantmaan791
      @khushwantmaan791 5 лет назад +1

      @@MohammedRezwanulIslam yeh! thank you for your efforts