Transtronics, Inc.

Boolean: Case

Kicad Notes and how-tos



The parts of Kicad


kicad navigator

This is the top of the kicad system and lets you create and name projects and start the major components of kicad:


Common Key Strokes Worth Memorizing (eeschema)
mouse wheelzooms (needs to be a bit finer (2006-08-28))
F1Zoom in
F2Zoom out
F3 Re-paint
Mouse-wheel click or F4Center drawing at cursor
MMove
RRotates
XMirrors over X axis
YMirrors over Y axis
NRemoves any mirror
SpaceZeros relative coordinates at cursor
Left-clickget object info - displays in bottom bar
Left-double-clickEdit part
left-click-dragBlock Select - and move - left click drops
Shift+Left-click-dragBlock copy - and move - left click drops
CNT+Shift+Left-click-dragBlock delete
Right-Click Context menu (repeat cancels menu)
DelDeletes
InsertDuplicates last element (works with lines not parts as of 2006-08-28)
A few more key strokes for NEWPCB
+
-
pg-up
pg-down
V
S
M
G



eeschema

eeschema is the schematic layout program for kicad. How-to:

- hold down Ctrl
- press and hold down the left mouse button to begin selecting
- you can release Ctrl any time from now
- move to the opposite corner of the selection box and release the left mouse button
- move the items to the desired place and left-click to put them there
**If anything goes wrong, right-click and select "Cancel block".

ERC

Electrical Rule Check helps check your schematic for errors.

libedit

Schematic Parts creation

libbrowse

Associate schematic decal pins with footprint pins?  

cvpcb

Assign footprints to parts Creates .cmp and .stf files.  My tests with version '2006-08-28' show that if you fill in the footprint field for the schematic parts you don't have run cvpcb

pcbnew

PCB layout

Alternate Via Drill mentioned in the Tracks and Vias Sizes dialog box works as described:

DRC

Design Rule Checks

Module editor

pcbnew  contains the module (foot-print decal) editor where you can change and create modules.

Module Properties

Module fields


Auto router


MUCS-PCB Autorouter


This is not actually part of kicad - but has been recommended as a better auto router than the one that comes with kicad.

Steps to use:

    * http://www.cs.manchester.ac.uk/apt/projects/tools/mucs-pcb/ MUCS-PCB autorouter

gerbview

Gerber viewer
Gerber 274-X format, ".pho" files be changed to any extension, as long as you don't change the contents. Some CADs use .TXT as default extension, some other .GBR, etc...


Terms used by kicad   

The 'value' field in eeschema should really be the Part name - might be a translation error? (2006-08-28)


Procedures

Placing multiple components of the same type

Select the component and from the pop-up menu, "copy-component". If you need more components at a time, put them all together and then "copy-block".

Making foot-prints 

Foot-prints are made in pcbnew - select the module editor, then select the working library.

hole types:

Standard - through hole pad
SMD Surface mount (no hole)
Hole has an electrical connection (used for through hole devices and/or Ground points)
Mechanical has no electrical connection i.e.. (Screw Holes).

ECO

As of version (2006-08-28) it is very important to keep track by hand any parts that get deleted or have their foot print changed. After the schematic changes one must delete the modules by hand in PCBNEW that were deleted or foot-prints modified.

  1. Make changes to schematic noting the reference number of any part that gets deleted, changed or its foot-print changed.
  2. Export new netlist
  3. Assign modules with CVPCB if needed. (it is quite possible to assign the foot-print when the schematic part is created in libedit or update these later while in eeschema to an alternate foot-print)

Library management


Copy part between libraries


Change name of part in library

In libedit select part to rename, Select edit part properties and select the fields tab. Select the value field and edit it to the new part name. Save the library. Select the delete icon and delete the original part name.

create new library


Kicad layers

