# microSD Adapter

**Type:** Product page · **SKU:** CE09444 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/microsd-adapter.html ([markdown](https://core-electronics.com.au/microsd-adapter.html.md))

If you need to load or store large amounts of data, look no further than this 3.3V SPI microSD card module.

## Pricing

- **Price:** $1.15 (inc GST) — $1.05 AUD, exc GST
- **Quantity discounts:** 25+ $0.99 (exc GST) · 50+ $0.95 (exc GST) · 100+ $0.89 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 18 and Aug 24.

## Description

If you need to load or store large amounts of data, look no further than this 3.3V SPI microSD card module.

The module breaks out each onboard connection to convenient 0.1" headers, add a microSD card, and some jumper wires to connect everything, and get logging!

Perfect for the [Raspberry Pi Pico](https://core-electronics.com.au/raspberry-pi/pico.html) and [ESP32](https://core-electronics.com.au/development-boards.html#category_2184) development boards.

### Specifications

- Operating Voltage (Power and logic): 3.3V (Depends on your microSD card)
- Uses SPI interface
 
### Pinout

From top to bottom, with the arrow on the silkscreen facing upwards:

1. VCC, 3v3
2. CS
3. MOSI
4. CLK
5. MISO
6. GND
 
### Dimensions

20.8 L x 17.8 W x11.2 H (mm) and without headers 3.7mm Height

### Examples

#### Raspberry Pi Pico - Micropython

Library: [sdcard](https://github.com/CoreElectronics/CE-Makerverse-R2R-DAC-MicroPython-Module/blob/736662d4d0bb810c54242e37fda01cbb2b895bb7/sdcard.py)

 ```
from machine import SPI, Pin
import sdcard, uos

spi = SPI(1,sck=Pin(14), mosi=Pin(15), miso=Pin(12))
cs = Pin(13)
sd = sdcard.SDCard(spi, cs)

uos.mount(sd, '/sd')
print(uos.listdir('/sd'))

# Setup sensors here
adc = ADC(0)
with open('/sd/adcData.txt', "w") as f:
    while True:
        x = adc.read_u16() # Replace this line with a sensor reading of your choosing
        t = time.ticks_ms()/1000
        f.write(str(t)) # Write time sample was taken in seconds
        f.write(' ') # A space
        f.write(str(x)) # Write sample data
        f.write('\n') # A new line
        f.flush() # Force writing of buffered data to the SD card
        print(t, x)
        time.sleep_ms(500)
```

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/s/c/sc-card.jpg)
