wiki:KiCAD Notes

Tutorials

Bill of Materials (KiCAD 4)

Be sure you have xsltproc installed.

On the schematic, set the properties on each symbol as follows:

Field Name Use Example
Reference Part Reference R1, R2
Value Passive Value 0.1uF, 10k
Other type part number DMN2004DMK, 74LS04
Footprint Don't use
Datasheet Don't use
Field1 Catalog Number DMN2004DMKDICT-ND
Field2 Supplier Name Digi-Key

Note that you will have to add and rename Field1 and Field2 for each symbol by hand.

You will now need to download the following 2 plugins to generate the BOM csv files:

For a single entry BOM:http://ohm.bu.edu/~silvizha/bom2csv.xsl

For a BOM with instances of the same part grouped:http://ohm.bu.edu/~silvizha/bom2grouped_csv.xsl

After downloading these, click on the circled button on the board schematic sheet:

You will see this window pop up:

You will now need to load the plug ins into KiCAD. Click on "Add Plugins":

Navigate to where you downloaded the previous plug ins. After selecting both, the window should look like this:

Now click "Generate":

If you have followed all these steps, you will see "Success" at the bottom of the Plugin Info section. A file with the same name as your KiCAD project will now be in your KiCAD project directory, without a file extension.

Rename the file so that its file extension is ".csv", then open it with Libre Office. When Libre Office opens, it will prompt you for settings. Copy the following:

Bill of Materials (KiCAD 3)

To make KiCAD generate a nice bill of materials, follow these steps:

On the schematic, set the properties on each symbol as follows:

Field Name Use Example
Reference Part Reference R1, R2
Value Passive Value 0.1uF, 10k
Other type part number DMN2004DMK, 74LS04
Footprint Don't use
Datasheet Don't use
Field1 Catalog Number DMN2004DMKDICT-ND
Field2 Supplier Name Digi-Key

Note that you will have to add Field1 and Field2 for each part by hand.

When you want to generate the list, us the menu Tools->Generate Bill of Materials.

  • Select "List for spreadsheet import (by grouped ref)
  • Check Field 1 and Field 2 in Users Fields
  • Un-check Datasheet and Footprint

This should make a csv file you can open in LibreOffice? or other spreadsheet.

Solder mask pull-back

To adjust the pullback of the solder-mask, open pcbnew and go to "Dimensions" pull-down and select "Pads Mask Clearance". Then you can change the pullback around pads for when the gerbers are generated. (Helpful hint: Cirexx likes 40 mils (0.004"))

Last modified 18 months ago Last modified on Jul 7, 2017, 8:08:03 AM

Attachments (7)

Download all attachments as: .zip