miketeachman/micropython-i2s-examples

Sd library

ahreenah opened this issue · 3 comments

Where did you get sd library, my pi pico has not it as module nor as machine.sdcard.
Thanks in advance

Update... see below....
I am trying the examples on a Raspberry Pi Pico W. I can run "play_tone.py" with no problems. However, I am having problems with the SD card driver for the other examples. First. the link to sdcard.py on the page https://github.com/miketeachman/micropython-i2s-examples is broken. However, I found the sdcard.py file in the repo at the new location as you mention above. When I try the example "play_wav_from_sdcard_blocking.py" it comes up with errors. Specifically,

Traceback (most recent call last):
File "", line 76, in
File "/lib/sdcard.py", line 259, in readblocks
File "/lib/sdcard.py", line 197, in readinto
OSError: timeout waiting for response

Update: I tried a different SD Card module and it works. The difference is the one that does not work has a VHC T125A Quad Bus Buffer 14-pin chip, along with a 3.3V regulator. The one that works does not have the 14-pin chip, but it does have a similar 3.3V regulator.

Thanks for reporting this broken link and describing the problem you found with this SD card module. I'll fix the broken link right now.