Using EAGLE: Schematic
Using EAGLE: Schematic
Using EAGLE: Schematic
Page 1 of 19
Introduction
Create a Project
Adding Parts to a Schematic
Wiring Up the Schematic
Tips and Tricks
Resources and Going Further
Introduction
PCB design in EAGLE is a two-step process. First you design your schematic, then you lay out a PCB
based on that schematic. EAGLEs board and schematic editors work hand-in-hand. A welldesigned schematic is critical to the overall PCB design process. It will help you catch errors before
the board is fabricated, and itll help you debug a board when something doesnt work.
This tutorial is the first of a two-part Using EAGLE series, and its devoted entirely to the
schematic-designing side of EAGLE. In part 2, Using EAGLE: Board Layout, well use the schematic
designed in this tutorial as the basis for our example board layout.
Suggested Reading
If youd like to follow along with this tutorial, make sure youve installed and setup the EAGLE
software. Our How to Install and Setup EAGLE tutorial goes over this process step-by-step, and it
also covers the basics of what EAGLE is and what makes it great. It also covers how to download
and install the SparkFun EAGLE libraries well be using in this tutorial. Definitely read through that
tutorial before you continue on.
Wed also recommend you read and understand the concepts behind these tutorials:
z
z
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 2 of 19
Create a Project
Well start by making a new project folder for our design. In the control panel, under the Projects
tree, right click on the directory where you want the project to live (by default EAGLE creates an
eagle directory in your home folder), and select New Project
Project.
Give the newly created, red project folder a descriptive name. How about Bare Bones Arduino.
Project folders are like any regular file system folder, except they contain a file named eagle.epf.
The EPF file links your schematic and board design together, and also stores any settings you may
have set especially for the project.
Create a Schematic
The project folder will house both our schematic and board design files (and eventually our gerber
files too). To begin the design process, we need to lay out a schematic.
To add a schematic to a project folder, right-click the folder, hover over New
New and select
Schematic
Schematic.
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 3 of 19
A new, blank window should immediately pop up. Welcome to the schematic editor!
The ADD tool also has search functionality very helpful when you have to navigate through
dozens of libraries to find a part. The search is very literal, so dont misspell stuff! You can add
wildcards to your search by placing an asterisk (*) before and/or after your search term. For
example if you search for atmega328 you should find a single part/package combo in the SparkFunDigitalIC library, but if you search *atmega328* (note asterisks before and after), youll discover
two more versions of the IC (because theyre actually named ATMEGA328P). Youll probably
want to get accustomed to always adding an asterisk before and after your search term.
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 4 of 19
To actually add a part from a library either select the part you want and click OK, or double-click
your part.
After selecting the part you want to add, itll glow and start hovering around following your
mouse cursor. To place the part, left-click (once!). Lets place the frame so its bottom-left corner
runs right over our origin (the small dotted cross, in a static spot on the schematic).
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 5 of 19
After placing a part, the add tool will assume you want to add another a new frame should start
following your cursor. To get out of the add-mode either hit escape (ESC) twice or just select a
different tool.
Library
Part Name
Quantity
SparkFun-Capacitors
CAPPTH
SparkFun-Aesthetics
VCC
Ground Symbol
SparkFun-Aesthetics
GND
All of these parts will go in the top-left of the schematic frame. Arranged like this:
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 6 of 19
Library
Quantity
ATmega328P (PTH)
SparkFun-DigitalIC
ATMEGA328P_PDIP
W Resistors
SparkFun-Resistors
RESISTORPTH-1/4W
5mm LEDs
SparkFun-LED
LED5MM
CAPPTH
VCC
SparkFun-Aesthetics
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 7 of 19
Ground Symbol
SparkFun-Aesthetics
GND
To
rotate toolbar
or right click before placing the part. Place your microcontroller in the center of the
frame, then add the other parts around it like so:
Library
Quantity
SparkFunConnectors
M081X08
SparkFunConnectors
AVR_SPI_PRG_6PTH
SparkFunConnectors
ARDUINO_SERIAL_PROGRAMPTH
SparkFunAesthetics
VCC
GND
Ground Symbol
SparkFun-
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 8 of 19
Aesthetics
Finally! Heres what your schematic should look like with every part added:
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 9 of 19
and left-click once to start a wire. Now a green line should be following your mouse cursor around.
To terminate the net, left-click on either another pin or a net.
The hard part, sometimes, is identifying which part on a circuit symbol is actually a pin. Usually
theyre recognizable by a thin, horizontal, red line off to the side of a part. Sometimes (not always)
theyre labeled with a pin number. Make sure you click on the very end of the pin when you start or
finish a net route.
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 10 of 19
Whenever a net splits in two directions a junction node is created. This signifies that all three
intersecting nets are connected. If two nets cross, but theres not a junction, those nets are not
connected.
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 11 of 19
Dont forget to add nets between the LEDs, resistors, and GND symbols!
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
Page 12 of 19
https://learn.sparkfun.com/tutorials/using-eagle-schematic/all?print=1
12/31/2013
VCC should be the only other net that warns you that youll be connecting to other nets named
VCC (anything connected to a VCC voltage node). For the other named nets, well need to create
this same stub somewhere else. Where exactly? Well, we need to add a RX and TX net on the
ATmega328, and a DTR nearby as well:
Even though theres no green net connecting these pins, every net with the same, exact name is
actually connected.
We need to do a lot of the same to connect the 2x3 programming header to the ATmega328. First,
wire up the connector like so (naming/labeling MOSI, MISO, SCK, and RESET):
ERROR: stackunderflow
OFFENDING COMMAND: ~
STACK: