eagle library tut

10
 pplications Note 3.0 Creating Parts in Eagle Before I enter into details of how to create parts with EAGLE, let me begin with explaining an overall idea of it. hen creating components wi th EAGLE, it consist of ! steps. If "o# are not incl#ding a schematic, onl" follow the steps in defining a pac$age. The 3 steps we are Package, Symbol and Device. The whole idea is to initially create your package or the physical footprint of your component, then create a schematic symbol representation of it, then create a Device, which is the union of the symbol and the package. This may sound a little confusing at the time, but it will make a lot of sense in a little. Currently !"# consist of appro$imately %&' libraries. There will be occasions that the entire component you need is not included in our library but maybe one of its components is. (or e$ample we may have the Package or a Symbol for a particular )C. !"# has the ability of Cutting and Pasting Symbols and Packages between libraries. Devices may not be transferred between libraries. Eagle PCB Technical Applications Note R.L Pauly Electronic Design %. L. Pa#l"

Upload: nacional007

Post on 03-Jun-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 1/10

 

pplications Note 3.0

Creating Parts in Eagle

Before I enter into details of how to create parts with EAGLE, let me begin with explainingan overall idea of it. hen creating components with EAGLE, it consist of ! steps. If "o#are not incl#ding a schematic, onl" follow the steps in defining a pac$age.

The 3 steps we are Package, Symbol and Device. The whole idea is to initiallycreate your package or the physical footprint of your component, then create aschematic symbol representation of it, then create a Device, which is the union ofthe symbol and the package. This may sound a little confusing at the time, but itwill make a lot of sense in a little.Currently !"# consist of appro$imately %&' libraries. There will be occasionsthat the entire component you need is not included in our library but maybe one ofits components is. (or e$ample we may have the Package or a Symbol for aparticular )C. !"# has the ability of Cutting and Pasting Symbols and Packagesbetween libraries. Devices may not be transferred between libraries.

Eagle PCB Technical

Applications NoteR.L Pauly Electronic Design

%. L. Pa#l"

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 2/10

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 3/10

Cutting and Pasting et!een liraries

"irst egin !ith teaching you ho! to open a lirary #or editing purpose. "ro$ the

control panel clic% on "&LE'(PEN'L&BRAR). This !ill open a dialog o* sho!ing a

path and all o# the liraries in that particular path. By de#ault EA+LE !ill install all

o# the liraries in the directory C,-PR(+RA "&LE/-EA+LE-LBR.

/elect the lirary that contains the Pac%age or /y$ol you !ant trans#erred to

your o!n lirary.

)ou !ill notice a lan% screen !ith certain tool ars actie. "ro$ here you $ay

select i# you !ant to edit a sy$ol or a pac%age. "or this e*ercise !e !ill select

to edit a pac%age.

Clic% on the Edit a Pac%age &con. A dialog o* !ill appear !ith all the

Pac%ages in the present lirary. /elect the pac%age you !ant to trans#er and

clic% (1. )ou !ill no! e located in the pac%age editor section !ith the

pac%age located in the center o# your screen. To select the current pac%age use

the group icon. Ta%e your $ouse cursor and clic% !ith your le#t $ouse %eyand drag a rectangle to coer your entire pac%age. hen you release your

$ouse cursor you !ill notice all the ite$s in your pac%age !ill highlight. This

$eans the pac%age has een selected. No! clic% on the cut icon place

your $ouse cursor any!here in the dra!ing area and press your right $ouse

utton. This !ill place this current pac%age in the EA+LE clipoard. No! you

$ay close the lirary and open another lirary or create your o!n. hen you

close the lirary you !ill located at the EA+LE Control panel. "ro$ here you $ay

clic% on "&LE'(PEN'Lirary or clic% on "&LE'NE'Lirary. A#ter you hae opened

another lirary clic% on the edit pac%age icon !hen the dialog o* appears

you !ill notice a #ield on the otto$ that says ne! type in the

3

!"#Control Panel

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 4/10

na$e o# the ne! pac%age you !ish to create. )ou could use the sa$e na$e o#

the pac%age #ro$ the preious lirary. Clic% on (1 EA+LE !ill pro$pt you i# you

