PCB Creation With Eagle For Beginners
PCB Creation With Eagle For Beginners
BEGINNERS
Intro: PCB Creation With Eagle for
Beginners
On the left, just right of all of the buttons, you can see a
sheets area. With complex schematics (and non-
freeware versions of Eagle), you can create multi-paged
schematics and switch between them here. If you are
only running the freeware version, you can just close
that section and never think of it again...
If you click the show button, then click on the VCC net
(a net is one of the green lines), you will see that all of
the VCC nets get highlighted, including the one
connected to that regulator, whose name couldn't be
read clearly due to the name of the diode beneath it
overlapping with the name of the VCC trace.
To get the schematic to look cleaner, we can turn off
the display of the values of all of the parts. To do this,
click the Display button, and un-check the Values layer
(layer 96).
And Alt+N
Display None
Now you can use Alt+T to show the top, Alt+B to show
the bottom, and Alt+N to show nothing.
Now that you've seen the very basics of using Eagle,
let's plow right ahead into creating your own board.
Click on the Add button (or type Add), then type in *555
in the search box. We'll want the one from the st-
microelectronics library.
After you've got all of the parts laid out similar to how I
showed in the last step, it's time to connect them
Running the ERC will let you see areas where Eagle
thinks you messed up. Let's examine the output for this
one line by line...
When the board file comes up, there will be a box on the
screen, with all of the parts to the left of it. Until you
move it, this represents the area where you can place
your parts in the free version of eagle. Try to move a
part outside of this area and Eagle will yell at you and
refuse to cooperate.
Note that Eagle drops all of the parts that you added
into your schematic outside of this placeable area.
After you move a part from its resting spot, you have to
keep it inside that 4"x3.2" (100x80mm) box.
Typically, when you lay out a board, you first place the
parts that have set locations that they need to go, like
connectors. Then, group up all parts that logically
make sense together, and move these clusters so that
they create the smallest amount of crossed unrouted
lines. From that point, expand those clusters, moving
all of the parts far enough apart that they don't break
any design rules and have a minimum of unrouted traces
crossing.
Step 13: Board Layout 2 - Getting on the
Right Side
Once you have all of the parts laid out, run the Ratsnest
command. Ratsnest recalculates the shortest path for
all of the unrouted wires (airwires), which should clear
up the clutter on the screen by a fair amount.
Step 14: The Ground Plane
Ground planes are your friend. They make the
remaining steps in this tutorial easier, and they cut back
on the time spent etching if you are making the board at
home.
File - Allows you to pick which DRC file to use. If you
are with a group, they might already have one, and
services like OSH Park have a downloadable .drc file
that you can Load here.
Layers - Since we are using the freeware version of
Eagle, you can't really play with this one, but if you have
one of the paid licenses, layers can be added by
changing Setup to be something like (1*2*15*16)
Misc -
-Check Grid - When you lay out and route the PCB,
everything you do is on a grid, whose sizes are
determined by the Grid command. If you changed the
grid partway through layout/routing, this will ensure that
all of your parts obey the new settings.
-Check Angle - If you routed anything with a different
style than the 45- or 90-degree turns, or if you moved a
part after routing, checking this box will make Eagle yell
at you for doing that.
-Check Font
-Check Restrict
-Max. length difference in differential pairs - Differential
routing is where two traces are routed side-by-side and
carry a signal that is differential (when wire A is 1, wire
B gets set to 0. If A-B is greater than zero, a 1 is being
sent, otherwise a 0 is being sent). There are several
advantages to this, one of which is what is called
'Common Mode Rejection'. Essentially, most electrical
noise more or less adds a voltage to a given wire. If
two wires are close enough, the same voltage (let's call
it v) gets added to both. With differential routing, we
want those two wires to be affected by the same v, so
that the v cancels out of (A+v)-(B+v).
Back on track to what this option does, we want the
length difference to be minimal so that the wires pick up
the same noise. This allows you to pick what
difference to choose.
Gap factor for meanders for differential pairs - For high-
speed signalling, you want both wires in a differential
pair to be the exact same length. Depending on the
routing, this may not be the case, so to make the shorter
trace match the longer one, a 'meander' is put in. The
Gap Factor adjusts the size of these meanders.
After you get all the settings the right way, click Check.
(after setting all of this up, you can just type 'drc' and hit
enter twice to run the drc again)
PCB Fabrication
Do ityourself - Really quick turnaround, not as accurate.
OSH Park - 2-week turnaround, I've used this and have
received nothing but stellar boards. USA-based, free
shipping, $5/(3 copies of 1 sq in), $10/(3 copies of 1 sq-in
of four-layer board). Excellent deal for smaller boards,
still competitive with some larger ones. Can take
standard Eagle files.
Advanced Circuits - More expensive, professional
manufacturer based in Colorado. They do awesome
work and offer sponsorships for student projects. The
best deal that I can find on this one is $33 each, where
you buy a minimum of four PCBs of up to 60 sq-in and
pay $33 per. Requires you to expert the board as
a Gerber file
Parts:
Digikey
Newark
Mouser
Sparkfun - This is an awesome website that sells useful
hard-to-find electronics project-related stuff, in addition
to some more standard fare. While they don't have the
greatest deals, they make up for it with good
customer/community support and overall just being
awesome.
eBay - If you want good deals on questionable parts from
sketchy sellers, look no further. The robot team that
I'm on managed to get five SICK laser range finders for
$300 total (and 3.5 of them actually worked!!! Typically
one working one runs you a couple thousand)
Step 21: Questions? Comments? Suggested
Improvements?