Это видео недоступно.
Сожалеем об этом.

024 - ESP32 MicroPython: SD Card

Поделиться
HTML-код
  • Опубликовано: 7 апр 2021
  • In this video, we will learn how to interface SD Card to ESP32 using MicroPython programming language.
    For more details, visit:
    techtotinker.c...
    Please do Like, Comment, Share, and Subscribe.
    Thank you.
    - George Bantique | tech.to.tinker@gmail.com
    #TechToTinker
    #MicroPython #ESP32
    #MicroPythonTutorials
    ---
    MicroPython Tutorials
    How to use SD Card in MicroPython
    How to interface SD Card in MicroPython

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

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

    Thanks George! A very good, clear and practical presentation as usual.

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

    So helpfull video, it works for me, thanks a lot, you save me in a project

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

      @Arena Ps glad you found it helpful. Cheers

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

    Hi man, great vid and I am not kidding if I say that this is exactly what I needed!
    edit: subscribed and liked the video for ya!

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

      @Melano Supriatna, I am glad that it helped you. Cheers and thanks..

  • @saran54593
    @saran54593 3 дня назад

    first of all thank you for good presentation. I am trying to replicate your work but I am unable to resolve below error.
    File "sdcard.py", line 191, in readblocks
    AttributeError: 'SDCard' object has no attribute 'cdv' .
    Help is much appreciate.

  • @Karnikhil91
    @Karnikhil91 7 дней назад

    The Git hub link doest work any more

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

    Hi guys, I'm getting this error can someone assist.
    Root directory:['boot.py', 'main.py', 'sdcard.py']
    Traceback (most recent call last):
    File "", line 19, in
    OSError: [Errno 19] ENODEV

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

    How if i want send data ultrasonik to sdcard???

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

    I got error:
    Traceback (most recent call last):
    File "main.py", line 2, in
    ImportError: cannot import name SoftSPI
    Pycom MicroPython 1.20.2.r6 [v1.11-c5a0a97] on 2021-10-28; WiPy with ESP32
    Pybytes Version: 1.7.1
    Type "help()" for more information.
    >>>
    not sure what happening. Im newbie.

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

      You are using pycom version of Micropython while I am using the original Micropython version downloaded from micropython.org

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

      You are using pycom version of Micropython while I am using the original Micropython version downloaded from micropython.org

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

    how to use SDMMC HOST DRIVER with micropython ?

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

    Great! but i use miso=Pin(19),
    mosi=Pin(23),
    sck=Pin(18))
    sd = SDCard(spisd, Pin(5)) and sd card class10 8G only it working. FAT32 (2k sector)
    good like!

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

      Hi Andrew, yes you can do it like that because the example code uses SoftSPI else you need to use dedicated SPI pins. Anyways, good job and thank you for letting me know. Cheers

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

      Hi , could you help me with a problem? I am trying to set up those pins of the SPI bus. But it doesn't work, this is the code:
      spisd = SPI(-1, miso=Pin(19), mosi=Pin(23), sck=Pin(18))
      sd = SDCard(spisd, Pin(5))
      I tried by other way without SOFTSPI, but it is not still working:
      spi = machine.SDCard(slot=2, width=1, cd=None, wp=None, sck=18, miso=19, mosi=23, cs=5, freq=20000000)
      sd = sdcard.SDCard(spi, Pin(5))
      os.mount(sd, '/sd')
      thanks