Welcome to Mike Crash Homepage
Some software that may be usefull for you...
Tue 19.Mar.2024, 6:56
Search 

» Projects
· ATV2000
· AFM2000
· ARC2000
· APL2000
· Calculator Plus
· Vegas filters
· PocketPC
· phpBB-nuke
· GNOME Optical Tools
· KiCAD Part Manager


» Menu
· Home
· Capture cards
· Downloads
· FAQ
· Feedback
· News
· Profile
· Projects
· RSS
· Search
· Surveys


» Advertisment


» See also
TV Freak
Doom9
MMMC


» Counter
We received
20175182
page views since 2007-08-05


KiCAD Part Manager


Part manager for KiCAD electronic design suite. It is database of components with ability to categorize parts, store part name, part label and part number, description, parameters and also stock count and price. Parts can be assigned to components in KiCAD schematic based on component name, type and value.


KiCAD Part Manager is written in python and is using wxWidgets for GUI and MySQL database as storage of data. So you need:

  • Python 2.7
  • MySQL Connector for Python
  • wxPython
  • ... and KiCAD version 4
Currently it is developed in Debian Linux, but should work in Windows too (not tested). Also note it is in early alpha stage, so use it at your own risk.

Installation

Install all software mentioned above and unpack KiCAD Part Manager to any folder. Then create new MySQL user and database (for example kicadpartman) and set access password for the user. In database create schema (import tebles) using file kicadpartman_db.sql. If you want some data in database, you can use kicadpartman_data.sql to create basic component categories and also smd resistors and ceramic capacitors. But it is up to you, if you want to start from empty database or use my basic data.

Then edit file kpm_config.py and change the address of database, username and password. That is.

Usage

All data are stored in:

  • Categories - the tree of component categories
  • Parts - part with unique part name, human readable part label (this will be value in KiCAD and may be the same as part name) and other usefull properties.
  • Spares - each part can have more manufacturers and suppliers, for example resistors with same value, package, tolerance etc. have more manufacturers of the same part. Each component as spare from any manufacturer has some part number - ordering number
Parts should be categorized by type and parameters. every category can have three parameters, that may be used for searching or sorting. For example transistors can have maximum power, voltage and collector current. For every part enter unique part name, component (schematic component in Eeschema) and footprint from Pcbnew library. It will be used by assigning parts to components from KiCAD schematic. Other properties are optional, but very usefull, so fill it carefully too. Then fill spare part numbers, they will be assigned when creating bill of materials.

Assign parts to schematic

Then you can assign parts to schematic components by opening your schematic file.

Then find your part for every component and double click on it to assign (you can select more components at once). then save it and the part id, part name and part label are assigned to components in schematic. Open schematic in KiCAD and see the changes.

Create BOMs

After you are done with PCB design, create BOM from Eeschema and position file from Pcbnew and import both to KiCAD Part Manager. The new BOM will be saved to database and can be exported as CSV file for manufacturing.

Stock management

You can use KiCAD Part Manager as stock management system. Receive and dispatch parts and by assigning see number of parts in stock. When manufacturing, dispatch all components by BOM from stock or see, what components are missing.

DOWNLOAD

Annex:

My SMD resistor suffix letters:

# 1 - type          2 - size        3 - tolerance
# F Film            A 01005/0402    A 50%
# C Carbon          B 0201/0603     B 20%
# M Melf            C 0402/1005     C 10%
#                   D 0603/1608     D 5%
#                   E 0805/2012     E 2%
#                   F 1008/2520     F 1%
#                   G 1206/3216     G 0.5%
#                   H 1210/3225     H 0.25%
#                   I 1218/3245     I 0.1%
#                   J 1806/4516
#                   K 1812/4532
#                   L 2010/5025
#                   M 2512/6332

My SMD capacitor suffix letters:

# 1 - type          2 - size        3 - voltage    4 - type
# C Ceramic         A 01005/0402    A Reserved)    A C0G (NP0)
# E Electrolytic    B 0201/0603     B 2.5V         B X7R
# T Tantalum        C 0402/1005     C 4V           C X5R
# P Polyester       D 0603/1608     D 6.3V         D Y5V
# M Polymer         E 0805/2012     E 10V
# N Niobium         F 1008/2520     F 16V
#                   G 1206/3216     G 25V 
#                   H 1210/3225     H 35V  
#                   I 1218/3245     I 50V 
#                   J 1806/4516     J 100V
#                   K 1812/4532     K 150V
#                   L 2010/5025     L 200V
#                   M 2512/6332     M 250V
#                                   N 450V
#                                   O 500V
#                                   P 600V
#                                   R 630V
#                                   S 1kV
#                                   T 1.5kV
#                                   U 2kV
#                                   V 2.5kV
#                                   W 4kV
#                                   X 10kV
Example: 10n CDIB is ceramic capacitor in 0603 package, rated at 50V and X7R type









Powered by phpBB-nuke. All rights reserved. Page Generation: 0.418 Seconds, 20 SQL queries.