KiCAD Beginners Tutorial
KiCAD is a free open source Electronic design software or electronic CAD software.
KiCAD can be used to create schematics, layout design with 3D viewer & it can
also generate Gerber file for fabrication. To download KiCad click here.
also generate Gerber file for fabrication. To download KiCad click here.
Video
You can also watch the video for the tutorial.
Installation
The installation of KiCAD is a direct process. Just follow the simple steps shown in
the software.
the software.
Starting your first project
To create your first project open KiCAD & click File > New > Project
Next, create a new folder & name it as per your project and then open the folder by
double-clicking it
double-clicking it
Next, create a file by entering a name in the File Name section & then click save
Next on the left-hand side under the project folder, double click the file which has
the extension .sch to open your schematic editor
the extension .sch to open your schematic editor
Shortcuts which are helpful in KiCAD
These shortcuts can be used in any of the editors like a schematic or layout design
editor. To use the shortcuts you will need to hover over a component or select a
component.
editor. To use the shortcuts you will need to hover over a component or select a
component.
- W: Wire Selection
- E: Edit Component
- R: Rotate Component or Schematic
- T: Text Box
- Y: To Mirror the component in Y-Axis
- U: Edit Reference Field
- I: To place graphic lines
- P: Place Power Ports
- A: Place Symbol
- S: Schematic & Sheet properties
- F: Edit Footprint Field
- G or M: Grab or Move
- H: Hierarchical Label Properties
- J: Place Junction
- L: Labels
- X: To Mirror the component in Y Axis<
- C: To copy components
- V: To Edit the value of the component
- B: Bus Selection
- Backspace: To delete the nodes & wires
- Delete: To delete the nodes or wires
There are other shortcuts that you can use. To learn more shortcuts, on your KiCAD
click on Help > List Hotkeys.. or Ctrl + F1.
click on Help > List Hotkeys.. or Ctrl + F1.
Starting your first schematic in KiCAD
To start creating the schematic first select all the components you require for your
circuit diagram. To select the components press the key A on your keyboard. After
you press A, a window should pop up where you can select your components
individually.
circuit diagram. To select the components press the key A on your keyboard. After
you press A, a window should pop up where you can select your components
individually.
Once you have selected the components to arrange them in order so that it easy to
understand. To arrange your components you can use the Keys R(rotate),
X & Y (Mirroring), G or M (Move) or C (duplicate) on your keyboard.
understand. To arrange your components you can use the Keys R(rotate),
X & Y (Mirroring), G or M (Move) or C (duplicate) on your keyboard.
Annotating
For annotating all the components click on the Annotate button which will open a
Annotate Schematic window. Now in the window click on the Annotate button
to automatically annotate your components.
Annotate Schematic window. Now in the window click on the Annotate button
to automatically annotate your components.
Now if you see in the circuit diagram U? is replaced with U1
Component Values
1st Method
To assign a value to a component, select a component & press E &
then enter the value in the Field Value section & press OK.
then enter the value in the Field Value section & press OK.
2nd Method
Select the Edit Value Field (which will be something like this for example for
resistor it will be R) of a component & press E and then enter the value in the
Text section & press OK.
resistor it will be R) of a component & press E and then enter the value in the
Text section & press OK.
Generating Netlist
To generate the Netlist click on the Netlist button & click Generate Netlist
and then name your Netlist file (I personally name it with the project name) &
then click save to generate your Netlist.
and then name your Netlist file (I personally name it with the project name) &
then click save to generate your Netlist.
Assigning Footprints
To assign footprints click on Assign PCB Footprints to Schematic Symbols
button. It may take a few seconds for the footprint window to load.
button. It may take a few seconds for the footprint window to load.
Next, select the component for which you want to assign the footprint
Then select the component group which is to the left column
Then carefully select the footprint for your components from the right side
column
After the selection click Apply, Save Schematic & continue and then
Click OK.
Click OK.
Tips
What does capital letters stand for in the footprints
- L: Length
- D: Diameter
- P: Distance between two poles or pins
- W: Width
Regenerating Netlist
Again generate the Netlist by clicking on Netlist button & click Generate
Netlist then click save to regenerate your Netlist.
Netlist then click save to regenerate your Netlist.
Generating Bill of Materials (BOM) in KiCAD
To generate the BOM first we need to install an external plug-in. To install the plug-in
download the files from any one of the Git hub links - Link 1 & Link 2. After
downloading extract the files & move it to any safe location. And then click on
BOM button on the KiCAD.
download the files from any one of the Git hub links - Link 1 & Link 2. After
downloading extract the files & move it to any safe location. And then click on
BOM button on the KiCAD.
Now click on Add Plug-in & select the file with the extension .py (as shown in the
below image) & click open.
below image) & click open.
Now select the plug-in & click on generate to generate your Bill of Materials (BOM)
Now if you go to your project manager window you will find a file with the
extension .CSV. Open that file to see your BOM.
extension .CSV. Open that file to see your BOM.
PCB Layout Design in KiCAD
In this section, let's see how to design the layout
First, click on Run Pcnew to layer circuit board button
Designing the PCB Layout in KiCAD
To design the PCB layout first we need to import the footprints. To import the
footprints click on Netlist button which says Read Netlist
footprints click on Netlist button which says Read Netlist
And then click on the button Read Current Netlist.
Now all of your components should be imported to the Layout Editor. Once the
the component is imported arrange them in a such a way that tracks (white lines)
do not cross each other too many times(one or two crossings is fine)
the component is imported arrange them in a such a way that tracks (white lines)
do not cross each other too many times(one or two crossings is fine)
Re-assigning the Footprints
For some, if you have assigned a footprint wrongly now is the time to change it.
If you see in the previous image the J1 & J2 has the horizontal footprint so I
wanted to change it to vertical. To change it to vertical select the component
& amp; press the key E.
If you see in the previous image the J1 & J2 has the horizontal footprint so I
wanted to change it to vertical. To change it to vertical select the component
& amp; press the key E.
Now select the option Change Footprint which will open a change footprint
window
window
Next, click the search button under the option New Footprint Identifier which is
besides the input option which will take you to the Library Browser window from
where you can select the component you want by double-clicking it.
besides the input option which will take you to the Library Browser window from
where you can select the component you want by double-clicking it.
After selecting the new footprint click on Apply to change your footprints
As you can see the changes has been made
Thanks a lot bro, hope your channel and website will be help full for lots of people suffering with lack of skill...
ReplyDeleteThank you for the useful tutorial. Please note that the official KiCad website is now https://kicad.org
ReplyDeleteThe older domain name listed here and in the video has been taken over by squatters and is serving malicious software. Can you please update your links? Please see https://hackaday.com/2021/10/20/kicad-team-releases-warning-regarding-domain-name/ for more information.
Thank You. I have made the necessary changes.
Delete