!ish to create a ne! pac%age select (1. This !ill ring you to a editor screen

!ith a grid. Clic% on the paste icon and you !ill notice as you $oe your

$ouse cursor that the pac%age is no! attached to it. Place the pac%age

any!here on the screen. e pre#er to place the co$ponent !ith the origin o# the

page in the center o# the pac%age. This $a%es it easier to select on the oard

layout leel.

&ollow the same steps for a schematic s"mbol.

/u$$ary

'( )pen the librar" that contains the pac$age or s"mbol "o# want to transfer.

*+ dit the package or symbol you wish to select.3+ Create a group around the item you selected.+ Click on the cut icon and place your mouse cursor anywhere in the drawing area and click

with your right mouse key.&+ -pen your new library.+ Create a new package or symbol by selecting the appropriate edit icon./+ "ive you component a name on the bottom of the dialog bo$.0+ Click on the paste command.

dit a package "roup Paste

dit a symbol Cut

Pac%age De#inition

 As I mentioned before a Pac$age is the ph"sical footprint of "o#r component. It is ver"important "o# gather the proper data for the pac$age in regards of pads spacing, diameterof pad and the si*e of the drill for the pad as well. After gathering, all of this information letsproceed to create the pac$age. &rom the control panel clic$ on &ILE+E+Librar" if "o#are creating a new librar" or clic$ on &ILE+)PE+Librar" to add to an existing librar".

 !fter opening the library, you will be at the initial component library editor

screen. Click on the D)T P!C1!" icon to create a package. 2hen the

dialog bo$ appears towards the bottom you will notice a field with the word 2 tothe right of it. Type in the name of the package you wish to create in the empty field,Click -1. !"# will prompt you to create a new package, simply acknowledge bypressing the -1 button.

!t this time you will be located at a blank screen with a grid turned on. The defaultgrid setting are .'& inches. 4efore you proceed to drop your pads set the grid tomatch a factor of your pad spacing.(or e$ample, if my pad spacing is .'& inches ) will set my grid to .'*& that way )know that ) place a component at every other grid intersection.

4

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 5/10

ow to set the pad si5e. )f you are going to work with through hole pads you shouldfirst set the pad diameter and the drill si5e. Click on the change icon and select

the diameter option. ow select the appropriate diameter. Click on the change iconagain and this time select the drill option and select the proper drill diameter. #ast,select change again and select the option shape and select the appropriate padshape you wish to use. ow proceed to use the pad icon to place pads on

your package. 2hen placing your pads they will automatically getnumbered for you. )f you want your pads to be numbered differently simply typethe number in between single 6uotes and !"# will continue this se6uence.

(or e$ample, the first pad that gets placed will be numbered P7% the second will beP7* and so on. To change this se6uence type the number in single 6uotes 8%9. owthe first pad will be % and the second one will be * and so on. :ou can also use thename icon to name your pads.

!fter placing your pads you may want to create a silk screen for your component.The silk screen is done by drawing a wire around your component on the Tplace

layer. Click on the change icon and select the option layer and select the Tplacelayer. ow select the wire icon and proceed to draw your silkscreen. :ou

may also want to use other drawing shapes for your silk screen such as !rc, Circle,;ectangle or circle.

ow that you are done with the component outline lets proceed to place fields forthe name and the value of the component. Click on the change icon and select theoption layer and select the Tname layer. Press the te$t icon and in the dialog

bo$ type <!= and click -1. Place the s6uare bo$ that appears on you mousecursor wherever you want the name of the component to appear.

 :ou place the te$t by pressing the left mouse cursor.

T o place the value, click on the change icon and select the option layer and clickon the Tvalue layer. Press the te$t icon and type <>!#? and place this te$t bo$wherever you want the value te$t to appear.

@@@noteA !s you can notice the silkscreen actually consist of 3 layersA Tplace,Tname and Tvalue. The reason behind this is that it gives the user the option ofturning on or off certain layers for viewing or printing purposes.

 :our package is finished. )f you don9t have the !"# schematic editor you will notbe able to proceed with the ne$t steps.

5

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 6/10

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 7/10

  ow is to create the s"mbol sil$screen. 0his sil$screen is #sed to easil" identif" thecomponent on the schematic. /o# ma" #se the wire command on the s"mbol la"er oran" other shape "o# ma" need on this la"er. /o# might want to change grid si*es ifnecessar", b#t ma$e s#re to p#t "o#r grid to the defa#lt settings before saving thecomponent.

  e are on o#r final step for the s"mbol. ow its time to provides fields for the ame andthe 8al#e of the component. 0his is ver" similar to the Pac$age 9efinition section. Clic$ onthe Change Icon and select the option LA/E%, select the A4E la"er. 0hen clic$ on the0ext Icon and t"pe the word :A4E and clic$ );. 0his text will appear on "o#r mo#sec#rsor in the form of a rectang#lar box. Place this box where "o# want the name of thecomponent to appear on the schematic. Clic$ on the left mo#se b#tton to place "o#r text.%emember "o# ma" rotate "o#r text while attached to "o#r c#rsor b" pressing the rightmo#se $e".

