You can create new as you are creating schematics themselves. Open an empty file

You can create new as you are creating schematics themselves. Open an empty file

$ gschem mysymbol.sym

$ gschem mysymbol.sym

−

and add pins with <code>ap</code> and attributes with <code>aa</code>. After you are done, do not forget to translate your symbol to absolute zero with <code>et</code>. If you don't, your symbol will probably be outside of your viewport once you are going to place it in your schematic.

+

and add pins with <code>ap</code> and attributes with <code>aa</code>. Check the [http://wiki.geda-project.org/geda:master_attributes_list geda wiki] for details. After you are done, do not forget to translate your symbol to absolute zero with <code>et</code>. If you don't, your symbol will probably be outside of your viewport once you are going to place it in your schematic.

Save the symbol with <code>fs</code> and check it with

Save the symbol with <code>fs</code> and check it with

Revision as of 20:23, 8 February 2013

The gEDA project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. Currently, the gEDA project offers a mature suite of free software applications for electronics design, including schematic capture, attribute management, bill of materials (BOM) generation, netlisting into over 20 netlist formats, analog and digital simulation, and printed circuit board (PCB) layout.

The gEDA project was started because of the lack of free EDA tools for POSIX systems with the primary purpose of advancing the state of free hardware or open source hardware. The suite is mainly being developed on the GNU/Linux platform with some development effort going into making sure the tools run on other platforms as well.

Installing pcbAUR will give you the PCB editor, available from the AUR.

Also you can install xgsch2pcbAUR (AUR), graphical interface to the gsch2pcb command-line tool for converting *.sch to *.pcb.

Configuration

First PCB

Create schematic symbol

You can create new as you are creating schematics themselves. Open an empty file

$ gschem mysymbol.sym

and add pins with ap and attributes with aa. Check the geda wiki for details. After you are done, do not forget to translate your symbol to absolute zero with et. If you don't, your symbol will probably be outside of your viewport once you are going to place it in your schematic.

Save the symbol with fs and check it with

$ gsymcheck -vv mysymbol.sym

Schematic Search Path

Do not forget to place your symbol within the search path of gschem. It may also be helpful to extend this path to a folder in your own project by creating a file named

gafrc

in the project folder with the following content

(component-library "./symbols")

and then copy all symbols required by the project into a subfolder called "symbols".

Create PCB footprint

Create schematic

Create and route PCB

Once you have reached a point of your schematic where you want to start routing the PCB (you can do this in an iterative fashion), it's time to create a gsch2pcb project. Add the following lines to a newly created file, called firstpcb.prj: