Test Module SD / MicroSD Via SPI for Arduino & ESP8266



About: Share - Learn - Makers. Projects, Articles, #automation, #PLC, #Arduino, #IoT and More PDAControl

In this opportunity to test an SD Module and MicroSD with Arduino and ESP8266, in advance thanks to ICStation.com.

We will not do a detailed tutorial on introduction to SD since there is already great documentation regarding the subject in intenet, but indicate the applications available for these modules.

I introduce the SD module and Micro SD refence HW-SD001 works with any MCU.

Complete Tutorial English:est Module SD / MicroSD via SPI For Arduino & ESP8266


Tutorial completo Español: Pruebas Modulo SPI para SD / Micro SD con Arduino & ESP8266


Step 1: Basic Applications

In basic applications it allows writing and reading files

In more complex applications allows creation of web servers using shield ethernet or ESP8266, tests in next tutorials.

  • SDs use SPI protocol
  • The SD in this case allow FAT 32 and FAT 16 formats (recommended)
  • Open and close files for both reading and writing.


Step 2: Video :Review and Test Module SD / MIcroSD Via SPI for Arduino & ESP8266 ICStation.com

Step 3: ​Characteristics


This module is suitable for any MCU that supports SPI protocol:

  • Voltage: 5v and regulated to 3.3v
  • Allows reading Type 2 Cards (* depends on the code in the MCU at the same time)
  • Slot for MicroSD by pin CS1
  • Slot for SD by pin CS2

Note: Generally the SD modules bring "CS" for the control of a single slot in case it allows 2 SD "CS2" and MicroSD "CS1".

Step 4: Connections / Pinout

Connections / Pinout

I have done an introduction and basic tests of the module HW-SD001 with Arduino Mega R3 and ESP8266 12E NodeMCU.

Step 5: Conclusions and More Test

This module works perfectly on both platforms, in future tutorials we will create more complex and complete applications with ESP8266.
Upcoming module integrations SD and ESP32. The advantages of this module is to have the provision for both "SD and MicroSD" types, we have not performed simultaneous reading tests but we assume that it depends on the mainly code in Arduino IDE and SPI protocol.

Complete Tutorial English:Test Module SD / MicroSD via SPI For Arduino & ESP8266


Tutorial completo Español: Pruebas Modulo SPI para SD / Micro SD con Arduino & ESP8266


More Test:





    • Beauty Tips Contest

      Beauty Tips Contest
    • Fandom Contest

      Fandom Contest
    • Frozen Treats Challenge

      Frozen Treats Challenge