You are on page 1of 31

Eagle CD-ROM included

This book will quickly allow you to:


obtain an overview of the main modules of EAGLE: the schematic editor; layout editor and autorouter in one
single interface;
learn to use some of the basic commands in the schematic and layout editor modules of EAGLE;
apply your knowledge of EAGLE commands to a small project;
learn more about some of the advanced concepts of EAGLE and its capabilities;
understand how EAGLE relates to the stages of PCB manufacture;
create a complete project, from design through to PCB fabrication. The project discussed in the book is a
popular, proven design from the engineering team at Elektor.
After reading this book while practicing some of the examples, and completing the projects, the reader should feel
confident about taking on more challenging endeavors.

Courtesy of CadSoft Computer GmbH (www.cadsoft.de), this book is supplied with a copy of Eagle on CD-ROM for
MS Windows, Linux and Mac.

www.elektor.com
Elektor International Media

Mitchell Duncan

For the more sophisticated user a more comprehensive guide and reference to EAGLE will follow from Elektor
Publishing. Stay alert and keep watching for this!

TO
R

EL
EK

Eagle
T

The book is intended for anyone who wants an introduction to the capabilities of EAGLE. The reader may be a
novice at PCB design or a professional wanting to learn about EAGLE, with the intention of migrating from another
CAD package.

GETTING STARTED GUIDE

EAGLE can be used on the main computing platforms including: Microsoft Windows (XP, Vista or Windows 7);
Linux (based on kernel 2.6 or above) and Apple Mac OS X (Version 10.6 or higher). Any hardware that supports
these software platforms will run the EAGLE application.

RI

EAGLE is a user-friendly, powerful and affordable software package for the efficient design of printed circuit
boards. It offers the same power and functionality to all users, at a smaller cost than its competitors. A free version
of EAGLE is available to enthusiasts for their own use.

GETTING STARTED GUIDE

PY

Whether you are an electronics enthusiast or engineering professional, this book provides the reader with an
introduction to the use of the CadSofts EAGLE PCB design software package.

LEARNING TO FLY WITH EAGLE

CO

V6

Eagle V6

Mitchell Duncan

LEARNING TO FLY WITH EAGLE


GETTING STARTED GUIDE

LEARNING TO FLY WITH EAGLE

Eagle

eagle

V6

Mitchell Duncan

Acknowledgments

Part 1 - Learning to Use EAGLE

11
13

15
15
15
16
16
16
17

Introduction
Conventions Used in this Guide
Mouse Clicks
Selection of Menu Items
Use of keys
What is EAGLE and what does it produce?

EL
EK

Chapter 1 - An Introduction to EAGLE Software

TO
R

Table of Contents

CO

PY

RI

Windows
Linux
Mac OS X
Starting EAGLE
Projects
Libraries

Chapter 2 - Eagle Installation & Startup

21
21
23
23
24
26
27

Chapter 3 - Using the EAGLE User Interface

29

EAGLE Icons and Command Toolbars


Schematic Editor Toolbars
The PCB Layout Editor Action Toolbars
Command Toolbars

30
30
32
32

Table of Contents

The EAGLE Module Menus


The EAGLE Module Sub-menus
Schematic Editor Sub-menus
The File Sub-Menu
The Edit Sub-Menu
The Draw Sub-Menu
The View Sub-Menu
PCB Layout Editor Sub-menus
The File Sub-Menu
The Edit Sub-Menu
The Draw Sub-Menu
The View Sub-Menu
Navigating & Controlling EAGLE
Input Alternatives within EAGLE
Function Keys
Eagle Commands
Pan, Zoom & Screen Functions

34
34
35
35
36

EL
EK

TO
R

37

Chapter 4 - Creating Your First EAGLE Project

CO

PY

RI

Setting Up: Layers, Grids and Units


Layers: the DISPLAY Command
Grids and Units
Creating a Schematic Drawing using basic EAGLE Commands
Manipulating Objects within a Schematic
The USE Command & Libraries
The ADD Command
Adding a Frame
Adding components from a Library
Working with Objects: the COPY, MOVE, and MIRROR Commands
The DELETE Command
The UNDO and REDO Commands
Connecting Components Together
The NET Command
The JUNCTION Command
The SHOW Command
Completing the Schematic Drawing

38
39
39
40
41
42
42
42
42
44
45

49
54
54
55
57
57
57
58
58
59
64
65
65
66
66
68
69
70

Table of Contents

72
74
75
76
77
79

EL
EK

TO
R

Creating a PCB Layout from a Schematic Drawing


Setting up the Printed Circuit Board Dimensions
Placing components on the Printed Circuit Board
Inserting the tracks : the ROUTE Command
Using the Autorouter
Automatic Forward &Back Annotation
Getting Output from EAGLE
Output to a Printer
Generating Image Files
Using the CAM module - generating output for PCB Manufacturing
Generating the output files for PCB Manufacturing

81
81
84
85
86

89

General Commands
The INFO Command
The NAME Command
The Value Command
The Attribute Command
The Change Command
The Smash Command
The GROUP Command
Schematic Editor Commands
The Gateswap Command
The Pinswap Command
The Bus Command
The Label Command
The Invoke Command
PCB Layout Editor Commands & Concepts
Working with Devices
ROTATE Command
LOCK Command
Board Layers
The CIRCLE Command
The RECT Command
Polygons

89

CO

PY

RI

Chapter 5 - More Advanced Concepts & Commands in EAGLE.

89
90
91
92
92
96
97
100
100
100
101
106
107
109
109
109
110
111
112
113
116

Table of Contents

121
121
122
124
125
126

Chapter 6 - An Introduction to PCB Manufacturing

CO

PY

RI

Types of Printed Circuit Boards


Single-sided Printed Circuit Board
Double-sided Printed Circuit Board
Multi-Layer Printed Circuit Board
Fabrication of PCBs
Drilling Holes
Via and Hole Plating
Making Tracks: Photolithography & Etching or Milling
Photolithography & Etching
Laser direct imaging
Milling
Electroplating
Etching
Solder Mask Screening
Silk Screening
Hot Air Levelling
Routing and Trimming
Gerber Files

129

TO
R

EL
EK

Manual Routing
The Via Command
The WIRE Command
The RIPUP Command
The SPLIT Command
The ROUTE Command
The HOLE Command
The DIMENSION command
Restricted Areas
Electrical Rule Check (ERC)
Design Rule Check (DRC)
Example - Design Rule Errors
Mistakes to Avoid - Fatal Design Rule Errors
Libraries
The Library Editor
EDIT an Object

130
131

132
133

134
136
141
142
144

147
147
147
148
149
151
152
154
154
154
158
158
159
159
162
162
163
163
170

Table of Contents

Part 2 - Using EAGLE in a Real Project

173

Chapter 7 - A Full EAGLE Project ; Creating a Radiation Meter Counter

175

TO
R

175

179

180

184
185

187
191

192
192
192
193
194
195
197
197
197

EL
EK

Drawing the Project Schematic


USEing the Libraries
ADDing the components
Drawing the NETS
Drawing the Project PCB Layout
Drawing the DIMENSIONS and adding Holes
Placing the Components on the PCB
Laying out the Copper
Restricted Areas
Routing the Signal Tracks
Ground Planes and Polygons
Final Design Rule Check
Pouring the Ground Planes
Fabricating your PCBs
Creating the PCB Manufacturing Files
Finding a PCB Fabricator

RI

Appendix 1 - System Requirements and Features of EAGLE Package Variants

CO

PY

Professional Edition
General Features
Schematic Editor
Layout Editor
Autorouter Module
Standard Edition
Freemium Edition
Light Edition

203
203
203
204
205
205
206
206
206

Authors Note:

CO

PY

RI

EL
EK

TO
R

At the time of going to press, the most recent release version of EAGLE was V6.4. Although this
book was written for V6.0, the instructions contained herein will be accurate for the most recent
version of EAGLE.

12

Chapter 4 -

Creating Your First EAGLE Project

TO
R

You are now in a position to start creating your first EAGLE project. Well initially use the examples
supplied with EAGLE.

EL
EK

After you have mastered this section, you may wish to be more ambitious and work through the
project in Part 2 of this book; Creating a Radiation Meter Project, where you will be guided through
all of the stages in creating a complete design. This project was published in the November 2011
edition of Elektor magazine; titled Improved Radiation Meter.
Well start by creating a new project and the schematic drawing.

In this tutorial we will learn how to add all of the components in this drawing and connect them
together. Figure 4-2 is the Schematic Drawing for this tutorial. You can use this as a template from
which to draw your own schematic.

Lets begin by starting EAGLE and expanding down to the tutorial entry in the tree view by
performing the following actions:

RI

examples, next,

Projects, then ,

PY

tutorial

on tutorial and you will see a similar structure to the left pane (as in Figure 4-1).

CO

Lastly,

49

CO

PY

RI

EL
EK

TO
R

Chapter 4 - Creating Your First EAGLE Project

50

Figure 4-1. Starting a new Project

EL
EK

TO
R

Creating Your First EAGLE Project

Figure 4-2. Complete Schematic Drawing for Tutorial

CO

PY

RI

If you now
on New Project , a new project will be created and will be displayed in the tutorial
files directory tree, as shown in Figure 4-3.

51

RI

EL
EK

TO
R

Chapter 4 - Creating Your First EAGLE Project

Figure 4-3. Naming the New Project

PY

Name your new project My Project (or your preferred title) by typing in the name in the input
line and then

CO

This creates a sub-directory under tutorial, named My Project, containing all the files associated
with your project. The last used projects and user-specific settings are also stored here, in Windows,
as eaglerc.usr (~/.eaglerc for Linux and Mac)
You now need to define the path for the destination of your project directories. Type
Options > Directories

The following dialog box will appear as illustrated in Figure 4-4.

52

TO
R

Creating Your First EAGLE Project

Figure 4-4. Setting up EAGLE directories

EL
EK

You can now type in your desired location. For example, add the following to the end of the Projects
field (preceded by a semicolon):
D:\My EAGLE Projects.in the Projects field.
Now, open a new Schematic by:

My Project > New > Schematic

CO

PY

RI

You will be presented with a new schematic window as in the Figure 4-5:

Figure 4-5. New Schematic Layout Window

53

Chapter 4 - Creating Your First EAGLE Project

Setting Up: Layers, Grids and Units


Layers: the DISPLAY Command

TO
R

To enable the Eagle Editor modules to perform their task properly, objects within drawings need
to be grouped in different and separate layers, according to their purpose. These layers can also be
selected, displayed and printed as a group. In general, the default settings will suit the new user of
EAGLE.

CO

PY

RI

EL
EK

To action the DISPLAY command you simply


EAGLE will present the layer dialog
box (see Figure 4-6), which will allow you to select and de-select layers for use. Layers will be
discussed later in more detail, in Chapter 5.

54

Figure 4-6. Display Command dialog box

Grids and Units

Grids and Units


Objects cannot be randomly placed on a drawing, that is, at least not on a PCB layout. So, EAGLE
provides a grid basis for placing objects.

TO
R

View > Grid. The Grid

EL
EK

Grid size or spacing can be specified by using the menu selection:


dialog box then appears, as in Figure 4-7.

Figure 4-7. Grid dialog box

PY

RI

You are able to select from the alternative grid units of inches, millimeters, mils (1/1000ths inch)
and mic (microns or mm). When set, this value applies to all values in the drawing.
In the dialog box one can select:
i. 
the grid Size (i.e. the pitch between points on the grid) and unit (the base measurement method),

CO

ii. the display Multiple or the periodicity at which grid lines are displayed,
iii. an Alternative grid pitch which may be accessed by using the

key.

Using this dialog , you can also choose whether to display the grid or not, and its style as dots or a
solid line.

55

Chapter 4 - Creating Your First EAGLE Project

The default settings are given in the Figure 4-7 above. You may wish to change them to, say, 0.1inch
spacing (since a large number of components are based on a 0.1inch manufactured specifications)
with the Alternative grid pitch set to 0.025 inch. This will allow you to adjust some items to a finer
positioning.

EL
EK

