Manufacturing & Assembly Guide
Everything needed to manufacture and assemble the Brainfuino Rev 1.1 board is pre-packaged in the repository under brainfuino-PCB/Rev 1.1 - KiCad/jlcpcb/production_files/.
Production Files
The production directory contains three key files tailored for JLCPCB SMT assembly:
| File | Purpose |
|---|---|
GERBER-BrainFuino.zip |
Complete 2-layer Gerber and drill archive (copper, solder mask, silkscreen, edge cuts, NPTH/PTH). |
BOM-BrainFuino.csv |
Bill of Materials specifying designators, footprints, and matching LCSC part numbers. |
CPL-BrainFuino.csv |
Component Placement List (Centroid / Pick-and-Place data: X, Y coordinates, rotation, and layer). |
Ordering via JLCPCB SMT Service
- Go to JLCPCB and click Order Now.
- Upload
GERBER-BrainFuino.zip. - Select standard PCB options:
- Layers: 2
- Dimensions: Detected automatically (~68.6 mm × 53.4 mm Arduino Uno footprint)
- PCB Color: Green, Blue, Black, or Purple (your preference!)
- Surface Finish: HASL (with lead) or LeadFree HASL / ENIG
- Under SMT Assembly, toggle Enable:
- Assembly Side: Top Side
- Quantity: Select desired assembled boards
- Proceed to the SMT file upload step:
- Upload
BOM-BrainFuino.csvas the BOM file. - Upload
CPL-BrainFuino.csvas the CPL / Placement file. - Review component placement and confirm any part substitutions if an LCSC part is out of stock.
- Finalize order!
Post-Assembly Bring-up Checklist
Once your manufactured boards arrive:
-
Visual Inspection:
- Inspect solder joints on the fine-pitch QFP-100 packages (IC1 MachXO2 and IC4 STM32) and TSOP-32 memory chips for any solder bridges or misalignments.
-
Power Rail Test:
- Without programming anything yet, plug in a USB-C cable and verify the voltages with a multimeter:
- 5.0V on the VBUS side of Schottky diode
D1/D2. - 3.3V on the output pin of regulator
IC6(SPX3819).
- 5.0V on the VBUS side of Schottky diode
- Without programming anything yet, plug in a USB-C cable and verify the voltages with a multimeter:
-
Flash STM32 Coprocessor:
- Connect an ST-Link programmer to the 4-pin STM32 SWD header:
- Pins:
SWDIO,SWCLK,GND,3.3V
- Pins:
- Flash the binary:
companion-STM32-firmware/Debug/BrainfuinoMCU.hex.
- Connect an ST-Link programmer to the 4-pin STM32 SWD header:
-
Program FPGA Bitstream:
- Connect a programmer to the 6-pin JTAG header:
- Pins:
TCK,TMS,TDI,TDO,GND,3.3V
- Pins:
- Write
brainfuino_v1.1.jed(orbrainfuino_v1.0.jedfor Rev 1.0) into the MachXO2 internal flash. Both bitstreams are available inbrainfuck_uP-FPGA-softprocessor/bitstreams/.
- Connect a programmer to the 6-pin JTAG header:
-
Serial Test:
- Unplug the programmers, reconnect via USB-C, and verify that the virtual COM port opens and responds in the Web Serial Terminal (or any serial terminal of your choice)!