PCB Manufacture with JLCPCB - danielmcmillan/irrigation-system GitHub Wiki
-
Generate BOM from Eeschema
- Choose any format (only intermediate xml file is used).
- Xml file is written to the project folder.
-
Generate Footprint Position Files from Pcbnew (Fabrication Outputs -> Component Placements)
- Set Output directory to "out".
- Format: CSV, Units: Millimeters, Files: Single file for board.
- *-all-pos.csv file is written to the out folder.
-
Generate gerber files (Fabrication Outputs -> Gerbers)
- Layers: F.Cu, B.Cu, F.Paste, F.SilkS, B.SilkS, F.Mask, B.Mask, Edge.Cuts.
- Check Use Protel filename extensions.
- Check Subtract soldermask from silkscreen.
- More details: https://support.jlcpcb.com/article/149-how-to-generate-gerber-and-drill-files-in-kicad
- _.gbl, _.gbs, _.gbo, _.gm1, _.gtl, _.gto, _.gtp and _.gts files are written to the out folder.
-
Generate drill files.
- Choose Use alternate drill mode as the Oval Holes Drill Mode.
- Drill Origin: Absolute, Drill Units: millimeters, Zeros Format: Decimal format.
- Click both "Generate Drill File" and "Generate Map File".
- _.drl and _.gbr files are written to the out folder.
-
Run script from https://github.com/matthewlai/JLCKicadTools.
- These lines need adding to the "jlc_kicad_tools/cpl_rotations_db.csv" file:
"^Texas_Instruments-TPS54331DR-Level_A",270 "^Texas_HTSOP-8-1EP_3.9x4.9mm_P1.27mm_EP2.95x4.9mm_Mask2.4x3.1mm_ThermalVias",270
- Install:
python3 setup.py install --user
- Run in the KiCad project directory:
jlc-kicad-tools . -o ./out
- __bom_jlc.csv and __cpl_jlc.csv files are written to the out folder.
- These lines need adding to the "jlc_kicad_tools/cpl_rotations_db.csv" file:
-
Archive contents of out folder into a zip file.
-
Order from jlcpcb.
- Upload the zip file when asked for gerber files.
- Upload the *_bom_jlc.csv file when asked for BOM file.
- Upload the *_cpl_jlc.csv file when asked for CPL file (not the all-pos.csv).