For this article, we will be using the Arduino Uno board. You can use any of the Arduino boards mentioned above but remember to use the correct SPI pins for connection of the microSD card module and Arduino. Arduino UNO Arduino Mega Arduino Nano MOSI 11 51 11 MISO 12 50 12 SCK 13 52 13 CS 10 53 10 The table below shows the default SPI pins for the three Arduino boards. The Uno/ Nano and Mega have different default SPI pins. There are different versions of the Arduino boards including Arduino Uno, Arduino Mega, and Arduino Nano.
HOW TO USE SD ADAPTER FOR MICROSD HOW TO
Now, we will show you how to connect the microSD card module and the Arduino board together. Table showing the pin names and their short descriptions MicroSD card module Interfacing with Arduino MISO This is called the ‘Master in Slave Out.’ It is used as the SPI output from the module.
HOW TO USE SD ADAPTER FOR MICROSD SERIAL
SCK This is called the ‘Serial Clock’ pin which is used in SPI serial clock output. MOSI This is called the ‘Master Out Slave In.’ It is used as the SPI input to the module. CS This is the Chip Select pin for SPI communication. The adapter consists of a 3.3V voltage regulator circuit as well. VCC This pin supplies power to the module.
Pinout of MicroSD card Module Pin Name Description GND This is the ground pin which should be connected with the ground pin of Arduino. But, the one which we will be using in this article is shown below:
There are several different types of microSD card modules easily available in the market. With the help of these modules, we will be able to read and write data to and from SD cards through the SPI communication protocol. But they can handle a maximum of 16GB capacity microSD cards and only 2GB capacity for standard SD cards. Although, they are compatible with almost all SD cards which are commonly used in cell phones. These connectors provide the required hardware and pinout to connect SD cards with microcontrollers such as ESP32, Arduino, ESP8266, Raspberry Pi, etc. The microSD card Modules are designed to communicate with the MicroSD cards.