5670 views|4 replies

710

Posts

5

Resources
The OP
 

AltiumDesigner integrated library design based on Access database [Copy link]

This post was last edited by 5zhidandelion on 2022-8-14 18:37

Recently, I was looking at issues related to integrated libraries and found that some of the information on the Internet was not very clear in some places. The following is what I think is more comprehensive, so I would like to share it with you.

The following information comes from the Internet and is not written by me, but it has been verified to be correct.

1. The design methods of Excel database and Access database are similar, but Access database supports online modification of database files (when AD is open), while Excel database does not support it.

2. The Excel database can classify components (classify in Excel table) for easy management.

3. Access databases seem to be unable to be classified. (I haven't found a way to do this. If anyone has a way to do this, please share your opinion.)

Benefits of database integration library:

1. Convenient management;

2. Able to export component number, description, manufacturer, and price information to the BOM table.

Establishing Access database of components

As shown in the figure above, design the field names and data types in the table.

ID is a unique number that identifies a component.

Part Number is the material number that identifies the component

Part Type is the name of the component.

Description is a detailed description of the identified component

Value is the value of the identifier component

Library Ref is the name of the component in the schematic package library

Library Path is the path to the schematic package library that identifies the component

Footprint Ref is the name of the component in the PCB package library

Footprint Path is the path of the PCB package library that identifies the component

Other properties:

Tolerance is the accuracy of the identification component

ComponentLink2URL is the URL that identifies the component

Suppiler is a supporting manufacturer of identification components

Here, I use relative paths for Library Path and Footprint Path.

As shown above:

PCB and SCH library paths, access database files, and DbLib integrated library files are placed in the same directory.

Fill in the component-related information in the Access database and the database will be created.

Since there are many types of components, it will be cumbersome to build a database at the beginning.

Building the DbLib integrated library

As shown in the figure:

Select Database Library

Create an empty DbLib file.

Step 1: Open the Access file.

Step 2: Connect to the database. (When using Access 2007, you need to install the Access Database Engine 2007 support package), otherwise the connection will fail. I put the Access Database Engine 2007 support package in a compressed file.

As shown in the figure above, select Access 2007.

Single Key selects ID, (unique number) , the material number is not a unique number.

Set the Value to Visible.

Import the DbLib integrated library

Figure 1

Figure 2

Set the columns displayed:

Right-click the mouse at the arrow and choose Select Columns.

Add the columns you want to display.

After the settings are completed, the effect is as follows:

Draw an example:

Generate PCB:

Export BOM

As shown below:

The settings are as shown below:

After the settings are completed, click Export to export the BOM.

The BOM table is as follows:

Here, I borrowed the xtl template provided by AD officially.

Add the parameters you need to export in the xtl template.

The xtl template is set up as follows:

= Modify the parameters after that to your own needs. These parameters must exist in the database to be successfully exported.

This post is from PCB Design

Latest reply

First of all, learn from the great god! I am going to make a database with more than 50,000 materials. This post happened to be very helpful. Thank you.   Details Published on 2022-8-28 11:17
 

710

Posts

5

Resources
2
 

The following are two related posts shared by MrKingMCU

Altium+Access DIY to create your own library for small companies https://en.eeworld.com/bbs/thread-474609-1-1.html

The self-used Altium+Access library is shared for free https://en.eeworld.com/bbs/thread-579819-1-1.html

This post is from PCB Design
 
 

506

Posts

0

Resources
3
 

Study

This post is from PCB Design
 
 
 

2w

Posts

341

Resources
4
 

This Access database based on AD is indeed for advanced use.

There are too many component libraries, but database integrated libraries are more convenient to manage

But mastering the method doesn't seem so easy to master

This post is from PCB Design
 
 
 

2

Posts

0

Resources
5
 

First of all, learn from the great god! I am going to make a database with more than 50,000 materials. This post happened to be very helpful. Thank you.

This post is from PCB Design
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list