User Tools

Site Tools


geda

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
geda [2013/05/16 08:23] – [Simulation with Gnucap and Gwave] samtodgeda [2019/08/29 12:04] (current) – [Create a new project] maferreira
Line 1: Line 1:
 ====== gEDA ====== ====== gEDA ======
 ===== Installation ===== ===== Installation =====
 +
 -- For Debian the installation is very easy -- For Debian the installation is very easy
-<code bash>aptitude install geda-gschem geda-symbols geda-utils geda-gnetlist pcb geda-xgsch2pcb</code>+<code bash>aptitude install geda-gschem geda-symbols geda-utils geda-gnetlist pcb geda-xgsch2pcb git</code>
  
   - After installation, copy your library folder into your "home directory".   - After installation, copy your library folder into your "home directory".
Line 8: Line 9:
   - Create ~/.gEDA/gschemrc   - Create ~/.gEDA/gschemrc
  
-<code> +===== Configuration ===== 
-(component-library "${HOME}/library/gschem-sym") + 
-(component-library-search "${HOME}/library/gschem-sym/") +At bolay.co, we use our internal library. We didn't need to install them system wide. 
-(load (build-path geda-rc-path "gschem-lightbg"))+We prefere to add the library for each project as a git sub-module, referring to the 
 +exact version of library that match this project. 
 +    
 +===== Create a new project ===== 
 + 
 +  * Create a new directory for the project 
 +  * Init a git repository 
 +  * Clone the gEda_Library repos to Libs (With git submodule) 
 +  * Copy gitignore from Libs/Config/gitignore to .gitignore 
 +  * Launch install script (./Libs/install.sh) 
 +<code bash> 
 +  mkdir ~/Projects 
 +  cd ~/Projects 
 +  mkdir mynewproject 
 +  cd mynewproject 
 +  git init 
 +  git submodule init 
 +  git submodule add git@git.bolay.co:gEDA_library.git Libs 
 +  cp Libs/Config/gitignore .gitignore 
 +  ./Libs/install.sh
 </code> </code>
  
--- copy gschemrc to gnetlistrc+When cloning a project from git.bolay.co, don't forget to do: 
 +<code bash> 
 +  git clone git@git.bolay.co:MyProject.git 
 +  git submodule init 
 +  git submodule update 
 +   
 +  git pull origin <branch>   
 +</code> 
 + 
 +Or  
 + 
 +<code bash> 
 +  git clone --rerursive git@git.bolay.co:MyProject.git 
 +  cd MyProject 
 +  git pull origin <branch> 
 +</code> 
 + 
 +When you want to modify a libray: 
 +<code bash> 
 +  ./Libs/install.sh 
 +  cd Libs/ 
 +  git checkout origin/develop # Don't forget 
 +   
 +  # Do something 
 +  git commit -am "Message like Add DS18B20.sym" 
 +  git push # Don't forget 
 +  cd .. 
 +  git commit -am "Update gEda Library" 
 +   
 +</code> 
 + 
  
 ===== Create Symbol ===== ===== Create Symbol =====