TO
R

Your settings will be reflected in the grid and co-ordinates display, located towards the upper
left-hand corner of the window, just above the corner of the workspace itself (see Figure 4-8). The
numbers in this display comprise the selected grid size, followed by the position of the cursor, using
the selected grid unit size.

Figure 4-8. Grid Units and Cursor Co-ordinates Display

CO

PY

RI

The cursor position co-ordinates are given with reference to a datum point. This point is placed,
by default, in a new drawing, near the bottom left-hand corner of the workspace. This is illustrated
in Figure 4-9.

Figure 4-9. Cursor position Datum indicator

56

The USE Command & Libraries

The use of grids is much more important later in the book, when we begin exploring the use of the
PCB Layout Editor, since all components must be precisely positioned in order to manufacture a
PCB.
You may wish to use the following Table 4-1 to convert between the different bases of measurement

TO
R

Table 4-1. Conversion between Millmetres, Inches & Mils


Inches (inches)

Mils (mils)

1mm

0.03937 inch

39.37mils

25.4mm

1 inch

1000 mils

0.0254mm

0.001 inch

1 mil

EL
EK

Millimeters (mm)

Of course, if you are using a very small scale, use can also use microns, where:
1 micron = 1 x 10 -6 meters =1 x 10 -3 millimeters (1/1000th millimeter)= 0.03937 mils

Creating a Schematic Drawing using basic EAGLE Commands

Manipulating Objects within a Schematic


The USE Command & Libraries

RI

There are many libraries of commonly used components supplied with the EAGLE software.

PY

So, in order to begin creating a schematic, we first have to gain access to the component information
stored in the appropriate libraries. We do this by means of the USE command.

CO

The USE command tells EAGLE which libraries to make available for searching and from which
to source component data.
In your open schematic drawing, select a library to use by the following means:
Libary > Use, or by

57

Chapter 4 - Creating Your First EAGLE Project

This will open a dialog box, allowing you to select the frames.lbr library. You can select the library

TO
R

by typing the name directly into the file name text area or, scrolling to and 2x
, on the library
name. (Alternatively you could simply execute the USE command by typing USE frames.lbr into
the command line).
For our first tutorial, you should now repeat the same technique as above, and USE the following
component libraries: rcl.lbr, diode.lbr, microchip.lbr, linear.lbr, pinhead.lbr, supply1.lbr and
special.lbr. Well select the needed components from these libraries shortly.
The ADD Command

To include objects in a drawing, from a library, we use the ADD command.

EL
EK

Adding a Frame

At this point well use the ADD command to insert a frame into the drawing. (Well discuss this
command in detail later). To do this simply
in the command toolbar on the left side
of the window. A panel will appear (see Figure 4-10 ) and you should expand the frames entry
DINA4_L ).

CO

PY

RI

(by
frames) and selecting the A4 landscape format frame (scroll down and
Then press OK.

Figure 4-10. Add frame dialog

EAGLE will then snap back to your schematic window, with a red outline of the frame attached
to the cursor. Place the cursor at the desired bottom, left hand corner of your drawing and

58

Adding components from a Library

This will place a frame in to your schematic window. Then move and
window.

at the top of the

PY

RI

EL
EK

Your window should now look like that in the Figure 4-11.

TO
R

(It would be preferable to place the bottom left hand corner of your frame at the drawing datum
point as indicated in Figure 4-9. This will ensure the cursor co-ordinates correspond to positions
within the frame.)

Figure 4-11. New Schematic Editor Window with Frame

CO

Adding components from a Library

We can now proceed to add components or devices to our schematic. Again,


in the
command toolbar on the left-hand side of the window. The dialog box, as in Figure 4-12, will
appear showing the libraries available for use.

59

EL
EK

TO
R

Chapter 4 - Creating Your First EAGLE Project

Figure 4-12. Add device / select library dialog box

We are now going to add the components that comprise the project, and are listed in Table 4-2, to
the schematic. As you can see these components are in different libraries, so well have to add them
from those libraries.

RI

Table 4-2. Components List of Tutorial Project

Value

Device

Package

Library

C1

30p

C-EUC1206

C1206

rcl

C2

30p

C-EUC1206

C1206

rcl

PY

Part

10n

C-EU025-025X050

C025-025X050

rcl

C4

47u/25V

CPOL-EUTAP5-45

TAP5-45

rcl

C5

47u

CPOL-EUTAP5-45

TAP5-45

rcl

D1

1N4148DO35-7

1N4148DO35-7

DO35-7

diode

IC1

PIC16F84AP

PIC16F84AP

DIL18

microchip 1

IC2

78L05Z

78L05Z

TO92

linear

JP1

PROG

PINHD-1X4

1X04

pinhead

JP2

APPL

PINHD-1X17

1X17

pinhead

XTAL/S

QS

special

R-EU_R1206

R1206

rcl

CO

C3

Q1
R1

60

2,2k

+5V

+5V

supply1

GND

GND

supply1

Adding components from a Library

Well start by adding the first component; a capacitor, labeled C1.


Now,`

rcl. This will open the library rcl.lbr directory tree within the dialog box (as in the

Figure 4-13). Expand the section C-EU by

on the correct component.

RI

EL
EK

information in the right-hand panes of this dialog. Select it by

TO
R

Youll now see, by scrolling down, the capacitor named C-EUC1026, together with descriptive

PY

Figure 4-13. Add device dialog box

CO

Now
. EAGLE will skip back to the schematic window with the symbol for the capacitor
highlighted in red, and connected & floating with your moving cursor. As you move your cursor
you will see the coordinates in the upper left-hand of the window change. These give the cursor
position, and therefore your component placement relative to the drawing datum.
Place your cursor, and the component in the desired location and simply
command).

(to end the ADD

The capacitor has now been added to the drawing.


An alternate method of adding a component is from the EAGLE Control Panel. If you have a
schematic drawing open you can use this technique.

61

Chapter 4 - Creating Your First EAGLE Project

Expand the libraries tree by

Libraries . Scroll down, using the middle scroll bar until you

RI

EL
EK

TO
R

see the rcl.lbr library. Expand it with


.rcl.lbr. Now select the device C-EU by
on it.
You will see a symbol diagram, a package diagram and some descriptions appear in the right-hand
pane of the window as shown in Figure 4-14.

Figure 4-14. Component Description and Package in the Library

PY

Move your cursor over to the right-hand pane and


the first Device in the list (for example).
The word ADD should appear, underlined, to the right of the Device name (as in Figure 4-15).

CO

Now, scroll down in the right-hand pane until you see EUC1206,
then
on ADD
(see Figure 4-15 ). Now move your mouse to to the schematic drawing with that device attached
to the cursor, ready for placement. Place the device with

62

EL
EK

TO
R

Adding components from a Library

Figure 4-15. Selecting a Device to add to a schematic

However, you may change the orientation of the component before placing it by repeatedly

The component will rotate through 90 with each click.

CO

PY

RI

You should now proceed to place all of the components from Table 4-2 into the drawing. After
completing this, your drawing should look something like Figure 4-16.

Figure 4-16. Tutorial Schematic with only components

63

Chapter 4 - Creating Your First EAGLE Project

Working with Objects: the COPY, MOVE, and MIRROR Commands

You can manipulate objects in your drawing by using a set of commands designed for that purpose.
These are the the COPY, MOVE, ROTATE and MIRROR commands. They perform as their names
suggest.
Using these commands you can correct any positioning of components. When using a command

To terminate a command at any time use

TO
R

and you need to select a component, you should


on the + approximately in the centre of the
component. This point is used to indicate the center of the device for manipulation.
.

EL
EK

The COPY command allows you to replicate objects already in a drawing. Simply
then
on the object you wish to copy. To place the new device,
where you would like the copied object to be placed.

and

on the point in the drawing

The MOVE command simply allows you to move an object to another point. You just

then
on the object you wish to move. Then, move the cursor to the desired position and
place the object.
on the device.

the device rotates though 90, anticlockwise.

With each

and then repeatedly

ROTATE allows you to rotate a device by

to

PY

RI

The MIRROR command essentially flips a device on its vertical axis, producing a mirror image
of itself. All connections remain intact. The MIRROR command could be used when placing
components on the underside of a PCB, but when viewed from the top. To action the MIRROR

CO

command
and then
the PCB layout Editor.

64

on the device you wish to flip. This command is mainly used in

The UNDO and REDO Commands

The DELETE Command

The DELETE command is used to delete objects from a drawing or PCB layout.

nets and buses. Simply


and then
be removed from the drawing.

TO
R

If youve made some mistakes in the previous section while adding components to your drawing;
dont worry, they can be removed quite easily with the DELETE command.
You can use the DELETE command on most objects in a drawing including; components, wires,
on the object or component to be deleted. It will then

When using the DELETE command on nets, wires or buses, it deletes one segment at a time.

EL
EK

To delete the whole construct, press the


while deleting the object. With the DELETE
command you can also delete groups of objects (more about this later).
Similar principles apply to the use of the DELETE command in the PCB Layout Editor. You can
delete any and all objects including; component devices, wires, pads, vias and text.
The UNDO and REDO Commands

The UNDO and REDO commands are the EAGLE users best friends.

RI

They are executed using these icons:


.
for UNDO and
to run the
REDO command.
EAGLE keeps an unlimited undo function. This allow you to either immediately correct a
inadvertent mistake, or backtrack through a long series of actions to a prior configuration.
The REDO command allows you to reverse an action performed by the UNDO command.
A very convenient facility within EAGLE is the UNDO LIST. You start the facility by

CO

PY

Edit > Undo/Redo list...


A dialog box will then open similar that in Figure 4-17, displaying a list of actions that can be
selectively done/undone. You should experiment with this function to become familiar with it.

65

EL
EK

TO
R

Chapter 4 - Creating Your First EAGLE Project

Figure 4-17. Undo List

RI

the PCB Layout Editor.

The reader should note that all of the above commands can be used in the same way within

PY

Connecting Components Together


The NET Command

CO

The NET command is used to draw signal connections between points e.g. between a pin on
a semiconductor component and a connector pin. A pin has a specific meaning in EAGLE, and
defines a net connection point. A net defines the relationship between interconnected points on
the same functional signal or electrical net(work). However, the net may not resemble the final,
physical layout of any subsequent, wiring in the finished PCB.
To show the pins in a schematic, use the DISPLAY command, and

. The familiar dialog

box will appear, as described above. Now


93 Pins and then
. The drawings
components pins should now be highlighted with a green circle. An enlarged section of the drawing
illustrates this, in Figure 4-18.

66

EL
EK

TO
R

The NET Command

Figure 4-18. Schematic with components & pins

Start the NET command by


window.

. A small cross-hair cursor will appear in the schematic

You can now begin connecting the pins on each component, by using the NET command, to

CO

PY

RI

complete the schematic.


on the first pin of the connection you wish to make, then navigate
towards the terminating pin. The process looks like the Figure 4-19.

Figure 4-19. Drawing with the NET command

67

Chapter 4 - Creating Your First EAGLE Project

After starting the NET command, you will also see a new toolbar appear in the main toolbar area,
across the top of the schematic. It looks like Figure 4-20.

TO
R

Figure 4-20. The NET parameter toolbar

This toolbar allows you to change attributes before and while drawing the net. For the moment well
leave the default settings as they are. The left-most part of this toolbar has a series of angled and
curved lines on it. These are known as bend modes. While using a NET command (i.e. the cross-

EL
EK

hair cursor is visible), you can change the bend mode of the net line by repeatedly
the style indicator change across the toolbar.

. You will see

End the NET command by


on the terminating pin. Try experimenting with this command, as it
will be helpful when we deal with another command later in the PCB layout editor. If you make a
mistake in connecting a net you can always remove it with the DELETE command.

The JUNCTION Command

If you connect one net line onto another , EAGLE generates a connection between
the two nets. This can be set to occur automatically or be turned off by:

RI

Options > Set > Misc and selecting the Auto set junction option.
If the option is de-selected (set to manual) then you can create a junction between nets by using the

CO

PY

JUNCTION Command. To do this:


and a cross-hair cursor will appear in the drawing,
associated with a light green dot. You can see this in action in Figure 4-21.

68

TO
R

The NET Command

EL
EK

Figure 4-21. Using the JUNCTION command

Move the dot onto the intersection of nets you wish to join, and a dialog box with a warning will
appear, similar to that in Figure 4-22.

RI

Figure 4-22. NET merge warning dialog

This displays the net segment you wish to merge with an existing net. If this is what you want, then
. This will place a connecting node at the junction selected.

PY

respond by

The SHOW Command

CO

The SHOW command is used to display names and other details of objects. It can be used on nets,
signals, devices and components.
By way of example, to show the net GND, simply :

and then move the cursor to the

connection point of IC1 pin 5 (VSS) and


. EAGLE will highlight the net wires and each pin
connected by this net, as well as the pin name of each part to which it is connected. Also, the status
bar (at the very bottom of the drawing window) will display Net: GND, Class :1 power. These are
the details of this net.

69

Chapter 4 - Creating Your First EAGLE Project

The SHOW command remains active until terminated, which you can do by

or

You can also SHOW an object by activating the SHOW command and typing the name of the object

TO
R

in the command line, then


. EAGLE searches for, and highlights, the object when it is found.
If EAGLE fails to find the object, a window appears with a - in the Sheet column of the display.
You can also select additional objects without the need to reactivate the SHOW command. You can
again on a

EL
EK

cumulatively select objects by


+
on each object to be highlighted. (
highlighted object to remove the highlight).
Completing the Schematic Drawing

CO

PY

RI

You should now, with a combination of the above commands and techniques, be able to complete
the schematic drawing, as illustrated in Figure 4-23.

Figure 4-23. Tutorial Schematic Complete

There is one final step to finalizing the schematic, and to make sure is can be used to prepare a
printed circuit board layout; the Electrical Rule Check (ERC).
The Electrical Rule Check (ERC) is used to test schematic drawings to ensure they are free
from electrical errors, and to indicate possible sources of error before fabrication. This should
be performed on every schematic drawing before finalizing it for other work. The ERC does not

70

The NET Command

diagnose errors - unfortunately that is up to you !


. The check will find 4 warnings in our demonstration file

EL
EK

TO
R

To invoke the ERC command


as in Figure 4-24.

Figure 4-24. Electrical Rule Check Warnings and Errors

These are:

POWER Pin IC1 VDD connected to +5V


POWER Pin IC1 VSS connected to GND

RI

Part Q1 has no value

Part F1 has no value

The messages inform you that:

CO

PY

i. the power pins are connected to signals other than expected. The power pins were named VSS
or VDD in the library but are connected to GND and +5V. In the tutorial this has been done on
purpose;
ii. components F1 and Q1 have no assigned values. This is not critical, since F1 is the Frame
around the drawing, and Q1 is the crystal. We can assign its value at a later time, if necessary.
It will not prevent us laying out a PCB, since we know its package type.

If you now
on the first entry, EAGLE will show you, by using a line and box, the location of
the reason for the problem in the schematic. We can remove them by
each one in turn. However, this is not advised as a working technique, since
warnings should be avoided or resolved.

71

Chapter 4 - Creating Your First EAGLE Project

If you havent been able to complete the demo drawing yourself, you may just simply keep it by
File > Save as. A dialog box will open and you can save your tutorial at this point with
. You can open it at any time to practice your

TO
R

whatever name you choose and


EAGLE user interface skills.

Creating a PCB Layout from a Schematic Drawing

EL
EK

You may create a PCB (Printed Circuit Board) layout starting from either a schematic drawing or
using only the PCB Layout Editor. Well continue our tutorial by choosing the option of using a
schematic drawing as the starting point. In doing so well use the EAGLE PCB Layout editor after,
deriving all required information from the schematic.
If you havent already got the demonstration schematic file (demo1.sch) open, you should open it

CO

PY

RI

now by using
File > Open, and then navigating to the file under projects > examples >
tutorial. Youll see the, now familiar, diagram as in Figure 4-25.

Figure 4-25. demo1 schematic drawing

72

You might also like