Skip to the content
PCBKitNew board
2 layers32 × 25.5 mmHackxpansion, the printed circuit board in 3D

A custom SD card module with three buttons for music storage and controls, using Xpanse API for hardware/module integration.

Size
32 × 25.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
18
Pads
53
Tracks, vias
103, 14
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
24 Aug 2026
Updated
11 Oct 2026

Overview

Hackxpansion is an open-source printed circuit board by arghya-v, from the arghya-v/hackxpansion-controller repository on GitHub. It is a 2-layer board of 32 × 25.5 mm with 12 parts on 18 nets, routed with 103 tracks and 14 vias.

Its parts include 5 resistors, 3 switches and 2 connectors.

README

README.md

hackxpansion module 1: SD Card Reader and Volume Control

Crates: pkg:cargo/SD_card_driver@0.1.1

A custom SD card module with three buttons for music storage and controls, using Xpanse API for hardware/module integration.

Images

final view

3d model

pcb

Firmware

The firmware is responsible for communicating with the hardware.

The SD card is connected through SPI.

The current hardware mapping uses:

GPIOFunction
GPIO2SPI SCK
GPIO3SPI MISO
GPIO4SPI MOSI
GPIO5Button A
GPIO6Button B
GPIO7Button X
GPIO9SD card CS

See the Xpanse API docs


SD Card Filesystem

Its purpose is to abstract away the lower-level SD card communication so the application can work with files rather than dealing directly with SPI commands.

The filesystem layer provides functionality for:

  • Opening the SD card
  • Opening the first volume
  • Opening the root directory
  • Reading files
  • Writing files
  • Listing files in the root directory
  • Closing directories and volumes

This is what the stack looks like:

text
SD Card
   │
   ▼
  SPI
   │
   ▼
Xpanse SpiBusHandle
   │
   ▼
embedded-sdmmc
   │
   ▼
Filesystem
   │
   ▼
Application

This means the application itself does not need to know how the SD card communicates over SPI.


This was all possible thanks to Hackspansion: A hackclub YSWS

Parts

12
QtyValueFootprintReferences
310kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3, R4, R5
3SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2, SW3
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
130kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1Micro_SD_Card_Det1lcsc_footprints:C381082_TF-SMD_XKTF-015-NJ2
1MountingHole_2.2mm_M2MountingHole:MountingHole_2.2mm_M2mount
1~Hackxpansion:Male_ModuleJ1

The 11 most common of 12 parts.

Questions

How big is the Hackxpansion PCB?

It measures 32 × 25.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hackxpansion use?

12 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Hackxpansion KiCad files?

From the arghya-v/hackxpansion-controller repository on GitHub, at the commit this page was made from: the board is kicad files/hackxpansion.kicad_pcb and its schematic kicad files/hackxpansion.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hackxpansion design in my own project?

Its repository states no licence, so its author keeps all rights: ask arghya-v before reusing the design.

Similar boards

  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0
  • 2 layers42.7 × 56.5 mmTle6240 driver, the printed circuit board in 3D

    Tle6240 driver

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 2 layers49 × 25 mm5v boost regulator, the printed circuit board in 3D

    5v boost regulator

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    12 parts915
  • 2 layers28.3 × 10.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    12 parts716GPL-3.0
  • 2 layers25.4 × 70.4 mmTpmsniffer, the printed circuit board in 3D

    Tpmsniffer

    stacksmashing/pico-tpmsniffer

    A simple, very experimental TPM sniffer for LPC bus

    12 parts696