Copper layer (solder side)
Component (CMP) layer
inner Lx - ( if extra inner layers selected layers selected)
Adhesive copper
Adhesive CMP
Solder paste Copper
Solder paste CMP
Silkscreen copper
Silkscreen CMP
Solder mask copper
Solder mask CMP
ECO1 For general free use
ECO2 For general free use
Draft
Drawing
Comments
PCB edges

Copper Planes

- Select Add Zones icon
- Trace the limit of the zone
- Place the cursor on a pad belonging to the net you want for the plane,  (GND or any other)
- Click right on the zone an select fill zone

But the pads belonging to this network must already be connected by tracks, else the design rule test will see them not connected.
The addition of the zone must be done at the end.

Hole count

To find the number of holes in the PCB you can use Postprocess; Create Drill file, select Drill sheet (poscript); Execute.  Then print or display the .ps file and you will see a table indicating the size and number of each holes.

Files Types


.pro Project file Contains lib selections, default directory and other details about the project
.sch Schematic file
.lib    eeschema library file - also the file type that is exported and imported in libedit
.bac  backup of a .lib file
.dcm - descriptions and search keywords for lib files (name.lib and name.mdc go together (why not the same file>?))
.bck backup of a .dcm file
.sym  - these are symbols without parts (gates i.e NAND, NOR, opamp, )

.brd    PCB file
.mod - footprints
.mdc - associated documentation file (name.mod and name.mdc go together (why not the same file>?))
.emp - export of module

.equ  -  maps part-name to footprint
.stf - back annotation file - fills in the footprint field in eeschema from what is selected in cvpcb
.rpt created by File/export /module report
.cmp  auxiliary component assignment file - a file that associates the Reference, part-name and footprint - Generated by CVPCB
.wings  3d part model file
.wrl    VRML model
project-cmp.pos create a Module Position File with Postprocess->Create Modules Pos (this is the component side)
project-copper.pos (As above but this is the solder side)

kicad vs EAGLE


Comparing kicad with EAGLE is interesting. Both have some good points - both have things needing work.

FeatureEAGLEKicad
Ease of use - User interfacePoor. Non intuitive - reminds me of reverse polish notation with some dyslexia added for flavor. Very good - needs some tweaks here and there . As good as PADs power Logic.
Pin swap - gate swapHas - could be a bit easier to useMissing!
Auto backup and undoHas Auto-save in PCB - undelete - no real undo (currently being worked on!)
Part attributesMissingHas
PriceThey want money for this - GPL - free as in freedom and as in free of cost!
Link part or foot print to its PDF MissingNice feature - pdf is just a right click and a select away.
Attributes for footprintsMissingNice

Links

Project link: http://www.lis.inpg.fr/realise_au_lis/kicad/index.html
Wiki http://kicad.bokeoa.com/wiki/index.php/Main_Page
http://tech.groups.yahoo.com/group/kicad-users/
http://translate.google.com/translate?u=http%3A%2F%2Fwww.reniemarquet.cjb.net%2Fkicad.htm&langpair=pt%7Cen&hl=en&safe=off&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
http://www.cs.manchester.ac.uk/apt/projects/tools/mucs-pcb/

You might also want to look at:
http://groups.yahoo.com/group/RoHSUSAPushback

Questions:

If you know the answers to these, please send them to inform@xtronics.com

Wish list:




If you found this information useful - all I ask is to look at our home page and see if we have any products that might be of use to you or a colleague. Link to us if you can.

Transtronics, Inc. 3209 W.9th street
Lawrence, KS 66049
USA

Ph
FAX
Email
WEB

(785) 841 3089
(785) 841 0434
inform@xtronics.com
http://xtronics.com
Bookmark this page

Boolean: Case
Transtronics Home Page
See our line of industrial control electronics
  PLC's Index PC test equipment and EPROM programmer Process Control
Panel meters
Current sensors Resource library handbooks, primers and spec sheets

Corporate information and privacy statement
(C) Copyright 1994-2006, Transtronics, Inc. All rights reserved
Transtronics® is a registered trademark of Transtronics, Inc.