Это видео недоступно.
Сожалеем об этом.
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
Thanks George! A very good, clear and practical presentation as usual.
So helpfull video, it works for me, thanks a lot, you save me in a project
@Arena Ps glad you found it helpful. Cheers
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!
@Melano Supriatna, I am glad that it helped you. Cheers and thanks..
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.
The Git hub link doest work any more
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
How if i want send data ultrasonik to sdcard???
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.
You are using pycom version of Micropython while I am using the original Micropython version downloaded from micropython.org
You are using pycom version of Micropython while I am using the original Micropython version downloaded from micropython.org
how to use SDMMC HOST DRIVER with micropython ?
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!
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
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