Adjusting the refdes in silk screen

Exporting Schematic to PCB

Last week, we finished creating our schematic. In your schematic, click on the Convert Project to PCB… button.

Convert to PCB

You should be presented with an initial board outline and your components connected by air wires.

Initial PCB layout

Note that we will layout the PCB in mils, even though we created package footprints in mm.

Component Placement

Go ahead and delete the purple board outline.

Delete board outline

Drag the components into a nicely packed area. Try and avoid having air wires cross as much as possible (press r to rotate the part). If it helps, I’ve listed the X, Y, and rotation parameters for each component. You don’t need to use my placement, but I found that this arrangement allows for all traces to be placed on the top layer.

Part X Y Rotation
C1 600 -390 270
C2 600 -200 270
D1 150 -800 90
D2 150 -450 270
D3 750 -350 90
J1 550 -1050 270
P1 100 -100 90
P2 900 -200 270
R1 900 -450 90
R2 900 -650 270
R3 750 -200 270
U1 400 -250 180

Components placed

Draw Board Outline

Select Track from the PCB Tools box and BoardOutline from Layers.

Select the track tool and board outline layer

Draw a square of 1000 mils by 1000 mils around the components, clicking on each corner to start a new line. Once you click on the final corner, right-click to stop placing track.

Board outline

Set Design Rules

Before placing traces, we want to set our design rules. These can often be found from the PCB fab house’s website. For our purposes, we want to make the spacing a bit bigger than the defaults. Select the drop-down list on the far right of the page. From that, select Miscellaneous and Design Rule Settings…

Select the user menu

Change all the values to 10 (mils), except for “Via Hole Size,” which we’ll change to 20. Realtime DRC offers the ability to show errors on the layout as they occur. This is a very handy feature, so I recommend leaving it enabled.

Setting DRC rules

Click Setting, and close the Design Rule Setting window.

Drawing Traces

Click on Track in the PCB Tools box, click in the red box of TopLayer to draw in the top layer, and change the Routing Width in the Other category on the right side to 20. Click on pin 2 of P1 to start drawing a trace. You should see a white dot appear when you have a trace connected to the pin.

Start drawing a trace

You should see the air wire (blue line) move as you draw the trace. It will show you where to connect the trace. When you have reached a correct pin, a white dot will appear. Click to end the trace.

Connect a trace to the correct pin

We want to connect the other pads with traces, but we want to leave GND unconnected (we will connect GND with a ground pour later). To turn off the GND air wires, click the Design Manager button in the right-side pane, drop down the Nets category, and deselect GND.

Turn off a net's air wires

Go ahead and use the Track tool to connect the rest of the pads, as shown by the blue air wires. You should be able to do it on one layer. If you need to switch to another layer, just click on the layer (e.g. BottomLayer) from the Layers box. This will automatically drop a via and let you keep routing on that layer.

Routed board

Ground Pour

In PCB Tools, click the Copper Area button. Make sure that TopLayer is selected. Draw a box around the board outline (it can be on top of or just outside the purple square).

Drawing the copper pour

Right-click to end the outline. The pour will automatically fill in. Press esc to exit the tool, and click on the pour’s outline to select it. Change Net to GND, and make sure Clearance is set to 10mil. Click Rebuild CopperArea.

Adjusting the top copper pour

Repeat this whole process for the BottomLayer. You can click on the eye icons by the layers to turn the visibility of the top off and on.

Bottom copper pour

Ground Vias

To reduce inadvertent RF transmissions and reception, we connect our top and bottom pours with vias. Granted, this is a DC board, but it is generally considered good practice to stitch the pours together (to read more about it, see this blog post).

Click the Via tool in PCB Tools. View and edit the TopLayer. Click to place the via in the top-left corner of the board, ensuring that it does not touch a component’s pad or a trace. Press esc to stop placing vias. Select the via you just placed and change its attributes:

  • Diameter: 40mil
  • Hole(D): 20mil
  • Net: GND

Adding a via

Repeat this process to place a few more vias around the board, connecting the ground pours.

Adding lots of vias

Silk Screen Labels

Click on the individual component reference designators (RefDes), such as R1, and move them so that they do not overlap any components or vias. Adjust their rotation to 0 or 90 so that they all face one of two directions.

Adjusting the refdes in silk screen

Using the Text tool and TopSilkLayer, denote IN vs. OUT. Also, add + and – markers to the appropriate pins. Change the text attributes so that the Height is 45mil.

Adding in and out labels in silk screen

Add some text to show what the input and output voltages are. Note that we changed the Height parameter to 35mil.

Adding notes to silk screen

Add the name of our board (e.g. “5V Power Supply”) to the BottomSilkLayer. Note that we changed the Height to 70mil.

Adding the name of the board to bottom silk

Design Rules Check

We’re done! Well, almost. Before we send out the board for fabrication, we should run a Design Rules Check (DRC) to make sure we’ve connected everything, there are no touching traces, etc.

In the right-side pane, click the Design Manager button. Next to DRC Errors, click Refresh. If there are any errors, you will see them appear.

DRC

For example, if we move the top trace down so it touches the barrel jack footprint and refresh DRC, we will see actual errors appear.

DRC with errors

Make sure you fix all your DRC errors. Click on each error to highlight the problem area. Once you have everything fixed, select File > Save As. Give it an appropriate name and description.

Saving the PCB

Send Your Board out for Production

In the toolbar, click on the Fabrication Output… button.

Send to fabrication button

This will open up a new browser window. Ensure the board parameters are to your liking. The defaults are good for prototyping–just note that the basic HASL finish has lead in it, so choose “HASL (lead-free)” if you don’t want that.

Configuring board parameters for production

If you want to use a different fab house, you can click Download Gerber Files. This will download a .zip file containing the files needed by most production facilities. You can verify the files with a free viewer like gerbv.

If you decide to buy through EasyEDA, click Save to Cart, and follow the rest of the instructions to fill out the shipping and billing data.

Ready to order PCBs

Once you have placed your order, wait a few weeks, and your boards should arrive at your doorstep!

Conclusion

You’ve just created a complete board with EasyEDA! Certainly, these tutorials did not cover all the features within EasyEDA, but at least you have an idea of what’s needed to create a PCB from start to finish. For example, one tool we did not cover was EasyEDA’s built-in SPICE program. This lets you simulate circuits without needing to build them.

To view EasyEDA’s official documentation and tutorials, see this page.

5 thoughts on “Getting Started with EasyEDA Part 3: PCB Layout

  1. Junwoo HWANG on March 10, 2018 at 5:22 am Reply

    Thank you very much for such an awesome tutorial.

    Helped me a lot!

  2. Jacques Voyer on June 26, 2018 at 1:32 am Reply

    Good thanks very useful about gnd copper pour and vias.
    Salutations

    1. ShawnHymel on June 27, 2018 at 4:32 pm Reply

      Glad it helped!

  3. Mak Tizo on July 8, 2019 at 2:38 pm Reply

    Is there a way to set only a little section of your PCB as a ground plane? I was hopping to place components on the Bottom layer for my PCB design.

    1. ShawnHymel on July 8, 2019 at 4:58 pm Reply

      Yes, when you’re drawing the ground pour outline (shown as the red dotted line above), simply draw it in the section you want (instead of the whole board).

Leave a Comment

Your email address will not be published. Marked fields are required.