Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ESP8266 12E NodeMCU 1.0 pin mapping for micro sd card?

I tried several pin conifguration to connect nodemcu and micro sd card. However, I had not any luck to successfully connect to sd card. I followed esp8266 forum and some other solution! I need your suggestions :)

like image 848
Naim Rajiv Avatar asked Oct 29 '22 07:10

Naim Rajiv


1 Answers

The pin mapping that SD card attached to SPI bus as follows:

  • MicroSD => ESP8266
  • MOSI(DI) -> D7 (GPIO13) HMOSI
  • MISO(DO) -> D6 (GPIO12) HMISO
  • CLK -> D5 (GPIO14) HSCLK
  • CS -> D2 (GPIO4)
  • VDD -> Vin/3V3
  • GND -> GND

All other pin that available in microsd will not need to use!

After connecting all pin, you can test one of the example that given in by default. For example, In Arduino IDE you can use this example, File -> Examples -> 8266(SD) -> CardInfo

like image 51
Naim Rajiv Avatar answered Dec 10 '22 02:12

Naim Rajiv