Clic$ on the Change Icon and select the La"er option and select the 8AL3E la"er. owselect the 0ext Icon and t"pe :8AL3E, place this text wherever "o# want the val#e of thecomponent to appear.

#mmar"

'( )pen the librar" that contains the s"mbol "o# wish to edit or the librar" where "o# want to create anew s"mbol.

6( Clic$ on the Edit "mbol Icon. )n the dialog box that appears, select the s"mbol "o#r are going toedit or in the E field provide a name for a new s"mbol.

!( Place pins. 7Pin Icon(

<( ame Pins. 7ame Icon(

=( Give "o# pins the proper direction. 7Change Icon + La"er(

>( Create a s"mbol sil$screen on the s"mbol la"er. 7Change Icon + La"er+"mbol(

?( Create the :A4E field on the name and the :8AL3E on the val#e la"er.

Icons to be #sed-

Edit a "mbol Change ire

 Pin 0ext

7

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 8/10

9evice 9efinition

0he 9evice is the final level when creating components with EAGLE. At this stage "o# willcreate a relation between the pac$age and the s"mbol. hen editing the device "o# willnot do an" drawing s#ch as wires or an"thing of the sort.

If "o# are in the librar" editor mode alread" clic$ on the Edit 9evice Icon and select thedevice to edit or the new device "o# wish to create. If "o# are at the EAGLE control panelclic$ on &ILE+)PE+LIB%A%/ and select the librar" to edit.

 After entering the device editing mode "o# will notice a blan$ screen. Clic$ on the AddIcon to add a the schematic s"mbol on the device. Place as man" s"mbols that arecontained in this pac$age. After placing all of the s"mbols needed clic$ on the top sign.ow the "o# have place the s"mbol "o# wish to #se we need to let EAGLE $now whatpac$age is going to #se with that s"mbol. Clic$ on the Pac$age Icon. ow "o# will be ablethe see a list of pac$ages in this librar". elect the appropriate pac$age and clic$ );. /o#will not notice an" change.

Clic$ on connect Icon to begin ma$ing or assigning the Pin to Pad relation. /o# will notice

a pop #p box with ! col#mns.

0he first col#mn has the names of "o#r pins, the col#mn in the middle has the padn#mbers and the third col#mn will be blan$. In bottom of the dialog will appear a largeb#tton that sa"s connect.

0o create a relation between a pin and a pad simpl" highlight the pin on the first col#mnthen highlight the pad "o# wish to assign it to in the middle col#mn and press the connectb#tton. ow that pin+pad assignment will appear in the third col#mn.

If "o# notice in thefirst col#mn wherethe name of thepin is located "o#will see a G5'parameter. 0hisrefers to the gatewhich is beingrefer to. If "o# hada m#lti@gates"stem "o# wo#ldnotice a G56, G5!and so on b#t thepin names wo#ld$eep repeating it

self.

8

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 9/10

 After "o# have completed "o#r pin + pad connections "o#r device is now created. If "o#find that "o# ma" have made a mista$e in "o#r connections, "o# can select 9isconnect tobrea$ the connection and start over again. hen "o# are done with "o# connections clic$on the save tool b#tton or select file and save to store the device in "o#r librar". 0hisdevice is now available to #se in "o#r design. I wo#ld s#ggest creating a librar"name.logfile to add additional entries or corrections to "o# librar". A sample 2.log template wass#pplied with this applications note.

In Concl#sion-

This applications note has been created in order to help fellow Eagle users with their

design efforts. Although great care was taken to make this document as accurate as

 possible, it should be verified. R.L. Pauly Electronic esign is not responsible for e!tra

design or manuafacturing costs as a result of this document. This document has been

created free of charge for Eagle users. Any comment concerning this document is greatly

appreciated and can be sent to"

Bob Pa#l"%.L. Pa#l" Electronic 9esignEmial- rpa#l"pd.net

If "o# wo#ld li$e to learn more abo#t services for EaglePCB offered b" %.L. Pa#l"Electronic 9esign please #se the Email address above or cons#lt the 9)L)A9section of the Cadoft website. /o# can also send the form below for information.

  C#t here

Please send more more information abo#t EaglePCB services and prod#cts

ame Phone  

 Address- Email- 

   

send to- %.L. Pa#l" Electronic 9esign

'6D> Eagle La$es, &riendswood, 0 ??=<>

9

8/12/2019 Eagle Library Tut

http://slidepdf.com/reader/full/eagle-library-tut 10/10

:0