User Tools

Site Tools


kicad_-_linux_electronic_schema_and_pcb_design_environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kicad_-_linux_electronic_schema_and_pcb_design_environment [2018/02/03 17:58] (current)
Line 1: Line 1:
 +**    Checklist before start PCB manufacture process**
 +
 +  * ground zones connected (on front and back cupper layers)
 +  * extra vias near IC grounds.
 +  * should mounting holes be logically grounded? usually not, because of ground tracks issue (can not overpass ground track).
 +
 +**    How to draw in KiCAD (shortly)?​**
 +
 +
 +
 +  *     ​eeschema
 +  *         ​adding existed libraries: preferencies,​ library, add: select all downloaded
 +  *             /​home/​anton/​kicad-libs/​(select all)
 +  *         new component: library editor - create and edit components
 +  *     ​component editor
 +  *         ​create new component: give name, reference
 +  *         draw component
 +  *         save current component to new library
 +  *         ​preferences > library > add libraary > (just created)
 +  *         file > current library > (just created)
 +  *         make modifications if needed
 +  *         ​update current component in current library, overwrite
 +  *         save current library to disk, overwrite
 +  *         quit
 +  *     ​eeschema
 +  *         place component, browse library, select new
 +  *         draw schema, save
 +  *     ​generate netlist
 +  *         ​annotate,​ yes, close
 +  *         run CvPCB, ok
 +  *         ​associate,​ save
 +  *     run pcbnew, ok
 +  *         load netlist file, read current list, close
 +
 +
 +**    How to generate Bill Of Materials (BOM) in Kicad?**
 +
 +
 +
 +
 +install
 +
 +<​code>​
 +sudo apt-get install xsltproc
 +</​code>​
 +
 +download "​bom2csv.xsl"​ from
 +
 +<​code>​
 +wget https://​raw.githubusercontent.com/​KiCad/​kicad-source-mirror/​master/​eeschema/​plugins/​bom2csv.xsl
 +</​code>​
 +
 +in eeschema:
 +
 +    open "​BOM"​
 +    add plugin
 +    name: xsltproc
 +    command:
 +
 +<​code>​
 +xsltproc -o "​%O.csv"​ /​home/​anton/​kicad-libs/​BOM/​bom2csv.xsl "​%I"​
 +</​code>​
 +
 +    (replace "/​home/​anton/​kicad-libs/​BOM/"​ with a path to your bom2csv.xsl)
 +    open *.csv file with libreoffice,​ test import window will come up, click ok.
 +
 +that's better :) Sort, print... have fun! go shopping
 +
 +    for me: menu > data > sort , key1 "​value",​ key2 "​reference"​.
 +
 +so I have a print for the same components in some kind of order :)
 +
 +
 +
 +
 +**    How to install KICAD to Linux Ubuntu -family?**
 +
 +Working compiled built for recent versions. Install and enjoy.
 +
 +js-reynaud (j2010) is maintaining repository for kicad. we shall say him "thank you".
 +
 +<​code>​
 +sudo add-apt-repository ppa:​js-reynaud/​ppa-kicad
 +sudo apt-get update
 +sudo apt-get -V install kicad
 +</​code>​
 +
 +check version before hit [enter] (it should be fresh, contains date in the title).enjoy.
 +
 +(old) Previous version "How to install KICAD to Linux Ubuntu 12.10?"​
 +
 +Adam Wolf 's kicad launchpad repository is unavailable with the newest version. Recently new installer script published on kicad website.
 +
 +Two mistakes is on the page, in the howto code
 +
 +manual code WRONG, do NOT use
 +
 +<​code>​
 +chmod a+x ./​kicad-installer.sh
 +./​kicad-installer.sh --install-or-update
 +</​code>​
 +
 +not "​kicad-installer.sh"​ but "​kicad-install.sh"​ in both way because the file downloaded from here is named "​kicad-install.sh"​
 +
 +<​code>​
 +chmod a+x ./​kicad-install.sh
 +./​kicad-install.sh --install-or-update
 +</​code>​
 +
 +after running "​./​kicad-install --install-or-update"​ I got confused because there is now executable file found in /usr/bin
 +by debugging installation log using:
 +
 +<​code>​
 +./​kicad-install --install-or-update > install.log
 +</​code>​
 +
 +it appeared that bazaar needs to name to introduce as follows
 +
 +<​code>​
 +bzr whoami "Your Name <​email@comes.here>;"​
 +</​code>​
 +
 +and run install script again.
 +later same day while installing kicad to another machine:
 +be sure libcairo2-dev is installed
 +be sure glew-utils libglew-dev libglewmx-dev is installed because installer script does not check them or check incorrectly
 +
 +<​code>​
 +sudo apt-get install libcairo2-dev glew-utils libglew-dev libglewmx-dev
 +</​code>​
 +
 +(old) This was written and since then updated. Install in ubuntu normally:
 +
 +<​code>​
 +sudo add-apt-repository ppa:​adamwolf/​kicad-testing-daily
 +sudo apt-get update
 +sudo apt-get install kicad kicad-common
 +</​code>​
 +
 +
 +
 +
 +**    How to print to paper from Kicad PCB software to make a transfer print?**
 +
 +
 +
 +
 +if you print directly from Pcbnew, remember to move WHOLE drawing to left or right side of the screen (depending how your printer outputs printing, i.e. my hp laserjet m1212nf mfp prints left side from the end of the paper - I should move my drawing to the right side) if you wish to print on the edge of A4, uncheck "force A4 output"​ in plot dialog
 +
 +make postscript *.ps file
 +
 +I prefer to leave PCB edges, uncheck [  ] exclude PCB edge ...
 +||Order||Layer||PCB Text Edit in Pcbnew||how to print by PLOT command||printed paper||final result after transfer||
 +||to make transfer to a board (photo, fine-paper, any way you prefer)||
 +||1||(B.Cu) Back side||text mirrored || straight (uncheck [  ] mirrored plot), drill marks [small]||text is mirrored|| text shown readable||
 +||2||(F.Cu) Front side||text straight|| mirrored (check [X] mirrored plot), drill marks [small]||text is mirrored||text shown readable||
 +||you see how your board should look like:||
 +||3||(B.Cu) Back side|| ||   [x] mirrored    
 +||4||(F.Cu) Front side|| ||   straight [  ] mirrored    
 +      documents for placing / soldering parts to the board
 +||5||Silkscreen (F.SilkS)|| ||
 +[x] plot sheet references
 +[x] plot pads on silkscreen
 +[x] plot module value on silkscreen
 +[x] plot module reference on silkscreen ​    
 +||6|| Silkscreen (B.SilkS)|| ||
 +[x] plot sheet references
 +[x] plot pads on silkscreen
 +[x] plot module value on silkscreen
 +[x] plot module reference on silkscreen
 +[x] mirrored plot    
 +           
 +
 +  * open inkscape,
 +  * file > import > select file *.ps, confirm import settings [enter]
 +  * drag image to corner to save paper
 +  * at this point, I could not print to hp laserjet printer, because of "​inkscape filter"​ or "​plotting system"​ or whatever.
 +  * now I can print (2014 08 05 due to updates :), but if you want to print elsewhere.
 +  * file, save
 +  * file, save as *.pdf
 +  * open pdf with ordinary viewer
 +  * print to plain _NORMAL_ paper
 +
 +
 +try to place components - you will usually find, that something wrong :)
 +      in my example DIP28 was to small, but TQFP32 is quite good - back to CvPcb and change physical components (modules)
 +
 +  * locate print to save paper ie. to corner
 +  * file > document properties > change correct paper size and orientation
 +  * file > open your *.ps file
 +  * 
  
kicad_-_linux_electronic_schema_and_pcb_design_environment.txt ยท Last modified: 2018/02/03 17:58 (external edit)