User Tools

Site Tools


software:eagle_cadsoft

This is an old revision of the document!


Eagle cadsoft

This page is about Eagle1) Cadsoft, a computer program which helps designing schematic diagrams (schematics) and circuit boards (pcb)2).

Using Custom Libraries

During a design process it is sometimes necessary to add components which are not available in the ready supplied libraries. For this, components can be created manually and imported in the design. The method for this requires some fundamental understanding how components are organized in Eagle, both in the application itself as on disk. Guidelines about library design and recommendations how to use consistent nomenclature should help a user to successfully manage such collections of components, upgrade or extend them with other packages.

Libraries within Eagle

In the Control Panel within Eagle, one or more library folders may contain libraries with a long list of IC manufacturers, group of generic components or group specific symbols which can be browsed through.
When opening an existing library3), one will observe that an item in such a library has for each device or device breed (i.e. equivalent components sharing the same functions but having different packages and/or symbols) primarily three entities:

  • device: The real component, residing in a specific package with a specific symbol
  • package: Footprint in the layout
  • symbol: Drawing in the schematic

Each of these entities characterize a specific aspect of a component or component breed residing in a library.

Recommendations from Eagle for File Locations

The default location for libraries which are created when installing Eagle, can be found when clicking on Options→Directories. On OSX, this is in $EAGLEDIR/lbr, where $EAGLEDIR represents the application installation directory from Eagle. Eagle recommends to keep this directory unchanged, as software updates may overwrite files in this folder.
Your own libraries should therefore be at another location. A suitable one would be in a subfolder within your Eagle projects folder like the following structure:

  • $Home/Backup/eagle/
    • eagle_custom_libraries
      • dev_mylibrary1
      • dev_mylibrary2
    • eagle_projects
      • Arduino
      • PowerSupply
      • etc.

In order to make Eagle aware of the main custom libraries folder, just add the directory in Options→Directories. Any subfolders within this folder will be automatically used as well. For example:

$EAGLEDIR/lbr:$HOME/Backup/eagle/eagle_custom_libraries

While configuring the libraries folder, one could do something similar for the projects folder:

$HOME/Backup/eagle/eagle_projects:$EAGLEDIR/projects/examples

Nomenclature

Definition Component breed
LM385 as an example. Create library dev_auditeon in the custom libraries directory:

.../eagle_custom_libraries/dev_auditeon.lbr

The device type LM386 contains one symbol and several packages. The symbol of the LM385 is:

%%<%%image here%%>%%

For each component within a component breed, Eagle designates a different package to a separate device. For example:

  • LM385AYZ-2.5 (TO-92)
  • LM385BXM-2.5 (SO-8)
  • LM385M3-2.5 (SOT-23)

Component custom design

Describe library editor

1)
Easy Applicable Graphic Layout Editor
2)
Presuming one has the correct license for that
3)
a file with an .lbr extension, residing in a library folder
software/eagle_cadsoft.1307578942.txt.gz · Last modified: 2011/06/09 02:22 by admin