KiCad and GOST. UGO library

We supplement the series of articles on UGO for various CAD-circuitry. This topic describes the process of creating an UGO component for KiCad.



KiCad is an open source EDA software suite distributed under the GNU GPL license for developing circuitry and printed circuit boards.

Attention! Under cat traffic!

KiCad includes five main programs:

kicad - project manager;


eeschema - editor of electrical circuits;


- Built-in editor of symbols of circuits (library components);


cvpcb - a program for selecting seats corresponding to the components in the diagram;


pcbnew - editor of printed circuit boards;


- Built-in image editor footprints (library components);


- 3D Viewer - 3D-viewer of printed circuit boards based on OpenGL (part of pcbnew);


gerbview - Gerber file viewer (masks);


And also:
wyoeditor - a text editor for viewing reports.
bitmap2componrnt - a tool for creating a logo from an image;


Universal PCB calculator;


Advantages:

- Russian interface, help, textbook;

Support for KiCad - product (STR) is striking in its activity.

There is a lot of literature in Russian, here are just some sources:
- We study KiCad. Part one ;
- KiCad / KiCad lesson ;;
- Kicad_Tutorial ;
- Introductory course for user KiCAD ;
- KiCAD: how to make a printed circuit board ;
- Practical work. Creation of the element base
- Design of printed circuit boards in CAD KiCAD ;
- Various Russian documentation on KiCAD ;

There are a lot of resources devoted to the KiCad theme:
radiokot.ru/forum/viewtopic.php?f=8&t=30356
kazus.ru/forums/showthread.php?t=16082
www.cqham.ru/forum/showthread.php?t=18451

- Cross-platform;

Windows, Linux, FreeBSD, etc ...

- Standard libraries and a separate assembly of KiCad according to GOST standards;

A very large collection of libraries:
www.kicadlib.org

KiCad assembly according to GOST ESKD standards:
- Original international assembly ;
- Russian assembly for Linux or Windows XP ;
- The current stable version of " KiCAD GOST 4005-stable " in the form of a Windows exe-installer with basic GOST-patches, auto-installation and auto-deletion, with the ability to include en / ru-documentation, lib / mod / 3d component libraries and application examples.

- Stamps meeting the requirements of GOST (in the Russian assembly);

The only reason why there is no main inscription in form 2a (GOST 2.301-68).

- KiCad is free, even for commercial use;
- Effective tracing capabilities;
- Comprehensive verification of the project;
- 3D board preview;


- Modeling schemes;

It is possible to upload a netlist of electrical circuits for the topology editor of the pcbnew board or for Spice simulation of a circuit.
To be honest, I did not even understand this.

- Import Export;

In the vastness of the Internet there is a bunch of all kinds of utilities for converting KiCad data to other data from various CAD systems. The most popular are KiCAD <--> P-CAD utilities.

- Creating files for production;


Generation (creation) of finished Gerber formats, ready for execution on CNC.

—Prints in the corps editor;

Sometimes a developed seat, I want to print and try on a component.

- Creating your own libraries;

This is the main point of the article, we will touch on it below ...

Disadvantages (in my opinion):

- Intuitively obscure user interface;

Immediately understand KiCad, following only the prompts and menu items, it is almost impossible.
We'll have to dig through several pages of manuals, and step on a rake a couple of times.

- Not convenient manual (and automatic positioning - it is actually not there, this is done only by third-party programs);

We return to the rake point.

- The inability to present the list of components in the form of a tree, with strict typing for functional purpose;

I already touched on this in a previous article . Here is an excerpt:

With this point, to be honest, I do not understand at all. Now I will explain: the fact is that CAD itself, implies a product that facilitates the development of various devices and elements, of course, in this case, with regard to EDA systems. So: How could you not implement the list of circuit elements in the form of a tree? Say it is not convenient, and would not affect the performance? This question applies to all EDA systems.

- Lack of printing in the component editor;

- The lack of the ability to arbitrarily select the name of the list of components (by type, rating, housing, well, etc.) and the lack of a filter by component;

The same, excerpt from the previous article :

Those. each developer has his own preferences, for example, it’s convenient for me to present a list by name and type of case, for someone it’s convenient to present a list by type of element (for example, MCU) and name, well, etc.

The absence of a filter by component is more likely due to the inability to implement a normal filter without using a DBMS, because all the components and footprints are spread out in files, and this is something, you yourself understand.


- Lack of built-in simulator Spice-models;

I would like, but it will be a complex product.

Creating our own libraries:

We need a built-in editor for symbols of circuits (library components), run it as follows:

First, run eeschema (editor of electrical circuits), we see the following picture:


where:

1. The area of ​​the main menu of the application;
2. Toolbar area;
3. The area of ​​dimension and grid pitch of the editor (setting the workspace).
4. The area of ​​the elements of the diagrams and movement along the hierarchy of the diagram.
5. The working (main) area of ​​the application (editor area).

Next, we launch the built-in editor of symbol schemes (library components), this is done by clicking the [Library Editor] button , in the toolbar of the scheme editor.

We see the following interface:


where:

1. Area of ​​the main menu of the application;
2. Toolbar area;
3. The area of ​​dimension and grid pitch of the editor (setting the workspace);
4. The area of ​​the component elements;
5. Working (main) application area (editor area);

Next, we need to choose a working library, the library in which we want to work (create or edit components).
This is done like this: on the toolbar, the [Select working library] button is pressed, we select the library with which we want to work and click [OK].


If we want to create a new component in this library, then select [Create a new component] in the toolbar , if we want to edit an existing one, then select the [Load component for editing from the current library] element from the panel .

In the first case, we see a form in which it is necessary to set the component parameters.
In our case, let it be [Component Name]: RES_0805, and {Default Designation]: R.


and accordingly click [OK].

In the second case, we will have a window for selecting the component to be edited:


in this case, select [Selection with viewing]:


But since we are going to create our original component, we stop at the first choice [Create a new component].

We set the parameters indicated above (RES_0805 / R), go to the workspace and move the elements of the workspace by right-clicking on one of the elements and selecting the [Move field] item .

We move (we clear the work area), then we draw the component using the area “4. The component element area of ​​the editor.

Next, add the conclusions for the component, for this from the area “4. The component element area ”of the editor, select the [Add component output] element , see this window:


fill in all the parameters, click [OK], respectively for the first and second outputs.

We see the result:


Next, to save the component, select [Save current library to disk], from the "2. Toolbar Area. " We agree with all questions of the application.


and
.

Actually now our new component in the library. And ready to use.

ps

The only thing I will describe later is how to save the component in a new (own) library.
And touch on the nuance of scaling, dimension and grid pitch. because in KiCad it is a multiple of 0.0254 - 1.27 mm, and GOST standards require slightly different. In this connection, there is a suspicion that the KiCad assembly according to GOST ESKD standards does not correspond to those, leading to deviations from the proportions of the components that the standards require.


Thanks for attention.

Also popular now: