Documente Academic
Documente Profesional
Documente Cultură
This is a short tutorial on using the Eagle Layout Editor from CadSoft, version 7.1.0, for
schematic entry. This software is used for entering schematic diagrams and designing printed
circuit boards (PCBs). You can download it from: http://www.cadsoftusa.com/download-
eagle/?language=en . The first time you start EAGLE, you will be asked whether you have a
personalized license disk, or whether you want to run EAGLE as Freeware. To use the Freeware
license select the Run as freeware button.
There are written tutorials online1; however, I found it more helpful to watch some video
tutorials. Here is a good video tutorial that covers the user interface, and shows how to draw a
schematic: https://www.youtube.com/watch?v=1AXwjZoyNno.
Creating a Schematic
Start Eagle; this will bring up the Control Panel window shown in Figure 1.
To create a schematic, select New-> Schematic. This brings up the window shown in Figure
2. We can now start inserting parts from the part libraries that are stored in Eagles library
directory. On my computer, this is in C:\EAGLE-7.1.0\lbr. Note that if there are folders
in that directory, it doesnt look inside the folders (i.e., it just finds all the *.lbr files at the top
level).
1
See http://www.cadsoft.de/wp-content/uploads/2011/05/V6_tutorial_en.pdf.
1
Although there are a very large number of
parts in the directory, you may still find that
the part you need is not in the directory. You
can look to see if the manufacturer has an
Eagle library you can download; if not, you
can create your own Eagle part (described in
the next section).
In the list of parts, pick the library called resistor and the device called R-US. This will
show a bunch of variants of that device, each with a different physical package. For example,
the one selected in Figure 3 is a package that fits 2.5 mm holes.
Since we are just interested in drawing a schematic diagram, we dont really care about which
package is used, so any of these are ok. All we care about is the symbol that will appear on our
schematic diagram. Of course, if you are ultimately going to design a PCB, you do need to
select the device with the correct package type.
2
Click OK on the window. The window will disappear and you can add the part to the
schematic diagram by clicking on the diagram. Click on the STOP button ( ) at the top of
the screen to get out of the add-a-part
mode.
the STOP button. If you want to move your symbols around, hit the Move button ( ) at the
left side of the screen. Then click on the part you want to move and move it to the new place.
Again, to get out of that mode, hit the STOP button. To rotate a part that has already been
placed, select the Rotate button ( ). Then click on the part to rotate it. Each click rotates
another 90 degrees.
Now lets add the symbol for our microcontroller. Recall that the microcontroller chip is on the
little daughter board (the Nanocore module) that plugs into the SSMI board, and the pins come
out to header H1 on the SSMI board. Instead of drawing the symbol for the microcontroller
chip, and all the circuitry on the daughterboard, we will just draw the interface to the Nanocore.
Any circuitry you develop in labs or for final projects will simply interface to the Nanocore.
We have created a symbol for the Nanocore module, which is in a library called
EENG383.lbr. Download this library from the course website. To tell Eagle to use this
library, select Library->Use from the menu at the top of the schematic entry window.
Then browse to wherever you have saved the library file, and select it.
3
Select the add a part button again and find the EEGN383 library from the list of libraries.
Find the device in that library called NANOCORE. Add that device to the schematic.
To include your schematic into a lab report, you can simply capture the screen (on a Windows
computer, this is the key combination ALT-PRINTSCREEN). Then paste the image into a
Microsoft Word document. You can crop the image after pasting it in, to hide the window
borders. In Word, you right click on the image and select the crop button, which looks like
this ( ).
Creating a Part
If you need a part that is not in the library, you can always just draw it in the schematic entry
window, using the Line tool ( ). However, it is almost as easy to create a part that can be
put into a library. This has the advantage of being able to reuse it; also it is much easier to move
it around.
To make a part, you have to define the symbol (which goes on the schematic diagram) and a
corresponding package (which specifies the physical size and layout, for the PCB). These two
are linked into a device.
If you want additional detail beyond this introduction, these tutorials are helpful:
http://www.youtube.com/watch?v=RIfX3fxSpNY (Part 1, shows how to make the package)
4
http://www.youtube.com/watch?v=1z9yUyguSzA (Part 2, shows how to make the symbol)
Go back to the main Control Panel window and select File->New->Library. This
should bring up an empty library window as shown in Figure 6.
Select the Symbol button at the top of the screen, which looks like this ( ). This will bring
up another window as shown in Figure 7. Type the name of your symbol in the box. For this
tutorial, we will make a simple 3-pin part called GP2D120. Then click OK.
After clicking OK on the Edit Window, it should bring up the symbol editor window. Click
on the Draw a pin button on the left side, which looks like this ( ). Place three pins on the
screen. The result should look like Figure 8.
5
Figure 8 Symbol editor.
Select the rotate tool (refer to the previous section if necessary to see how to do this) and rotate
the rightmost pin 180 degrees. Move the pins if necessary to space them apart. Next, draw an
outline of the package using the draw a line tool ( ). The result should look like something
like Figure 9.
Click on the Name button on the left ( ). Click on each of the pins in turn, and rename
them, to VCC, GND, and VOUT, respectively.
Click on the Text button on the left ( ). This will bring up a window for you to type in a text
string. Type >NAME and click OK. Before placing the string onto the diagram, go to the
top of the Symbol editor window and change the layer from Symbols to Names (see Figure
10). Then place the string above or below the part. Select the STOP button to get out of this
mode.
6
Figure 10 Selecting the "Names" layer.
Select the Text button again and this type create a string called >VALUE. Before placing
the string onto the diagram, change the layer to Values. Then place the string above or below
the part symbol. The final completed symbol is shown in Figure 11.
This is a good time to save your work. Save the library in a location for which you have write
privileges.
7
Now create a package. If you really intended to design a PCB, you would be very careful about
specifying the correct dimensions and outline for the part. However, since we are just interested
in the schematic, we dont care about those things. The only thing we need to do is to create a
dummy package with the same number of pads as we have pins on the symbol.
On the library window, select the Package button at the top of the screen ( ). Type a name
for the package (you can use the same name as for the symbol) and click OK. This will bring
up the package editor window. Select the Draw a pad button ( ) at the left, and place three
pads on the screen. It doesnt matter where they go. The result should look something like
Figure 12.
8
Figure 13 Device editor window.
Finally, click on Connect at the lower right corner of the window. This will bring up a
window as shown in Figure 14. Click on Connect three times. This will tell Eagle to connect
the three pins from your symbol to the three pads on your package.
Click OK to exit this window. Save the library and exit the library window. You can now use
your device in your schematics!