Difference between revisions of "KiCad"

From Land Boards Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
== Custom BOM Python Script (KiCad 6) ==
 
== Custom BOM Python Script (KiCad 6) ==
  
== Goal ===
+
=== Goal ===
  
 
* Create a BOM that requires minimal manual editing to use on MediaWiki webpage
 
* Create a BOM that requires minimal manual editing to use on MediaWiki webpage

Revision as of 19:40, 24 May 2022

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
  • Put the 3 scripts into folder in KiCad projects pyScripts folder

Running

KiCad BOM Icon.PNG

  • Add link to script in KiCad

KiCad BOM Select.PNG

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

Resistor EighthWatt Footprint.PNG

  • KiCad v6 footprint
Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal

1/4 W resistor footprint

  • Part on PCB

Resistor QuarterWatt CCA.PNG

  • KiCad v6 footprint
Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal

Cap, 0.2" pitch

  • Part on PCB

Cap 200millPitch.PNG

  • KiCad v6 footprint
Capacitor_THT:C_Rect_L7.0mm_W3.5mm_P5.00mm
  • KiCad v5 footprint
Capacitors_ThroughHole:C_Rect_L7_W3.5_P5