Escolar Documentos
Profissional Documentos
Cultura Documentos
of Contents
Introduction
General Circuit Acronyms
Schematic Terminology
Board Terminology
Final Thoughts
Creating Projects, Library, and Schematics
Creating a New Project in Eagle PCB
How to Add Libraries to Eagle PCB
How to Create a New Schematic
Video Tutorial
Creating a Schematic
Top toolbar in Eagle PCB Schematics
Left Toolbar in Eagle PCB
Menus in Eagle
Video Tutorial
Add a Part into a Schematic
How does the ADD Window Work?
Which part should I choose?
How to Add a Part
Video Tutorial
Final Thoughts
Draw an Electrical Connection
Explanation: Voltage Divider
Adding the Parts into the Schematic
Draw a Net
How to add a Net Junction
Video tutorial
Introduction
Welcome to the handbook for PCB desing using Eagle software. In simple terms, a PCB is
a physical board with electrical components which performs one or many electronic-based
activities. I will share my expertise in PCB schematic and board design through the use of
the Eagle PCB tool.
Which PCB Software will the Tutorials use?
I chose Eagle PCB because it is widely used by the beginner (DIY) community and has
a number of pre-made component libraries, e.g. resistors, integrated circuits, among
others, available. However, you can use any PCB software and the same principles will
apply.
What will I Learn?
In Part 1, you will learn how to:
Setup of PCB software to create projects, schematics, add libraries, among others
Definitions of important options and menus
How to add components
How to make electrical connections
How to label and add text for clarity
Tips and tricks on how to create an effective schematic
Tips and tricks on choosing components
Definitions and Acronyms
Designing a PCB with Eagle CAD tool can be a tough task. Not only does it require
knowledge of electronics but learning the jargon takes time. In this tutorial, I will layout
the various terminology you should know when trying to make a PCB. Achieving an
understanding of such acronyms and terminology will ease communication with other
people excited about taking their conceptual electronic circuit to a final board with CAD
softwares. Lets begin.
General Circuit Acronyms
Integrated Circuit (IC)
This is the brains of an electronic circuit. In most cases, you will use some sort of IC in
your design. As an example, a microcontroller is an IC. You will purchase ICs through
stores, such as Sparkfun.com. If your design requires computation and/or an interface to a
computer, you will use a microcontroller and in this case, you may resort to an Arduino
due to its easy-of-use.
SMD
This stands for Surface Mount Device. These are the small electronic parts (resistors,
capacitors, among others). In general, these are not your typical devices used in
breadboards or for testing. They are usually used on PCBs. They have a small footprint to
save space.
There are various sizes of typical SMD technology. They range from 0402, 0603, 0805,
1210, and more. The 0402 SMD parts are smaller than the 1210. The large components
(1210) take more space on your PCB. Therefore, depending on the size of the PCB and
your design, you can use smaller or bigger size. However, do note that the smaller sizes
are more difficult to solder.
GND
VCC/Vin
This refers to the input voltage from an external source. The input voltage can be obtained
from AC power outlets, batteries, or even solar panels. In general, anything that can
supply power to the circuit. VCC is relative to GND. You can see an example of VCC in
the below image.
Schematic Terminology
Net
This is a virtual representation of a wire. In the real-world, you would use wires to make
connections between different components and ICs. On PCBs, wires are never used
instead a copper route is created on the PCB board. Such a route is represented in the
softwares by nets.
Pin
This is a connection point in an IC or component. For example, a resistor has two sides
which can be seen as two pins. An IC can have as low as 3 pins to as many as 128 pins
and beyond. As a designer, you will add net connections to these pins. In the image, the
VCC component has a one pin, which needs a connection.
After creating a schematic, you will run the ERC check. This will make sure you follow
the basic rules of electronics. It will generate errors, if for example, you connect VCC and
GND together. It will also give warnings (not errors) if some of the pins on ICs do not
have connections.
Board Terminology
Wire
After creating the schematic, you can now transfer that over to create the PCB board. Each
net created in the schematic now has a corresponding wire in the PCB board layout. This
is a visualization tool to show you that a physical copper connection must exist, otherwise
your circuit will not perform as designed. This wire can be see in the image in yellow
color. The items R1 and R2 are PCB representation of resistors (0402 size).
Route
Using the wires as a visualization, you can route those connections. A route is made of
copper when the PCB is being manufacture.
Vias
A via is a physical hole (with conductive copper) on the PCB board. If you are attempting
to create a compact PCB, then the routing may touch either SMD components or other
routes. This cannot happen because then you are mixing signals, e.g. VCC and GND
cannot touch. Thus, you can create a via which connects to a wire. This via then goes to a
second layer on the board (we will deal with only 2 layers representing the top and bottom
of the physical board). This second layer will be the bottom of the board where there may
be no or a few SMDs, e.g. resistors. This technique gives you more room to work with.
Layers
In these tutorials, I will deal with 2 layers for simplicity. Note that in most designs, 2
layers are enough. In this case, the two layers are referred to as the top and bottom, and
correspond to the two sides of the PCB. Copper routes can be created on both layers.
Similar to the ERC in Schematics, the DRC is the final check before being sent to be
fabricated. The DRC ensures your design meets the standards set forth by the fabricator.
This check includes verifying the physical size of the board, width of routes, diameter of
vias, number of layers, distance from the edge of the boards to the nearest SMDs, and
much more. The DRC check can be a life-save since without it, you would have no way of
knowing if the PCB will turn out as planned. Most of the time the fabricators will provide
a DRC file for you to use. You will then run your design through the DRC file to see if it
everything works as planned.
Final Thoughts
I have laid out the acronyms and definitions you will need to succeed in creating your first
PCB. Of course, there are many more definitions. If you would like to see a list of all
definitions, refer to the glossary. However, these mentioned jargons are enough to begin
learning PCB design.
Creating Projects, Library, and
Schematics
In this tutorial, I will cover three basic aspects of Eagle PCB. They include creating a
project, adding a library, and lastly, creating a schematic. After following these steps,
you will know how to start off a new project and at the same time, understand the
softwares options. A step-by-step procedure is discussed below and a video tutorial is also
provided at the end of this tutorial. Before we begin, make sure to download the software.
If you need help with installation, please browse the Eagle website for instructions. Next,
determine a location where you would like to save your PCB files. Make sure this location
is accessible.
Creating a New Project in Eagle PCB
I am using a Macbook Pro laptop, however, the same menus exist for Windows 7/8
operating systems. To create a project, follow these steps:
I named my project 12CAD.com Tutorial. You can name the project however you
would like. If these steps are successful, you should see the project in the Eagle Control
Panel under Project option. The next image (Figure 1) shows this clearly.
The different components available in the library can be seen in Figure 3. Your library
should look similar. If it does, you have successfully added a library to Eagle. Good job!
How to Create a New Schematic
The last step in this setup tutorial is creating a new schematic. The schematic is the most
important aspect of the PCB, which allows you to make a layout of your circuit. It dictates
which components will be in your circuit and how they are connected. Each project, in
this case, 12CAD.com Tutorial must have a schematic attached to it. To do so, follow
these steps:
In this section, you will see all the libraries that have been added to Eagle. I only use the
Sparkfun libraries, however, you may have more libraries. If you expand a library, you
will see several parts you can add to your schematic. Note that it will be difficult to find a
specific part if you have many libraries. Thus, the search function comes in handy.
Section 2 - Search
By using the search, you can find exactly the part needed. For example, I can type
resistors and obtain a list of all resistors I have available in the libraries. As you can see
in Figure 1, after clicking on a part, in this case a resistor, you will see the symbol,
footprint, and descriptions.
Section 3 - Symbol
In this section of the ADD Window, you will see the parts symbol diagram. This is what
the part will look like in the schematic. Obviously, for a resistor, you have 2 pins to
connect too. In other cases, you may have 3 to as many as 128 or more pins. It all depends
on the part you choose. I recommend to go through the libraries to see the different
symbols available. Get familiar with this window because it will be used in every PCB
you make.
To the right of the symbol section, you will see the footprint section. This shows the
physical footprint of the part on a PCB board. There is also a scale (1 mm) showing the
relative size of the footprint. In addition, the footprint shows red-filled areas. These areas
represent the copper pads that will be placed on the PCB so you may solder to it. You can
see an example of this in the image on the right in Figure 2.
Section 5 - Description
When you choose a part, you can see the description in this section. At the minimum, it
will show the part name and the typical size. Any additional information provided is
optional by the manufacturer or designer.
Which part should I choose?
This is a question that I get asked by people. If you browse through the Sparkfun or other
libraries, you will find several options for the same part. Which one should you choose?
It depends. I will discuss how to decide on the footprint of a resistor, however, such
decisions are also relevant for other parts, e.g. ICs.
In a previous tutorial, I mentioned that most of the specifications, for example the value of
the resistor, are irrelevant because you can change them. If you look at Figure 3, I chose a
resistor that has a value of 470 ohm, maximum power of 1/10 W, and a tolerance of 1%.
Most importantly, the last specification shows the footprint size of the resistor. Typical
sizes are 0402, 0603, 0805, 1210, and others.
Figure 4: Footprint sizes shown. Imperial Code is recommended. This figure was
obtained from here.
In short, pick a size and ignore the other specifications in Eagle. The specifications are
usually used to create a Bill of Materials (BOM) of all parts in your PCB. You can
always go to your favorite vendor for electronic components, e.g. Digikey or Sparkfun,
and look for the specific footprint size you need. After that, you can choose the value,
voltage, wattage, and other options. This is what works for me.
Extra Tips and Tricks: If you are creating your first PCB, I recommend a larger
footprint. The 0805 resistors and capacitors will be simple to solder to the board. As
you gain more experience, you can decrease the size to 0402.
Resistors (2)
Voltage input, VCC (1)
Ground, GND (1)
The name of the component is shown along with the number of parts needed in
parenthesis. Using the add a part window, you can either search or look through the
libraries to find the parts. After finding the parts, the schematic window should look
similar to Figure 2 below. I added the parts and rearranged them by moving and rotating
them. Now, we can start adding the electrical connections (nets).
An example of connecting the two resistors is shown below in Figure 5. All the parts
should be connected together in series. If you think of this in terms of electricity flow, if
you miss one of the connections, you will have no flow. The final outcome should look
similar to Figure 6 below.
Figure 5: Connecting two resistors
Steps 1 to 3 are shown in Figure 8 below. Steps 4 and 5 are shown in Figure 9 below.
Figure 8: Add a junction
Setup of PCB software to create projects, schematics, add libraries, among others
Definitions of important options and menus
How to add components
How to make electrical connections
How to label and add text for clarity
Tips and tricks on how to create an effective schematic
Tips and tricks on choosing components