NodeMCU - Unable to mount SD card (Lua)


i using nodemcu amica board , this sdcard module (it has level shifter , 3.3v regulator built in) unable mount sd card.

the following line

vol = file.mount("/sd0", 8 );

gives me nil in vol.

wiring proper.

  • nodemcu 3.3v -> sdcard board vcc
  • nodemcu gnd -> sdcard board gnd
  • nodemcu d5 -> sdcard board sck
  • nodemcu d6 -> sdcard board miso
  • nodemcu d7 -> sdcard board mosi
  • nodemcu d8 -> sdcard board cs

i tried powering sdcard module external arduino uno +5v volts same issue persists. tried switching chip select (cs) pin d8 d2 , issued command: vol = file.mount("/sd0″, 2); same problem present. vol still nil , doesn't mount.

any appreciated. thanks

can on please?


Arduino Forum > Using Arduino > Microcontrollers > NodeMCU - Unable to mount SD card (Lua)


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???