PCB Layout

This week you are going to create an outline and layout for the LED flower, re-imagined in your own way. Let's start this project by creating a EAGLE CAD project and populate it with our schematic. To do this, make sure you have a EENG 393 directory and inside this a lab03 directory. You should always open and close your PCB design by opening and closing the associated project.

Create layout from schematic

Now let's turn our attention to creating a layout from the schematic that you added to your lab03 project.


Warning!

You are now concurrently editing two files at once; the schematic and the layout. Keeping these two file consistent means that you need to close them properly by using the close project function from the EAGLE control panel. You should always keep both schematic and layout open at the same time, even if you are editing only one. If you accidentally close one of the schematic or layout, you will get a warning at the top of the remaining window that is open.


This is a bad place to be in. You probably should close without saving at this point. However, any inconsistency between the schematic and layout will risk corrupting your entire project. Always use the EAGLE project manager to close and open your project.

Grid Tool

For this week's assignment, you will want to create an interesting PCB outline. The first step in creating an outline is setting the grid - a 2 dimensional lattice of points where objects can be placed. Start by


After setting the grid, you should see a light gray grid of lines inside the layout area. The intersection of these lines are the set of points where you are allowed to place components, or draw lines and wires.

Drawing Tools

Before you start placing components on the PCB, you first need to create the board outline. You will create the board outline using the line, arc and circle drawing tools located on the bottom left toolbar menu. Lets experiment with these by drawing a simple board outline. I will often sketch out ideas using layer 21 tPlace because it allows me to add internal lines that I may want to keep in the silkscreen. The idea for this board outline comes from the following rocket clip art shown at left in the image below. Since details on a PCB outline is pretty limited, I am planning to break the outline of the rocket into a set of arc and lines as shown at right in the image below.


Let's walk through and do this together. I will first draw the outline in layer 21 tPlace to rough-out the idea and then return and actually draw the PCB outline in layer 20, Dimension. We now have a solid starting point to draw our PCB board outline. A PCB outline must be an unbroken curve with no gaps. Keep this in mind as you build your own outlines. When you have a PCB manufactured, the fabrication house will charge you for the area of the PCB taken up by a rectangular bounding box that encloses your design. A bounding box is the smallest rectangle that completely surrounds the rocketship. We will draw the bounding box in layer 21 and move the lower left corner of this bounding box to the Layout origin as follows. Before we move on, let's take a moment to better understand what the copper pour layers are doing and how to manipulate them in EAGLE.

Reveal or refresh the copper pours
Select the Ratsnest tool and you should see something similar to the following image:

When you do this the copper pour defined by the rocketship outlines in the top and bottom layers will be filled in with copper attached to their respective signal. For example, the red area in the layout is a sheet of copper attached electrically to VCC. You can verify this by zooming in on the battery connection.

The battery connection has one terminal attached to VCC and one to GND. Zooming in on the battery connection shows a red cross through the VCC connection and a blue cross through the GND connection. This cross tells you that the copper on that layer is attached to that connection.

This is easier to see if you look at the copper pour without all the other layers getting in the way. To do this

Before moving on to the next steps, make all the layers visible by selecting the Layer tool and select Show Layers in the Visible Layers pop-up.

Hiding copper pours
There will be times when you do not want to see the copper pours. For example, when routing wires. You can make the copper pours invisible by selecting the Ripup tool and clicking on the edge of a copper pour. This may be difficult because, there are three different objects coincident at the border of the rocketship, the outline, the top copper layer and the bottom copper layers. You will have to cycle through the layers using the following procedure:

Routing

There are two steps that need completed on this circuit board. First and most obvious, you need to route the wires. This is a skill that you practice last week and will practice again. The second thing that you may want to do it add some decorative art in layer 21 tPlace. This additional art will help sell the illusion that someone is looking at a rocketship. This will require you to flex your creative muscles.
  1. Print the layout to PDF in landscape format with Scale factor: 4. You an use the instructions in Lab02. Import the PDF as the answer to this question.

Adding color to your PCB

Through the selective removal of layers, you can reveal the tan fiberglass core of the PCB or reveal silver solder of tinned coppper. The toucan PCB shown below uses both of these techniques.


Tan: To expose a tan area, create a polygon of the tan area in the following layers. You may want to use a small grid while doing this so that you can get smooth bends using straight lines. Silver: To expose a silver area, create a polygon of silver area in the following layers. You may want to use a small grid while doing this so that you can get smooth bends using straight lines. Make sure that the copper pour occupies all the area below the polygon so that this copper area is coated in silvered tin.

Cut out: To create a custom-shaped hole in the PCB. Create a wire outline of the hole in layer 21 (Dimension). Then copy this wire outline into layer 46 (Milling) with a solid polygon pour.

If you would like to look at the Toucan PCB in Eagle, download the following files and inspect away. Note this team imported severl bitmap files so you will find a lot of imported bit layers above 200. None of these high number layers are used in the actual fabrication of the PCB, they are just used for planning None of these high number layers are used in the actual fabrication of the PCB, they are just used for planning.