w0ts / Optimist SD card

The SD card board

A small board that adds a microSD slot to the M-VAVE FM-1. No soldering on the FM-1: it plugs in between the LCD cable and the main board, and sits in a printed tray right of the battery.

The SD board from above: the microSD slot at the bottom, the connector J3 for the LCD cable at the topThe SD board from below: the connector J2 for the new cable

What it brings to Optimist

What you need

The files

The KiCad board, the schematic and the tray's source are in hardware/.

Order it from JLCPCB

JLCPCB makes the board and solders every part on it.

  1. Open the quote page. On cart.jlcpcb.com/quote, press Add gerber file and pick sd-board-gerbers.zip.JLCPCB's quote page: the Add gerber file button
  2. Check what JLCPCB found. Both sides of the board appear, and the line under them reads Detected 2 layer board of 78.2x25.36mm.JLCPCB after the upload: both sides of the board, and the line Detected 2 layer board of 78.2x25.36mm
  3. Layers: 2. JLCPCB fills it in from the files, and the size too. Leave Base Material at FR-4 and the quantity at 5.JLCPCB's form: Layers 2 selected, Dimensions 25.36 by 78.2
  4. Thickness 1.6 mm, Surface Finish HASL (with lead). JLCPCB now picks OSP by default: change it. Leave the colour and everything else at the defaults.JLCPCB's form: PCB Thickness 1.6mm and Surface Finish HASL (with lead) selected, the rest at the defaults
  5. Switch on PCB Assembly. Then:
    • tick Assemble bottom side too (J2 sits underneath),
    • PCBA Type: Standard (Economic cannot assemble both sides),
    • Assembly Side: Both Sides,
    • leave Edge Rails at Added by JLCPCB.
    JLCPCB then says the board grows to 71.36 x 78.2 mm: Standard assembly needs both sides longer than 70 mm, so it adds edge rails. That is expected: remove the rails when the boards arrive.JLCPCB's PCB Assembly section switched on: both sides ticked, PCBA Type Standard, Assembly Side Both Sides, and the note that the board grows to 71.36 by 78.2 mm with edge rails
  6. Press NEXT and sign in. The steps after this one need a JLCPCB account.JLCPCB's price panel with the NEXT button
  7. Upload the BOM and the CPL. bom.csv as the BOM, cpl.csv as the pick and place file, then Process BOM & CPL.
    Photo to come: JLCPCB's BOM and CPL upload
  8. Check the parts. Every line of the BOM should find its part.
    Photo to come: JLCPCB's parts list, every part found
  9. Check the placement. In the preview, every part sits on its pads, and J2 is on the bottom side.
    Photo to come: JLCPCB's placement preview, bottom side with J2
  10. Save to cart and order. Pay, and JLCPCB makes, assembles and ships the boards.

Print the tray

Print sd-tray.stl. It holds the board right of the battery.

The printed tray with the SD board in it, seen from above The printed tray from its right side, with its rails and posts
Photo to come: the printed tray

Fit it in the FM-1

  1. Open the FM-1. Battery off first.
    Photo to come: the FM-1 opened, the battery unplugged
  2. Cut the card slot. A 15 x 2.5 mm slot in the case's bottom wall, 81.7 mm from the left wall's inside: the microSD card goes in through it.
    Photo to come: the slot cut in the case's bottom wall
  3. Make room for the cable. Cut the plastic under the audio jacks, so the ribbon cable can pass.
    Photo to come: the plastic cut under the audio jacks
  4. Board into the tray, tray into the case. Right of the battery.
    Photo to come: the tray with the board, in place right of the battery
  5. The cables. Unplug the LCD cable from the main board and plug it into J3, gold contacts up. Then the new FFC cable from the main board's J12 into J2, gold contacts down.
    Photo to come: the LCD cable in J3 and the new cable from J12 in J2
  6. Close it, card in. Battery on, close the case, and push the microSD card into its slot.
    Photo to come: the FM-1 closed, the card in its slot

The firmware

In the Builder, turn on SD card mode, build, and install your build. If the screen stays black with the board in, build with LCD_BAUD=1 (the screen at 30 MHz).

Credits

Based on m-card by Julius Vitkauskas (CC0). The board, its files and the tray: hardware/.