User Tools

Site Tools


gnu_eda

Table of Contents

GNU EDA

general info about the configuration I use.

Directory structure for Pcb's

./gschem                       # circuit diagrams
./pcb                          # pcb files
./pcb/jhaand_nfcl              # exported gerber files, ready to send
./[proj]_fw                    # firmware
./parts/resources/             # dir structure per manufacturer and part
./parts                        # dir for all component info
./parts/resources/connectors   # generic connector shapes
./parts/resources/gschem       # generic gschem symbols
./parts/resources/KEMET_MLCC   # A cap from kemet
./parts/resources/NXP/BC847BS  # A dir containing all NXP parts
./parts/shape                  # PCB footprints from resource dir
./parts/sym                    # all used symbols from resource dir

A component database with all the known parts in them om a central place looks like a really good idea. At the moment I don't have enough content or structure to pull this off. Heavy components remain preferable. So the symbols have a specific type designation, footprint, manufacturer name, source and order code.

gschem

gschem needs to know where all the parts reside. Script for gafrc in the project directory. Needed for gschem.

(reset-component-library)
(component-library "./parts/sym/")
(log-window "later")

(define default-titleblock "title-bordered-A2.sym")
(output-color "enabled")
(image-color "enabled")
(undo-panzoom "disabled")

The “project” file for stringing it all together. resides in project directory.

schematics gschem/01-NFCL.sch
skip-m4
elements-dir parts/shape
output-name pcb/nfcl

Script to update all symbols; update_all_symbols

#!/bin/bash
touch iets.sym
rm *fp
find ../resources/ -name \*.sym -exec ln -s {} \; 

To regenerate the refdes numbers.

refdes_renum sch/*sch

How can i see which shapes I need?

grep -i footprint *sch |cut -f 2 -d= |sort |uniq

PCB

Script to update all shapes; update_all-shapes

#!/bin/bash
touch iets.fp
rm *fp
find ../resources/ -name \*.fp -exec ln -s {} \; 

Footprints

A Yoube tutorial on making footprints GEDA PCB Designer - How To Make A Footprint Really useful stuff.

footprint done
2P-9V no
ARDUINO-FLIP no
C0603 yes
C1206 no
HEADER-2×20 no
R0603 yes
SO16 no
SOT363 no
gnu_eda.txt · Last modified: 2015/05/16 14:35 by 127.0.0.1