Line 179: Line 230:
  
  
 +For more information, please visit : [[http://www.brorson.com/gEDA/land_patterns_20070818.pdf]]
 +or another link for the same doc [[https://github.com/evanfarrar/opensprints/raw/0b994c2b6b539b8a3beab4ea42a6447f10e396a3/hardware/interface_board/geda/docs/land_patterns_20070818.pdf]]
 ===== Schematic to PCB ===== ===== Schematic to PCB =====
  
Line 195: Line 248:
   - If there isn't any error, you can start your PCB.   - If there isn't any error, you can start your PCB.
  
 +
 +If the first solution does not work, try this:
 +
 +  - Open the terminal 
 +  - cd /AAA/BBB/YOUR_FOLDER (Folder where your schematic is located)
 +  - gsch2pcb -d /AAA/BBB/YOUR_SCHEMATIC.sch
 +  - Now, a new file was created on your folder (YOUR_SCHEMATIC.pcb) 
 +  - Run the .pcb and it's done
 +
 +Sometimes, the netlist does not load:
 +  - In the .pcb, select **File->Load netlist file**
 +  - Search in your folder the .net
 +  - Type o to optimise rat
 +  - You can start route
 ===== Import the board on PCB ===== ===== Import the board on PCB =====
  
Line 321: Line 388:
  
 If you want to convert your component into a single element, select all your component , copy it into the buffer. Select Buffer in the toolbar, click to **Convert buffer to element** and **Paste buffer to layout**. It's done, your component is edit. If you want to convert your component into a single element, select all your component , copy it into the buffer. Select Buffer in the toolbar, click to **Convert buffer to element** and **Paste buffer to layout**. It's done, your component is edit.
 +
 +===== Add a new footprint in your pcb =====
 +
 +  - Open the terminal
 +  - cd /AAA/BBB/YOUR_FOLDER (Folder where your schematic is located)
 +  - gsch2pcb -d /AAA/BBB/YOUR_SCHEMATIC.sch
 +  - Run pcb on your file YOUR_SCHEMATIC.pcb
 +  - Select **File -> Load layout data to paste buffer**
 +  - Select YOUR_SCHEMATIC.new.pcb to load your new footprint
 +  - Select **File -> Load netlist file** and select YOUR_SCHEMATIC.net
 +  - Type o to optimize rat
 +
 =====PCB Tips===== =====PCB Tips=====
  
Line 340: Line 419:
 {{:numerotation_layer.png?200|}} {{:numerotation_layer.png?200|}}
  
-To search all tracks pins and pads connected to a net, put your mouse over one of the tracks pad or pin and press "f". It will highlight the net and components in bright green.+If you want to replace the "REFDES" on PCB, you must click on nothing (Where there isn't any coamponent), press "f" and then take the "REFDES" with the mouse and you can place it where you wnt.
  
-If you want to see the bottom on first plan press "TAB" and if you want to return on the top press one more time "TAB".+There's some useless keyboard shortcut on gEDA :
  
-If you want to replace the "REFDES" on PCB, you must click on nothing (Where there isn't any component), press "f" and then take the "REFDES" with the mouse and you can place it where you want.+   * **1 to 9 => change layer** 
 +   * **F1 to F11 => Tool selection (all description in PCB Tips)** 
 +   * del => delete componenttrack, via, etc at the cursor location 
 +   * shift+del => delete selected objects 
 +   * **u => undo operation** 
 +   * **shift+r => redo operation** 
 +   * m => move our track on the selected layer 
 +   * shift+m => move selected object on the selected layer 
 +   * **b => change a component between the top and the bottom** 
 +   * shift+b => change all component selected between the top and the bottom 
 +   * z & shift+z => Zoom 
 +   * v => zoom out completely 
 +   * **tab => switch the side of the view** 
 +   * **n => edit all kind of text** 
 +   * h => show/hide component name 
 +   * d => show/hide the number/name of pin/via 
 +   * **f => highlight selected connection** 
 +   * shift+f => reset all highlight connection 
 +   * i => open library window 
 +   * : => open user command 
 +   * s & shift+s => change the width of lines, arcs, text objects, pins,pads and vias at the cursor location 
 +   * l & shift+l => change the width of our track while routing 
 +   * / =>change the routing style: none, _ /, \ _ 
 +   * g & maj+g => add or subtract 5mils to the grid 
 +   * ctrl+g & maj+ctrl+g => add or subract 0.05mm to the grid 
 +   * maj+v & maj+ctrl+v =>add or subtract 5mil to default via size 
 +   * alt+v & maj+alt+v =>add or subtract 5mil to default via drill 
 +   * **o => acualise and optimize all rats** 
 +   * **q => make a line/pad rectangular** 
 +   * k => increase the size of the clearance of a track 
 +   * shift+k => decrease the size of the clearance of a track
  
-When you replace a component you must press "Oto redo the connections.+=====Plan de masse===== 
 + 
 +Pour pouvoir créer un plan de masse ou de VCC, il suffit de tracer un rectangle.  
 + 
 +En utilisant l'outil **THRM** et en cliquant sur des trous, cela va directement connecter le trou au plan.  
 + 
 +{{:via_hole.png?200|}} 
 + 
 +Pour connecter directement une piste au plan, il faut décocher la case "**New lines, arcs clear polygons**dans l'onglet **Settings**. Ainsi, lorsqu'on tracera une nouvelle piste, elle va se connecter toute seule au plan. Pour les anciennes pistes, il faudra les retracer, autrement elles ne seront pas connectées 
 + 
 +**Attention:** cochez à nouveau la case si vous refaites une piste qui ne doit pas être connectée au plan !  
 =====Create a build of material from shematics===== =====Create a build of material from shematics=====
  
Line 372: Line 491:
  
 <note important>You mustn't be a root when you write this command</note> <note important>You mustn't be a root when you write this command</note>
 +
 +=====Create a .zip with the terminal=====
 +
 +  * Open your terminal
 +  * cd /Projectfile
 +  * $ 7z a -tzip Projectfile.zip .
 +
 +
  
 =====Create a screen of your PCB===== =====Create a screen of your PCB=====
Line 439: Line 566:
  
 <note warning>Do not forget the :1 after the name, otherwise it will not work.</note> <note warning>Do not forget the :1 after the name, otherwise it will not work.</note>
 +
 +==== gschem2pcb with command line ====
 +
 +gsch2pcb EdgeBoard_DS18B20.sch --elements-dir ../gEDA_library/PCB_elements/
  
  
Line 444: Line 575:
 ==== Links ===== ==== Links =====
   * http://wiki.geda-project.org/   * http://wiki.geda-project.org/
 +  * http://underhill.hhhh.org/ldoc/geda-gaf/wiki/geda-pcb_tips.fr.html
   * [[http://www.iznogood-factory.org/pub/gEDA/tutorialfr.html|iznogood]]   * [[http://www.iznogood-factory.org/pub/gEDA/tutorialfr.html|iznogood]]
   * [[http://www.gedasymbols.org|Footprints]]   * [[http://www.gedasymbols.org|Footprints]]
geda.1368692592.txt.gz · Last modified: 2013/05/16 08:23 by samtod