I can't seem to find such a reference within the library. How could I make my own footprint? I'm using the latest version of eagle 6.4
How to create a part in eagle for a TO220-7 with bent leads
eagle
Related Solutions
For any serious work, you won't want to get parts made by someone else because they won't adhere to your conventions. I always make my own parts, which is really not that difficult.
I have certain requirements for parts, like attributes for automatic BOM generation, and text at particular sizes and and layers for the silkscreen, the assembly drawing, etc. Others aren't likely to make parts just the way I want them, and to inspect and vet someone else's parts would take at least as long as just making my own in the first place. When you do this for business and your reputation depends on it, you have to be picky.
However, hobbyists can be more lax. Others are welcome to use my parts and a bunch of other Eagle-related utilities I have developed over the years. Go to my downloads page and install the Eagle Tools release. This contains a bunch of libraries with parts, but also various ULPs, scripts, and host programs I use around Eagle. For example, there is a whole system for genering the BOM from the schematic and board, and then creating the labels for the kit. Start with the CSV_BOM documentation file in the DOC directory and follow the cookie crumbs.
To give you some idea of how the BOM generation system works, here is most of the EAGLE_ATTR documentation file:
This document describes the Embed Inc conventions for using optional attributes in Eagle, which were first made available in version 5. In previous versions a part could only have a few fixed attributes built into Eagle, such as VALUE and NAME. In version 5 these fixed attributes still exist but arbitrary additional attributes can be created by the user. This document specifies certain attributes that are expected by parts of the Embed Inc system, mostly to aid in automatic bill of materials (BOM) generation. The process of generating a BOM from a eagle board or schematic is desribed in the CSV_BOM program documentation file. The Eagle optional attributes that have special meaning within the Embed Inc system are: MANUF Manufacturer:partnum; manufacturer:partnum; ... The PARTNUM fields and their leading colons may be omitted, but is a bad idea unless only a single manufacturer is listed. PARTNUM Generic part number or part number within single manufacturer. SUPPLIER Supplier:partnum; supplier:partnum; ... The PARTNUM fields and their leading colons may be omitted, but is a bad idea unless only a single supplier is listed. BOM Whether this part should be included on the BOM. Some "parts" are only features on the board, like pogo pin pads for example. These should not be listed on the BOM because they do not need to be bought and will not be installed. Supported values are: YES - Include this part in the BOM. This is the default if the part has a package. NO - Do not include this part in the BOM. This is the default if the part does not have a package. VALSTAT Indicates how the VALUE attribute is used. The choices are: VAL - Normal part value, like the resistance of a resistor. The part value will be listed on the BOM and used to distinguish different parts. For example, a 10K ohm resistor is a different part than a 330 ohm resistor. PARTNUM - The part number. The value field will be shown in the BOM and used to distinguish different parts, like VAL. However, the part number field will be set to VALUE unless the part number is otherwise explicitly set. VALSTAT PARTNUM is for generic library devices where the value field is used to show some or all of the part number on the schematic. For example, the library might contain a generic 14 pin opamp device, and the value set to LM324 to show the type of opamp on the schematic. In this example, VALUE is only set to the generic part number without package type, temperature grade, etc. In this case the PARTNUM attribute should be used to specify the exact part number, but VALSTAT should still be set to PARTNUM. LABEL - Label intended for the silkscreen. The value field will not be transferred to the BOM and will not be used to differentiate parts. This might be used, for example, to label a LED on the board. Different LEDs might be labeled "Power" and "Error", but they are the same physical part and should be listed on the same BOM entry. SUBST Sets the substutions allowed field for the part on the BOM. Valid values are "YES" and "NO". The default is YES if SUBST does not exist or is empty. DESC Explicit description string for the BOM. By default, the BOM description is derived from the library name and the device name within that library. If the DESC attribute is present and not empty, its contents will override that default. DVAL Detailed part value. If present and not empty, this field overrides the part value string on the BOM and will be used to differentiate parts. DVAL is always assumed to be the true part value, so is not effected by VALSTAT. The purpose of DVAL is to provide more information than reasonable to show on the schematic. Generally the standard VALUE attribute will be shown on the schematic with DVAL shown on the BOM.
OK I finally figured it out. Once a new library is added you may need to 'enable' it's part sets by clicking the dot to the right of the part set in the Control Panel window in Eagle. Man this program has some major UI issues. :)
Related Topic
- Electronic – Eagle: How to make a component from a board
- Electronic – In Eagle PCB, how can I reuse devices from existing schematics
- Eagle PCB: how to get BOM from a library part
- Electronic – Which Eagle part to use for this 2-pin Screw Terminal
- Duplicate Eagle part (package) in same libraray
- Electronic – How to do a global search in Eagle
- Electronic – Eagle create custom size SMD pad for new library part
Best Answer
To create your own footprint in eagle, easiest option is to take an existing TO220 package and adjust it. This avoids the hassle of silkscreen and other things. The modification you need is very simple, to move the location of the pads so that they will coincide with the leads.
Take the TO220-7 specification (from datasheet or whatever) and look at what is the pitch between the leads. Then go to eagle, right click on each pad and do properties. Shift them in the proper axis the right amount for them to have the proper spacing. For example, if the central pin is located at (0,0) and each lead needs to be 1mm, then place center pad at (0,0), left lead at (-1,0) and right lead at (1,0). Doing it mathematically is easier, faster and more accurate than doing it visually.
Modify silkscreen as needed and don't forget to modify the description.
There a nice tutorial in sparkfun about the actual details.