Difference between revisions of "Kicad Templates"

From media_wiki
Jump to: navigation, search
Line 28: Line 28:
 
   Enter project name: '''50mmX50mm-Template'''
 
   Enter project name: '''50mmX50mm-Template'''
 
   Click on: '''Save'''
 
   Click on: '''Save'''
Start editing in the schematic
+
'''Start editing in the schematic'''
Select: Schematic Layout Editor
+
  Select: '''Schematic Layout Editor'''
New users note:
+
  ''New users note:
Configure Global Symbol Library Table will appear.
+
  Configure Global Symbol Library Table will appear''.
Select: Copy default global symbol library table (recommended) Click: OK
+
  ''Select: Copy default global symbol library table (recommended) Click: OK'' <br>
Select : Place Symbol Icon on right side tool bar. Click in schematic work sheet area.
+
 
A window called Choose Symbol will open.
+
  Select : '''Place Symbol''' Icon on right side tool bar. Click in schematic work sheet area.
In search filter enter mount.
+
  A window called '''Choose Symbol''' will open.
Select: MountingHole_Pad  Mounting Hole with connection.
+
  In search filter enter '''mount'''.
Place on schematic work sheet area.
+
  Select: '''MountingHole_Pad''' Mounting Hole with connection.
Click on Select item icon on right side tool bar. (Looks like mouse cursor)
+
  Place Mounting Hole on schematic work sheet area.
Hover over mounting hole pad and hit the “C” to Copy. Note: ver6.0 use: “Control C”
+
  Click on '''Select item''' icon on right side tool bar. (Looks like mouse cursor)
Repeat two more times. You should now have 4 Mounting Holes.
+
  Hover over mounting hole pad and hit the “'''C'''” to Copy. Note: ver6.0 use: “'''Control C'''”
Select: Place graphic lines or polygons icon on right side tool bar.
+
  Repeat two more times. You should now have 4 Mounting Holes.
Draw square around the 4 mounting holes.
+
  Select: '''Place graphic lines or polygons''' icon on right side tool bar.
Select: Annotate schematic symbol Icon on top tool bar.
+
  Draw '''square''' around the 4 mounting holes.
Click: on Annotate tab then close
+
  Select: Annotate schematic symbol Icon on top tool bar.
Click: Save Icon on top tool bar to save drawing.
+
  Click: on '''Annotate''' tab then close
 +
  Click: '''Save''' Icon on top tool bar to save drawing.
 
(Place picture here)
 
(Place picture here)
Select: Assign footprint to schematic symbols icon on top tool bar.
+
  Select: '''Assign footprint to schematic symbols''' icon on top tool bar.<BR>
New users note:
+
  ''New users note:''
Configure Global Footprint Library Table
+
  ''Configure Global Footprint Library Table''
Select: Copy default global footprint library table (recommended)
+
  ''Select: Copy default global footprint library table (recommended)''<br>
Select  MountingHole
+
  Select  '''MountingHole'''
Select in drop down menu: MountingHole_3.2mm_M3_Pad_Via
+
  Select in drop down menu: '''MountingHole_3.2mm_M3_Pad_Via'''
Click:  Apply, Save Schematic & Continue. Click: OK
+
  Click:  '''Apply, Save Schematic & Continue.''' Click: '''OK'''
Select: Generate netlist icon on top tool bar.
+
  Select: '''Generate netlist''' icon on top tool bar.
Select: Generate netlist in Netlist window.
+
  Select: '''Generate netlist''' in Netlist window.
Click Save in file window.
+
  Click '''Save''' in file window.
  
 
----
 
----

Revision as of 00:04, 14 January 2022

This wiki document is an example of how to create Kicad Templates. 
You don’t need to follow the files system structure I used in this this example.
I have selected this file system method for personal ease of use on my Raspberry Pi 4
This document was written to support Kicad 5.X but can be used with Kicad 6.X
The same process works for other linux and Windows versions.

Change the Path for User Templates in Kicad

 Open Kicad
 Select: Preferences Tab 
 Select Configure Paths
       : |       Name                 |	             Path       |
 Select: | KICAD_USER_TEMPLATE_DIR    |	/home/pi/kicad/template |
 Under Path column change to: /home/pi/Kicad-projects/Kicad-templates

Set up your computer file structure.

In your home directory create a directory named Kicad-projects.
mkdir /home/pi/Kicad-projects
Then CD to your new directory.
cd Kicad-projects
In the Kicad-projects directory make another directory named kicad-templates.
mkdir kicad-templates 
 or
mkdir /home/pi/Kicad-projects/kicad-templates

Start Project

 Open: KiCad
 Select: File,  Click on: New, Click on: Project
 Select: Kicad-Projects folder
 Select: Kicad-templates folder
 Enter project name: 50mmX50mm-Template
 Click on: Save

Start editing in the schematic

 Select: Schematic Layout Editor
 New users note:
 Configure Global Symbol Library Table will appear.
 Select: Copy default global symbol library table (recommended) Click: OK 
 Select : Place Symbol Icon on right side tool bar. Click in schematic work sheet area.
 A window called Choose Symbol will open.
 In search filter enter mount.
 Select: MountingHole_Pad  Mounting Hole with connection.
 Place Mounting Hole on schematic work sheet area.
 Click on Select item icon on right side tool bar. (Looks like mouse cursor)
 Hover over mounting hole pad and hit the “C” to Copy. Note: ver6.0 use: “Control C”
 Repeat two more times. You should now have 4 Mounting Holes.
 Select: Place graphic lines or polygons icon on right side tool bar.
 Draw square around the 4 mounting holes.
 Select: Annotate schematic symbol Icon on top tool bar.
 Click: on Annotate tab then close
 Click: Save Icon on top tool bar to save drawing.

(Place picture here)

 Select: Assign footprint to schematic symbols icon on top tool bar.
New users note: Configure Global Footprint Library Table Select: Copy default global footprint library table (recommended)
Select MountingHole Select in drop down menu: MountingHole_3.2mm_M3_Pad_Via Click: Apply, Save Schematic & Continue. Click: OK Select: Generate netlist icon on top tool bar. Select: Generate netlist in Netlist window. Click Save in file window.

Set Up Procedures KiCad 5.0

KiCad 5.0