This is rev7 of the Flatbox. In this version a Seeed Studio XIAO nRF52840 board is soldered onto the main PCB.
To make one you will need:
- 3D printed case parts - top and bottom
- the Flatbox PCB
- Seeed Studio XIAO nRF52840
- MCP23017-E/SP I2C I/O expander
- lipo battery - I used this 1200mAh one from Pimoroni
- 12x Kailh low profile (choc v1) switches of your choice
- (optionally) 12x Kailh low profile hotswap sockets
- 3D printed buttoncaps
- 6x 6x6x5mm tact switches
- 7x M3x6 flat head (countersunk) screws
- (optionally) 5x M2x4 screws to secure the PCB to the case
- some kind of rubber feet or non-slip padding for the bottom
- a soldering iron
I think this lipo battery from Adafruit is the same thing as the Pimoroni one, though I'm not sure about the cable length.
Make sure you get the MCP23017 expander in DIP package. Observe pin 1 orientation when soldering.
I printed the case at 0.20mm layer height. The top part should be printed upside-down, the bottom part should be printed as-is. They don't require supports.
The PCB can be ordered from a number of online services using the included Gerber files, I used JLCPCB (leave all the settings at default, you can choose the PCB color). PCB thickness should be 1.6mm.
The switches can be soldered in directly to the PCB or you can use hotswap sockets.
You will need to cut off the plug on the battery and solder the wires directly to pads on the bottom of the Xiao board.
To flash the firmware, download the flatbox-rev7.uf2 file from the slimbox-bt repository. Then connect the board to your computer using a USB cable and press the RESET button on the Xiao board twice quickly (the RESET button is really small, next to the USB port). A USB drive should appear on your computer. Copy the flatbox-rev7.uf2
file to that drive.
See the slimbox-bt repository for general usage instructions.
PCB design licensed under CC BY-SA 4.0.
PCB/case design uses the following:
- keyswitches.pretty by daprice (CC BY-SA 4.0)
- Xiao STEP file downloaded from GrabCAD