Skip to product information
1 of 3

Axiometa

SD Card Adapter

SD Card Adapter

SKU:AX22-0029

Regular price $3.39
Regular price Sale price $3.39
Sale Sold out
Taxes included. Shipping calculated at checkout.

This board hosts a push-push microSD socket and routes all six SPI lines to convienient board headers. A built-in card-detect switch lets your firmware know when media is inserted (active-low). Hook up just four MCU pins and you’re logging seconds later with standard Arduino SD, MicroPython uos/sdcard, or MicroBlocks blocks.

View full details
  • Technical Details

    - 22 mm × 22 mm square
    - 4× ⌀2.7 mm Mounting Holes
    - Push-push microSD socket (microSDHC/XC, up to 64 GB tested)
    - Card-detect switch → dedicated active-low GPIO line
    - 3.3 V rail only — no on-board level shifters (logic must be 3.3 V)
    - Arduino IDE Compatible
    - MicroPython Compatible
    - MicroBlocks Compatible

    Material Datasheet 
  • Pinout

  • Interface

  • Top

  • Bottom

Arduino Example Code

example.ino
#include "FS.h"
#include "SD.h"
#include "SPI.h"

#define REASSIGN_PINS
int sck = 13;
int miso = 12;
int mosi = 11;
int cs = 15;

void listDir(fs::FS &fs, const char *dirname) {
  File root = fs.open(dirname);
  if (!root || !root.isDirectory()) return;
  File file = root.openNextFile();
  while (file) {
    Serial.print(file.isDirectory() ? "DIR : " : "FILE: ");
    Serial.println(file.name());
    file = root.openNextFile();
  }
}

void writeFile(fs::FS &fs, const char *path, const char *msg) {
  File file = fs.open(path, FILE_WRITE);
  if (file) {
    file.print(msg);
    file.close();
  }
}

void readFile(fs::FS &fs, const char *path) {
  File file = fs.open(path);
  if (!file) return;
  while (file.available()) Serial.write(file.read());
  file.close();
}

void setup() {
  Serial.begin(115200);
  while (!Serial) delay(10);

#ifdef REASSIGN_PINS
  SPI.begin(sck, miso, mosi, cs);
  if (!SD.begin(cs)) {
#else
  if (!SD.begin()) {
#endif
    Serial.println("Card Mount Failed");
    return;
  }

  Serial.printf("SD Size: %lluMB\n", SD.cardSize() / (1024 * 1024));
  listDir(SD, "/");

  writeFile(SD, "/hello.txt", "Hello SD!\n");
  readFile(SD, "/hello.txt");

  Serial.printf("Used: %lluMB of %lluMB\n",
                SD.usedBytes() / (1024 * 1024),
                SD.totalBytes() / (1024 * 1024));
}

void loop() {}

        
  • First time setup

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • Automatic Street Lights

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • How Does an LDR work ?

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.