From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Welcome to the spoken tutorial on “Setting Parameters for Designing PCB”.
00:07 In this tutorial, we will learn to -

Read a PCB netlist.

Draw outline and setup design parameters for a board.

Move and orient footprints.

00:22 This tutorial is recorded using -

Ubuntu Linux OS version 16.04 and

eSim version 1.1.2

00:34 To practice this tutorial, you should know:

To design and simulate a circuit in eSim.

To map components with footprints in CvPcb.

To create netlist for PCB Design in eSim.

00:50 If not, watch the prerequisite eSim tutorials on this website.
00:56 I have opened eSim on my machine.
00:59 Let us open 7805VoltageRegulator example.
01:14 Click on Open Project button from the left toolbar.
01:21 Click on Desktop. Click on 7805VoltageRegulator. Click on Open button at the bottom right corner.
01:30 Click on Open Schematic button from left toolbar, to open the schematic.
01:37 The schematic will open. Click on Cvpcb shortcut at the top toolbar.
01:45 I have mapped the components with appropriate footprints and generated netlist for it.
01:51 I will switch back to the eSim schematic editor.
01:54 Click on Tools at the top toolbar and select the Layout Printed Circuit Board option.
02:02 If you get a Confirmation box, click on Yes.
02:07 An empty layout screen is seen in the Pcbnew window.
02:11 On the top toolbar, click on Read netlist. Netlist window will appear.
02:19 Click on Browse button, and navigate to Desktop location.
02:25 Double-click on 7805VoltageRegulator.Click on
02:35 Click on Open button at the bottom right corner of this window.
02:40 The netlist will be loaded.
02:43 Click on Read Current Netlist button at the top right corner of Netlist window.
02:49 If there is an error it will appear in red color in the Messages window. In my case, there are no errors.
02:56 Click on the Close button at the top right corner of the Netlist window.
03:03 The footprints mapped with the components appear on layout screen in a bundled manner.
03:09 Let us draw an outline for the board we are creating.
03:13 To place an outline for the board on Edge.Cuts layer, right-click on the layout screen.
03:19 Click on Select working layer. Click on Edge.Cuts.
03:25 Alternately, working layer can be selected from the right side of the panel.
03:30 Under the Layer option, working layers of a board are listed.
03:35 Front Copper and Bottom Copper will be used for placing tracks.
03:41 Front Silk, Edge.Cuts and Margin layerwill be used for placing text and dimension.
03:49 Click on the right side of Edge.Cuts layer. A blue arrow will appear next to the Edge.Cuts.
03:59 Click on Place at the top toolbar of Pcbnew window.
04:04 Click on Line or Polygon from the menu.
04:08 A pencil tied to your cursor will appear on the layout screen.
04:13 We will use this to draw the outline.
04:16 Click on the layout screen and move the pencil horizontally to a certain extent.
04:22 Click on the location where we want to finish the line.
04:26 A yellow line will appear on the layout screen.
04:30 We will draw a rectangular shaped outline using the method demonstrated.
04:37 We have created a rectangular shape as the outline for the board. Press Esc key to exit Line or Polygon tool.
04:46 Now let us separate and place the footprints.
04:50 I will now zoom in to see the footprints on the layout clearly, using the F1 key.
04:57 Right-click on Screw underscore Terminal underscore 01x02.
05:04 Select Footprint J1 on F.Cu and select the Move option.
05:11 Move the cursor tied to the footprint horizontally towards left.
05:17 Click once on the layout screen to place the footprint.
05:21 To properly orient this footprint, right-click on Screw underscore Terminal underscore 01x02.
05:30 Select Footprint J1 on F.Cu.

Let us select the Rotate + option.

05:40 Similarly we will move and orient all other footprints, according to our design.
05:46 All the components should be inside the rectangular outline drawn.
05:51 Press Shift and ? keys together.
05:56 This will open all the keyboard shortcuts available under Hotkeys List window.
06:03 We can use Hotkeys or the demonstrated methods for placing and orienting the footprints.
06:10 Click on Close button at bottom right corner of the Hotkeys List window.
06:15 You may or may not see white wires, representing interconnected footprints.
06:21 If you do not see them, click on Show or Hide board ratsnest button at the panel of Pcbnew window.
06:30 White wires are called as airwires.
06:34 I have already moved and oriented the footprints to get minimum intersection between airwires.
06:40 Let us set the parameters to place tracks on the layout.
06:44 Click on Design Rules option given at the top side of the toolbar. Click on Design Rules from the menu.
06:53 We will change the default track width from 0.25 mm to 1.2 mm.
07:00 Click on the window below Track Width. Let us clear the present value using Backspace key.

Type the number 1.2.

07:10 This will make all tracks placed in future, of 1.2 millimeter width.
07:16 You can select the track width according to your requirements.
07:20 Click on Global Design Rules at the top of the Design Rules Editor window.
07:27 Click on the tab in front of Min track width.
07:32 Let us clear the present value using Backspace key. Then type the number 1.2 in this space.
07:42 This ensures that any track placed on any layer, is of minimum 1.2 mm width.
07:50 Click on the Ok button at the bottom right corner.
07:54 Now let us check the drill hole size of X1, that is Lm_7805.
08:02 Place cursor on Node 1 of X1 and press E key.
08:08 Pad Properties window:
08:11 We can see the drill hole properties such as shape, size of this particular pad.
08:17 We can see the default drill hole size for this particular pad is 1 millimeter.
08:23 The default drill hole size and shape for different footprints may vary. We can change it according to our need.
08:32 Click on the Ok button at the bottom right corner of the Pad Properties window.
08:38 Let us press Ctrl and S keys together to save the work.
08:44 With this, we come to the end of this tutorial. Let us summarize.
08:49 In this tutorial, we learnt to :

Read a PCB netlist.

Draw outline and setup design parameters for a board.

Move and orient footprints.

09:01 Please post your timed queries in this forum.
09:05 Please post your general queries on eSim in this forum.
09:10 FOSSEE team coordinates the Lab Migration project.
09:15 FOSSEE team coordinates the Circuit Simulation project.
09:20 Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India. For more details, visit this website.
09:27 This is Saurabh from IIT Bombay signing off. Thank you.

Contributors and Content Editors

Pratik kamble