Difference between revisions of "KiCad"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 5: | Line 5: | ||
== Custom BOM Python Script (KiCad 6) == | == Custom BOM Python Script (KiCad 6) == | ||
− | * | + | == Goal === |
+ | |||
+ | * Create a BOM that requires minimal manual editing to use on MediaWiki webpage | ||
* Script adds Datasheet path to Description | * Script adds Datasheet path to Description | ||
* Creates .csv file in the folder where the schematic is located | * Creates .csv file in the folder where the schematic is located | ||
+ | |||
+ | === Source Code === | ||
+ | |||
* [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/LandBoardsBOM.py LandBoardsBOM.py] - our BOM script that runs from "Generate Bill of Materials..." in KiCad Schematic Editor | * [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/LandBoardsBOM.py LandBoardsBOM.py] - our BOM script that runs from "Generate Bill of Materials..." in KiCad Schematic Editor | ||
** Based on com_csv_grouped_by_value.py that comes in KiCad 6 | ** Based on com_csv_grouped_by_value.py that comes in KiCad 6 | ||
Line 13: | Line 18: | ||
*** [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/kicad_netlist_reader.py kicad_netlist_reader.py] | *** [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/kicad_netlist_reader.py kicad_netlist_reader.py] | ||
*** [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/kicad_utils.py kicad_utils.py] | *** [https://github.com/land-boards/lb-boards/blob/master/KiCAD/pyScripts/kicad_utils.py kicad_utils.py] | ||
− | * Put into folder in KiCad projects pyScripts folder | + | * Put the 3 scripts into folder in KiCad projects pyScripts folder |
+ | |||
+ | === Running === | ||
[[file:KiCad_BOM_Icon.PNG]] | [[file:KiCad_BOM_Icon.PNG]] | ||
Line 20: | Line 27: | ||
[[file:KiCad_BOM_Select.PNG]] | [[file:KiCad_BOM_Select.PNG]] | ||
+ | |||
+ | === Post-Processing === | ||
* Edit in spreadsheet program | * Edit in spreadsheet program |
Revision as of 19:40, 24 May 2022
Contents
Notes on Running KiCad
Some misc. stuff
Custom BOM Python Script (KiCad 6)
Goal =
- Create a BOM that requires minimal manual editing to use on MediaWiki webpage
- Script adds Datasheet path to Description
- Creates .csv file in the folder where the schematic is located
Source Code
- LandBoardsBOM.py - our BOM script that runs from "Generate Bill of Materials..." in KiCad Schematic Editor
- Based on com_csv_grouped_by_value.py that comes in KiCad 6
- Also requires files from the KiCad installation
- Put the 3 scripts into folder in KiCad projects pyScripts folder
Running
- Add link to script in KiCad
Post-Processing
- Edit in spreadsheet program
- Use pyCSVtoMWTable to create MediaWiki format output
Panelizing
SPICE Simulation
Create Footprints Using FreeCAD
"Standard" Footprints
1/8 W resistor footprint
- Part on PCB
- KiCad v6 footprint
Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal
1/4 W resistor footprint
- Part on PCB
- KiCad v6 footprint
Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal
Cap, 0.2" pitch
- Part on PCB
- KiCad v6 footprint
Capacitor_THT:C_Rect_L7.0mm_W3.5mm_P5.00mm
- KiCad v5 footprint
Capacitors_ThroughHole:C_Rect_L7_W3.5_P5