In this instructable, we'll make a printed circuit board from that schematic
I guess I should say that we'll make a PCB DESIGN; making the physical board is a different task, and there are a lot of tutorials on the net (and even some instructables) on making the board after you have the design.
Cadsoft EAGLE generic information:
Cadsoft EAGLE is available from http://www.cadsoftusa.com/
Cadsoft is a German company that is a veritable mecca of software distribution enlightenment. In addition to the reasonably-priced professional PCB design packages ($1200), they have freeware, lite, non-profit, and other intermediate licenses. Their software runs under windows, linux, and MacOSX. It's slightly quirky, with a steep (but not too high) learning curve on the front end, but from most reports it is not any more so than other professional CAD packages. They have online support forums that are active from both the company and other users, the package is under current development and gets better with each release. A number of PCB fabricators will accept their CAD files directly. It's good stuff.
Use it. Propagate it. Buy it when you "go pro."
Creating Library parts
Design rule modification
Send CAD Files to manufacturers
Step 1: Starting From the Schematic...
Step 2: Menu Commands Used
Here's a summary of the iconic commands that I use in this instructable, and some brief summaries:
INFO Shows information about an object (component, signal, trace, etc.)
MOVE Allows components to be moved (same as schematic.)
GROUP Groups a collection of objects into a "group" that can be manipulated simultaneously.
DELETE Delete an object. Items created in schematics need to be deleted there.
SMASH Separate the text labels of a part from the part itself, so they can be moved independently.
BREAK Add a corner to a line (or trace.)
ROUTE turn an airwire into a trace
LINE draw lines (usually in non-copper layers. ROUTE is for drawing copper.)
VIA create a hole and pad associated with some signal. (actually, we'll use a text command.)
HOLE a hole that isn't associated with a signal, ie for mounting.
RATSNEST recomputes airwires and polygons, eg after components have been moved.
CHANGE changes an object's properties.
RIPUP changes a routed trace back to an airwire. Sorta equivilent to "delete" for traces.
TEXT add text
POLYGON create a polygon (actually, we'll use a text command.)
AUTOROUTE invoke the autorouter.
DRC invoke the Design Rule Check and parameter setting.
I'll describe the remaining icons toward the end, and assign them "useful" or "useless."
Step 3: The Untouched PCB Design
Ok, a few defintions are in order
All the signals you created in the schematic are currently AIR WIRES; thin yellow lines that are drawn in the shortest possible way, crossing each other as needed. They stay connected to component pins even when you move the component around. The RATSNEST command recomputes and redraws these after you move things around (and, say, make two connected pins closer together than they used to be.)
ROUTING a signal consists of turning an airwire into an actual copper trace on some layer(s) of the board, and positioning that trace so that it doesn't short agains other traces on the same layer of the board. The Freeware version of Eagle only supports a TOP and BOTTOM layer, and as hobbyists we have motivation to try to use only ONE layer. A signal can transition from one layer to another using a via, which is a conducting hole, sorta like a jumper (and we'll use jumpers to implement the top level of the board if we can make the board mostly single-sided.)
Creating the PCB design consists of placing all the components in logical places, and routing all the airwires in a way that allows the design to work.
Step 4: About Board "layers"
Here are some of the more important layers:
Step 5: Move the Components Into the Legal Area
Select the GROUP icon, then click and drag to make a rectangle that goes all the way around the components. Then select the MOVE icon and RIGHT click (right clicking selects the group instead of a single component) and drag the set into the board outline. Use the ZOOM button to tighter the view.
Step 6: Shrink the Boad Outline a Bit
Clicking near the center of a line moves the whole line. Clicking near a vertice moves only the point.
It doesn't have to be perfect at this point; we're mostly looking for a better view for the next steps. (Oh yeah - click the zoom button to re-zoom the window on the smaller outline.)
Step 7: Start Placing the Components
In general, you can start by placing the components similar to how they appear on the schematic. (This breaks down when a chip has multiple gates, or the diagram in the schematic symbol has vastly different pinn placement than the actual chip, but it's a good place to start for discreets and simple components. The worst that will happen is that you'll have a layout that makes sense, even if it doesn't route well...)
In this case, I put the power output transistotrs near lamps that they're associated with, and I looked on the web for a 555 layout that would work well (for the longest time, I tried to do boards with the timing cap placed near the timing resistors, and I always needed a jumper. Sigh.) ("Let no one else's work evade your eyes.")
Step 8: Check Signals to See How They'll Route
After the rest of the components are placed in ok-looking relative locations, I can squeeze them together again (manually, moving them one at a time; no magic command for this!) and shrink the board outline some more.
Step 9: Load Design Rules
So we'll load up that set of hobbyist design rules before we start laying out tracks.
Click the Design Rule Check icon and use the LOAD button to load hobby.dru from my other instructable. Or you can modify values manually and individually, of course. Or leave them as is...
Step 10: Fix Incorrect Package
You'll also notice that one of the resistors is set as a non-vertical package, unlike the rest. This was probably an error in the schematic entry, and it didn't matter when all we had was the schematic. Now that we are making the board, we want to change the package as appropriate.
When you select the change->package tool and click on the part to change, you'll be shown a list of all the legal packages for that part (these should be the same ones that showed up in the schematic "add" dialog)
There are other ways to enter a "change" command in the text command entry area that you'll want to look into if you need to change a lot of devices to a particular package, so you can skip going through the list for each one. Something like "change package 'R-US/0207/2V', and then just click on each component.
Step 11: Try the Autorouter
Clcik the AUTOROUTE icon, and a dialog box will pop up. The default parameters will produce a double sided board, and we want to at least TRY to make a single-sided board, so the first thing to do is set the preferred direction for the TOP layer to NA (Not Applicable.)
The other thing you may need to change is the routing grid. This defaults to the same default grid as the board layout editor in general: 0.05 inches (1.27mm, since I have my editor set up in metric.) Since this particular board has big parts, and we haven't moved any off the default grid, we're ok with that value. If you have SMT components or have moved things around on a finer grid, you might have pads that are not on the touing grid, which the autorouter doesn't like much ("unreachable pad", etc) You can make the grid very small, but it will take longer. IMO, it's better to start with a coarse grid and halve it each time it looks like routes fail because the grid is too large.
Also note that the autorouter obeys the board dimension lines, so if you haven't moved them close to your components, you might have traces travel all over the board. Or if you've moved the outline too close to the pads, you may have prevented traces from going places they need to go.
Step 12: Route Remaining Tracks Manually
There are a couple of ways we could route this signal manually, including some snakey routes between transistor pins that the autorouter didn't use because of the design rules we specified. This is a relatively high current trace, and I decided that I won't manually violate the design rules either. Instead, I'll use a jumper wire on the component side, which I can model in EAGLE as a top-side trace.
Select the ROUTE tool and click on an endpoint of an unrouted (yellow) airwire, and you can position a trace pretty much anywhere you want, selecting width, layer, and type of bend from the menu bar as you go along. This is shown in the succession of pictures in this step.
Step 13: Add Power Plane Polygons
1) Use less etchant
2) carries heavier current, just in case
3) makes it easier to attach test leads
4) acts as a sort of "static barrier" to fingers
In EAGLE. such large signal areas are drawn with the "polygon" command. There is an icon on the toolbar for drawing polygons, but it will create polygons associated with a new signal, and I find that when creating a polygon for an existing signal, it's easier to type the text form of the command in the text command area. To create a polygon attached to a signal named 'gnd', type "poly gnd" By giving it a signal name in the command, the polygon will automatcailly be connected to that signal. (If you draw a polygon with the icon, you can connect it to a signal later by using the "name" command to rename the polygon. (however, after this, you can't rename the polygone again without renaming the signal as well.))
Step 14: Add V+ Polygon
In this case, the V+ signal is named n$1, so we type "poly n$1"
Step 15: Neaten Up: Smash Package Text
Select the SMASH icon from the menu, then click each component whose text you want to move. If this is ALL of the components, there's a ULP that will smash everything (but ULPs are a subject for possible future instructables. Or the EAGLE manuals.)
Step 16: Neaten Up; Move Traces
Also, we shrink the board to its final size ny squishing the components together some more.
Step 17: Fixing an OOPS!
POWER connections; there's no way to connect a battery or power supply to this circuit board. Oh sure, you can just tack some wires onto the supply polygons, but how elegant is that!
We could go back to the schematic and add some actual power connectors or battery holders, but those are a bit rigid for a circuit that's probably going to be connected to a battery pack with some wires anyway. Instead, let's add some Vias to act as connection points for the power wires.
When adding Vias like this, it is convenient to use the text command entry area so we can name the signal at the same time we add the via. Type "via 'gnd'" (yes, you need the quotes here, unlike for polygons.) You can adjust the drill size and via shape, and plunk the via down in the appropriate supply polygon. I like to use two vias as a sort of strain relief (one is made larger so you can feed wire + insulation through it, the other is sized for just the wire.) A click on the RATSNEST icon will make sure the vias are connected to the polygon. Then do the same for the V+ signal (named N$1, you recall.)
Step 18: Neaten Up: Allow for Alternate Packages and Options
Use the info command to figure out the signal names, and then "via 'n$X'" on the command line to create the via, followed by a manual route to the via if needed. In this case, one of the vias placed collides with a signal trace hidden by the GND polygon, so we have to remove that trace with the "ripup" command (the polygon will still connect to the pad.)
While we're at it. I'll add some text to the silkscreen to show where the emitter lead of the transistors should go. Use the "text" icon button, and change the layer to tPlace.
Step 19: Do Design Rule Check
Step 20: Output Using Exported Images
Now we're essentially done, and we should figure out how we're going to output our board for
admiration on web pages, review by peers, transfer to physical PCB material, and so on.
One way to output the board is to "export" an image.
Step 21: Other Useful Menu Icons
LAYERS Adjust which layers are displayed. Boards have many more layers than schematics!
MIRROR Move a component from being mounted on the top of the board to being mounted on the bottom of the board.
CUT COPYS a selection, despite the name.
NAME Change the name of an object.
CIRCLE Draw a circle.
RECTANGLE Draw a rectangle.
MARK Place a measurement mark. Your info area will start showing distances relative to the mark as well as to the origin.
ROTATE rotate an object. This can rotate angles other than 90 degrees.
PASTE Paste some objects that were previously copied with CUT.
VALUE Change the value of an object.
MITER make signal corners rounded.
ARC Draw an arc.
Step 22: Useless Commands
SHOW SHOW is more useful from the text command area. I think.
DUPLICATE Duplicate an object. Usually done in the schematic.
ADD Add a component. Usuaully done in the schematic.
JOIN Happens automatically, usually?
POLYGON more useful from the text command area.
SIGNAL Create a signal. Usually done in the schematic