Skip to the content
2 layers30 × 25.2 mmM card, the printed circuit board in 3D

microSD add-on board for the M-VAVE FM-1: no soldering to the device (CC0)

Size
30 × 25.2 mm
Copper layers
2
Thickness
1 mm
Parts
14
Nets
15
Pads
62
Tracks, vias
180, 39
Pours
14
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Nov 2026
Updated
3 Nov 2026

Overview

M card is an open-source printed circuit board by jvitkauskas, from the jvitkauskas/m-card repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 30 × 25.2 mm with 14 parts on 15 nets, routed with 180 tracks and 39 vias.

It is built around the 74LVC1G04Z. Its parts include 8 resistors, 3 connectors, 2 capacitors and 1 IC.

Main components

1

README

README.md

m-card

A small add-on board (30 × 25.2 mm) that gives the M-VAVE FM-1 a microSD card slot. No soldering to the FM-1 is needed. The board sits under the audio jacks and plugs in between the FM-1's LCD and its main board, so the card shares the LCD's SPI bus.

TopBottom
topbottom

Status: untested prototype. The board's fit has been checked with a paper template on a real FM-1, but no board has been made or tested yet. Order a small batch, and expect changes. The card also needs FM-1 firmware that knows about it: that support is being worked on in m-bootloader.

I just want to order a board

Everything you need is already in this repository. You don't have to install KiCad or run anything.

1. Order the PCB

Upload fab/m-card-gerbers.zip to JLCPCB or any other PCB maker that takes Gerbers. The size (30 × 25.2 mm) is read from the files, and the design rules are standard (0.2 mm tracks and spacing, 0.3 mm holes), so the default settings work. A few are worth a look:

SettingChoiceNotes
Layers2
PCB thickness1.0 mm recommended; 1.6 mm is fineThinner leaves more room under the FM-1's cover. Don't pay extra for it.
Surface finishHASL (lead-free or with lead)The cheap default, and the easiest to hand-solder. ENIG has flatter pads, but it's optional and often costs several times more. OSP is fine if you'll solder the boards soon, since it doesn't keep well.
Mark on PCB"Remove mark" if it's freeOtherwise JLC prints its order number somewhere on the board.

2. Buy the parts

All parts are in stock at LCSC. Search for the part numbers below. A few spares of the small resistors and capacitors are handy.

QtyRefsPartLCSC
1J1Hirose DM3CS-SF, hinged microSD socketC202111
1J2XUNPU FPC-05F-10PH20, 10-pin 0.5 mm FPC socket, bottom contactC2856798
1J3XUNPU FPC-0.5AS-10PWBH20, 10-pin 0.5 mm FPC socket, top contactC3446068
1U174LVC1G04 inverter, SOT-23-5 (TI SN74LVC1G04DBVR)C7827
5R2, R3, R4, R7, R847 kΩ, 0805C17713
2R5, R6470 Ω, 0805C17710
1R1220 Ω, 0805C17557
1C110 µF, 0805C15850
1C2100 nF, 0805C49678
110-pin, 0.5 mm pitch FFC cable, about 80 mm, contacts on the same side at both ends ("type A")
Thin double-sided tape

You also need a microSD card.

The FFC cable runs from the FM-1's J12 to the board's J2. The cable type and length are what the first build is planned with: please report back if they don't work.

3. Solder it

Print docs/assembly.pdf. It shows every part's position and value at 5:1, which way round the parts go, and a good order to solder them in.

  • Every part is hand-solderable with a fine-tip iron. The 0805 and SOT-23-5 parts use extra-long pads.
  • The two FPC sockets (J2, J3) are the fiddly part, at 0.5 mm pitch. Use plenty of flux, tack one tab, drag-solder the row, and wick off any bridges.
  • Before you install it: check with a multimeter that 3.3 V (J2 line 7) is not shorted to GND (line 1), and that each J2 line beeps through to the same J3 line.

4. Install it

docs/template-1to1.pdf is a 1:1 paper template. Print it at 100 % ("actual size"), check its 50 mm scale bars with a ruler, cut out the board outline, and lay it in the FM-1 to see where the board goes.

  1. Open the FM-1 and disconnect the battery.
  2. Unplug the LCD's cable from J12 on the FM-1's main board, and plug it into the board's J3 (contacts up).
  3. Connect the FM-1's J12 to the board's J2 with the short FFC cable (contacts down at J2).
  4. Tape the board down under the audio jacks, with J3 right below the gap between the two jacks.

The silkscreen next to each socket repeats which way the cable's contacts face, and marks the cable's line 1.

Having JLC assemble it instead

fab/bom.csv and fab/cpl.csv are the parts list and placement file in JLC's format. Before you pay, check every part's rotation in JLC's placement preview: their library sometimes disagrees with KiCad's. J1, J2 and J3 are "extended" parts at JLC, which adds a small fee per part type.

How it works

The FM-1's LCD is driven over SPI through the 10-pin connector J12. The board passes all ten lines straight from J2 to J3, and the card taps four of them:

J12 lineSignalOn the card side
2MISO (shared with the LCD's D/C)→ 220 Ω → card DO (DAT0), 47k pull-up
3LCD chip select→ 74LVC1G04 inverter → card CS: the card is selected whenever the LCD isn't. 47k pull-down keeps the card deselected during reset.
4CLK→ 470 Ω → card CLK
5MOSI→ 470 Ω → card DI (CMD), 47k pull-up
73.3 V→ card power, 10 µF + 100 nF
1, 10GND

DAT1 and DAT2 have 47k pull-ups. The series resistors limit the current if the MCU and the card ever drive a line at the same time, and they set a ceiling on the SPI clock. Firmware should start the card slowly and raise the clock only once reads come back with good checksums.

Changing the design

The board is generated from Python, so there are no hand-drawn parts. You need KiCad 9 (its pcbnew Python module and kicad-cli). Routing uses Freerouting 1.9.

sh
python3 make_board.py place       # parts, nets, outline -> m-card.kicad_pcb and m-card.dsn
xvfb-run -a java -jar freerouting.jar -de m-card.dsn -do m-card.ses -mp 100   # autoroute
python3 make_board.py finish      # import the routes, add ground stitching vias and pours
python3 make_board.py fab         # design-rule check, then fab/: Gerber zip, bom.csv, cpl.csv
python3 make_board.py render      # docs/render-*.png (fetches KiCad's 3D models into 3d/)
python3 make_assembly.py          # docs/assembly.pdf
python3 make_template.py          # docs/template-1to1.pdf

Positions in make_board.py are in millimetres on the FM-1 board's back side: across from its left edge, and up from its bottom edge.

The connector footprints (J1, J2, J3) are generated in make_board.py from the makers' datasheet land patterns. The resistors, capacitors and U1 use KiCad's standard footprints.

Licence

Everything here (the scripts, the board, the generated files) is dedicated to the public domain under CC0 1.0.

KiCad's standard footprints are CC-BY-SA 4.0 with an exception that leaves designs using them free to be licensed any way. The 3D models that render downloads are KiCad's too, under the same terms. They're only used for the pictures and aren't part of this repository.

Parts

14
QtyValueFootprintReferences
547kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3, R4, R7, R8
2470Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
1220Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
174LVC1G04Package_TO_SOT_SMD:SOT-23-5_HandSolderingU1
1FPC 10P 0.5 bottom contactm-card:FPC_10P_0.5_XUNPU_FPC-05F-10PH20J2
1FPC 10P 0.5 top contactm-card:FPC_10P_0.5_XUNPU_FPC-0.5AS-10PWBH20J3
1microSD hinged (Hirose DM3CS-SF)m-card:microSD_Hirose_DM3CS-SF_hingedJ1

Similar boards

  • 4 layers66.3 × 40.2 mmCm4 drone, the printed circuit board in 3D

    Cm4 drone

    dridri/bcflight

    Raspberry Pi based drone flight controller and remote control

    56 parts175GPL-3.0
  • 4 layers83.1 × 92.5 mmTildagon base, the printed circuit board in 3D

    Tildagon base

    emfcamp/badge-2024-hardware

    183 parts40
  • 2 layers101.6 × 137.4 mmOpenxcvr, the printed circuit board in 3D

    Openxcvr

    dawsonjon/OpenXcvr

    Cost Effective HF transceiver based on max1000 FPGA module

    155 parts38MIT
  • 2 layers97 × 79.5 mmMBRadioDual2, the printed circuit board in 3D

    MBRadioDual2

    LadyRoninEngineer/Si473x

    Data Supporting development of Si473x series radios

    104 parts35Unlicense
  • 4 layers88.9 × 20.3 mmGW4194-SOJ DC, the printed circuit board in 3D

    GW4194-SOJ DC

    garrettsworkshop/RAMSIMM-30

    4 MB and 16 MB 30-pin DRAM SIMMs

    21 parts34
  • 2 layers25.4 × 78.2 mmSd board, the printed circuit board in 3D

    Sd board

    w0ts/optimist

    Optimist: an open, modular firmware platform for the M-VAVE FM-1 (from SLOOP / Felucca)

    28 parts32GPL-3.0
  • 4 layers30 × 53.5 mmSpeak to Me, the printed circuit board in 3D

    Speak to Me

    wntrblm/Speak_to_Me

    A beautiful stereo headphone amplifier and a delightfully lo-fi speaker

    54 parts20
  • 4 layers178 × 99 mmFreeDSP OCTAVIA, the printed circuit board in 3D

    FreeDSP OCTAVIA

    freeDSP/freeDSP-OCTAVIA

    8ch Output ADAU1452/1466 DSP Board with Analog/COAX/OPT/USB/Raspberry-Pi Input

    529 parts19CC-BY-SA-4.0

Questions

How big is the M card PCB?

It measures 30 × 25.2 mm and has 2 copper layers, 1 mm thick.

What parts does the M card use?

14 parts, built around the 74LVC1G04Z. 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 M card KiCad files?

From the jvitkauskas/m-card repository on GitHub, at the commit this page was made from: the board is m-card.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the M card design in my own project?

Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).