Skip to product information
1 of 4

Axiometa

SD Card Adapter

SD Card Adapter

SKU:AX22-0029

58 in stock

This board hosts a push-push microSD socket and routes SPI lines to a 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, or MicroBlocks blocks.

Regular price $3.39
Regular price Sale price $3.39
Sale Sold out
Taxes included. Shipping calculated at checkout.
View full 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 

Technical Resources

SD Card Adapter - (AX22-0029)

PCB FRONT

PCB BACK

🟢 Live 3D Model

🖱️ Click & drag to rotate
#include "SdFat.h" //by Bill Greiman

#define SPI_SCK  13
#define SPI_MISO 12
#define SPI_MOSI 11
#define SPI_CS   14

SPIClass spiSD(HSPI);
SdFat sd;
SdFile file;

void setup() {
  Serial.begin(115200);
  delay(1000);
  
  Serial.println("\n=== SD Card Test ===\n");
  
  // Initialize SPI
  spiSD.begin(SPI_SCK, SPI_MISO, SPI_MOSI, SPI_CS);
  
  // Initialize SD card
  if (!sd.begin(SdSpiConfig(SPI_CS, SHARED_SPI, SD_SCK_MHZ(4), &spiSD))) {
    Serial.println("SD init failed!");
    while(1);
  }
  Serial.println("SD card OK");
  
  // Write test
  Serial.print("Writing to test.txt... ");
  if (file.open("test.txt", O_WRONLY | O_CREAT | O_TRUNC)) {
    file.println("Hello from Axiometa!");
    file.println("SD card is working!");
    file.close();
    Serial.println("Done");
  } else {
    Serial.println("Failed!");
  }
  
  // Read test
  Serial.print("Reading test.txt... ");
  if (file.open("test.txt", O_RDONLY)) {
    Serial.println("\n--- File Contents ---");
    while (file.available()) {
      Serial.write(file.read());
    }
    Serial.println("--- End ---");
    file.close();
  } else {
    Serial.println("Failed!");
  }
  
  Serial.println("\nTest complete!");
}

void loop() {
  // Nothing to do
}