Difference between revisions of "ESim/C2/Mapping-Components-with-Footprints/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
  
{| border=1
+
{| border="1"
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Visual cue'''
 
|| '''Visual cue'''
 
|| '''Narration'''
 
|| '''Narration'''
Line 9: Line 10:
  
 
Opening Slide
 
Opening Slide
|| Welcome to the spoken tutorial on “'''Mapping components''' with''' footprints'''”.
+
|| Welcome to the '''spoken tutorial '''on “'''Mapping components''' with''' footprints'''”.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Show Slide:'''
 
|| '''Show Slide:'''
  
 
Learning Objectives
 
Learning Objectives
|| In this tutorial, we will learn to :
+
|| In this tutorial, we will learn''' '''to :
* Add '''connectors '''to a''' schematic.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connectors '''to a''' schematic.'''</div>
* '''Map components''' with '''footprints''' using '''CvPcb.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Map''' components''' with '''footprints''' using '''CvPcb.'''</div>
* Generate '''netlist''' for '''PCB design.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Generate '''netlist''' for '''PCB design.'''</div>
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 24: Line 25:
 
System Requirements
 
System Requirements
 
|| This tutorial is recorded using-
 
|| This tutorial is recorded using-
* '''Ubuntu Linux OS version 16.04'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS version 16.04'''</div>
* '''eSim '''version '''1.1.2'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">'''eSim '''version '''1.1.2'''</div>
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 32: Line 33:
 
Prerequisites
 
Prerequisites
 
|| To practice this tutorial, you should know:
 
|| To practice this tutorial, you should know:
* The basic concepts of '''electronic circuits.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">The basic concepts of '''electronic circuits.'''</div>
* To create''' circuit schematic''' in '''eSim.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">To create''' circuit schematic''' in '''eSim.'''</div>
* To '''simulate''' the '''netlist''' in '''eSim.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">To '''simulate''' the '''netlist''' in '''eSim.'''</div>
  
  
Line 40: Line 41:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
|| I have already opened '''eSim''' on my machine
+
|| I have already opened '''eSim''' on my machine.
 
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
  
 
To open a project
 
To open a project
 +
 +
 +
 
|| Let us open example''' “7805VoltageRegulator”''' from the''' Examples''' folder of '''eSim.'''
 
|| Let us open example''' “7805VoltageRegulator”''' from the''' Examples''' folder of '''eSim.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 51: Line 54:
  
 
Click on '''Open project'''
 
Click on '''Open project'''
>>
 
  
Double click on '''Downloads'''
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
Double-click on '''Downloads'''
  
 
>>
 
>>
Line 88: Line 97:
  
  
Click on '''Open '''button at the bottom right corner.
+
Click on '''Open '''button at the bottom right corner'''.'''
 
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
Line 96: Line 104:
 
||  
 
||  
  
To open the '''schematic''', click on '''Open Schematic button '''on the left toolbar.
+
To open the '''schematic''', click on '''Open Schematic''' button on the left toolbar.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor Window:'''
 
|| '''eSim Schematic Editor Window:'''
 
 
Scroll key or press '''F1 '''to zoom in
 
 
 
Point the cursor to '''V1 (Sine) '''block''' '''and
 
 
 
Point the cursor to '''Lm_7805''' block.
 
 
|| The''' eSim Schematic Editor '''opens.
 
|| The''' eSim Schematic Editor '''opens.
  
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Scroll key or press '''F1 '''to zoom in
  
I will zoom into the '''schematic'''.
+
Point the cursor to '''V1 (Sine) '''block >>Point the cursor to '''Lm_7805''' block.
 +
||I will zoom into the '''schematic'''.
  
  
This circuit uses''' AC sine''' wave as input.
+
This circuit uses''' AC sine wave''' as input and '''Lm_7805 subcircuit '''as a '''voltage regulator.'''
 
+
 
+
And '''Lm_7805''' '''subcircuit '''as a '''voltage regulator.'''
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Switch back to the '''eSim Main''' window
+
|| Switch back to the '''eSim''' main window
|| I will switch back to the '''eSim Main''' window.
+
|| I will switch back to the '''eSim''' main window.
 
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Main''' window:
+
|| '''eSim Main Window:'''
  
 
Click on '''Simulation'''
 
Click on '''Simulation'''
 +
||Click on '''Simulation''' button from the left toolbar.
  
>>
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
+
|| Point cursor on '''v(in1,in2) ngspice plot'''
 
+
Point cursor on '''v(in1,in2) ngspice plot'''
+
  
 
>>
 
>>
  
 
Point cursor on '''v(out) ngspice plot'''
 
Point cursor on '''v(out) ngspice plot'''
|| Click on '''Simulation''' button on the left toolbar.
+
|| We have given the '''AC signal''' as input.
 
+
 
+
We have given the '''AC signal''' as input.
+
  
  
Line 145: Line 139:
 
||  
 
||  
  
Switch back to the '''eSim Main''' window
 
|| Let us learn how to '''map footprints''' with '''components'''.
 
  
  
I will switch back to '''eSim Schematic Editor'''.
+
Switch back to the '''eSim''' main window
 +
|| Let us learn how to map '''footprints''' with '''components'''.
 +
 
 +
 
 +
I will switch back to '''eSim Schematic''' '''Editor'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''Window:
  
 
Hover the mouse over''' plot_v1, In1, In2 , sine'''
 
Hover the mouse over''' plot_v1, In1, In2 , sine'''
|| The '''schematic''' contains '''plots, labels''' and '''sources''' which are essential for '''simulation'''.
+
|| The '''schematic''' contains '''plots, labels '''and '''sources, '''which are essential for '''simulation'''.
  
  
 
These '''components''' are not required for '''PCB designing.'''
 
These '''components''' are not required for '''PCB designing.'''
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
||
 +
|| Let us delete the '''components''' that are not required for '''PCB designing'''.
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor Window:'''
 
|| '''eSim Schematic Editor Window:'''
  
Right click on '''sine source'''
+
Right-click on '''sine source''' >> select '''Delete Component '''option
  
>>
 
  
select '''Delete Component '''option
+
Right click on '''plot_v1 i.e U1 component''' >>  select the '''Delete Component '''option
 +
||
  
 +
Right-click on '''sine source''' and select the '''Delete Component '''option.
  
Right click on '''plot_v1 i.e U1 component'''
 
  
>>
+
Right-click on '''plot_v1''' that is '''U1 component''' and select the '''Delete Component '''option.
 
+
Select the '''Delete Component '''option
+
|| Let us delete the '''components''' that are not required for '''PCB designing'''.
+
 
+
 
+
Right-click on '''sine source.'''
+
 
+
 
+
Select the '''Delete Component '''option.
+
 
+
 
+
Right-click on '''plot_v1 i.e. U1 component.'''
+
 
+
 
+
And select the '''Delete Component '''option.
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
|| Similarly, we will delete the remaining '''components''' which are not required.
+
|| Similarly, we will delete the remaining plots, '''labels''' and '''components''' which are not required.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''window''':'''
 
+
Show '''DeletedProbesAndLabels.sch'''
+
|| I have deleted other '''components''' and their connections.
+
  
 +
'''Show '''DeletedProbesAndLabels.sch
 +
|| I have deleted other '''components '''and their connections.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
  
  
|| Let us now add a '''connector '''for the output of the '''circuit''' '''schematic'''.
+
|| Let us now add a '''connector '''for the output of the '''circuit schematic'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''window''':'''
 
+
Click on '''Place component '''
+
 
+
>>
+
  
Click on '''editor'''.
+
Click on '''Place component ''' >> click on '''editor'''.
 
|| Click on '''Place Component '''button from the right toolbar.
 
|| Click on '''Place Component '''button from the right toolbar.
  
  
Click anywhere on the '''editor.'''
+
Click anywhere on the '''schematic.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Component Selection''' window:
+
|| '''Component Selection''' Window:
  
Type '''Conn ''' in '''Filter '''field
+
Type '''Conn '''in '''Filter '''field
  
  
Line 234: Line 213:
 
|| '''Conn underscore 01x02 '''will appear to be tied to the cursor.
 
|| '''Conn underscore 01x02 '''will appear to be tied to the cursor.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
  
 +
<div style="color:#252525;"></div>
  
Click once, anywhere on the right hand side of the '''schematic'''.
+
Click once, anywhere on the right hand side of the schematic.
 
|| Let us place the '''Conn <span style="color:#252525;">underscore </span>01x02''' on the right side of the '''schematic'''.
 
|| Let us place the '''Conn <span style="color:#252525;">underscore </span>01x02''' on the right side of the '''schematic'''.
  
Line 261: Line 241:
  
  
Click anywhere on the '''eSim Schematic Editor '''window.
+
Click anywhere on the '''eSim Schematic Editor '''window'''.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Component selection '''window:
 
|| '''Component selection '''window:
Line 277: Line 257:
  
  
 +
<div style="color:#252525;"></div>
  
Click once to place the '''Screw underscore Terminal underscore 01x02''' on left side.
+
Click once to place the '''Screw <span style="color:#252525;">underscore </span>Terminal <span style="color:#252525;">underscore </span>01x02''' on left side.
 
|| Type '''Screw underscore Terminal''' in the '''filter '''box.
 
|| Type '''Screw underscore Terminal''' in the '''filter '''box.
  
  
Click on '''Screw underscore Terminal underscore 01x02 '''from the list.
+
Click on '''Screw <span style="color:#252525;">underscore </span>Terminal <span style="color:#252525;">underscore </span>01x02 '''from the list.
  
  
Click '''OK '''button at the bottom right corner of '''Component Selection''' window.
+
Click '''OK '''button at the bottom right corner of '''Component''' '''Selection''' window.
  
  
 
Click once to place the '''connector''' on the left side of the '''schematic'''.  
 
Click once to place the '''connector''' on the left side of the '''schematic'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor window:'''
+
|| <div style="color:#252525;">'''eSim Schematic Editor window:'''</div>
  
 +
 +
<div style="color:#252525;"></div>
  
 
Right click on''' Screw_Terminal_01x02'''
 
Right click on''' Screw_Terminal_01x02'''
Line 298: Line 281:
  
  
Click on '''Orient Component,'''and select '''Mirror || '''option.
+
Click on '''Orient Component,'''and select '''Mirror II'''option.
 
|| Let us rotate '''Screw underscore Terminal underscore 01x02'''.  
 
|| Let us rotate '''Screw underscore Terminal underscore 01x02'''.  
  
Line 305: Line 288:
  
  
Select '''Orient Component '''from the drop-down menu and select '''Mirror two '''option.
+
Select '''Orient Component '''from the drop-down menu and select '''Mirror II (two) '''option.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor '''window:
 
|| '''eSim Schematic Editor '''window:
 +
 +
 +
  
  
 
Connecting wires to the '''schematic'''
 
Connecting wires to the '''schematic'''
|| Now, let us connect the '''connectors''' using wires.
+
|| Now, let us connect the '''connector'''s using wires.
  
 
We have learnt to place wires earlier in this series.
 
We have learnt to place wires earlier in this series.
Line 318: Line 304:
  
  
Let us connect '''pin 1''' of '''Screw_Terminal_01x02''' to the wire connecting '''D3''' and '''D4'''.
+
Let us connect '''pin 1''' of '''Screw_Terminal underscore 01x02''' to the wire connecting '''D3''' and '''D4'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor '''window:
 
|| '''eSim Schematic Editor '''window:
  
Show rest of the connected wires
+
Show rest of the '''connected''' wires.
 
||  
 
||  
  
Line 337: Line 323:
  
  
Let us annotate the '''schematic''' and perform '''ERC '''for the '''circuit''' '''schematic'''.
+
Let us '''annotate '''the '''schematic''' and perform '''ERC '''for the '''circuit schematic'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
||  
+
| style="color:#252525;" |  
|| Please refer to the prerequisite tutorials to learn how to perform annotation and '''ERC.'''
+
|| Please refer to the prerequisite tutorials to learn how to perform '''Annotation '''and '''ERC.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor window:
+
|| '''eSim Schematic Editor window:'''
  
  
Line 358: Line 344:
 
'''Footprint''' is the '''layout''' of a '''component''' which is placed on the '''Printed Circuit Board'''.  
 
'''Footprint''' is the '''layout''' of a '''component''' which is placed on the '''Printed Circuit Board'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
 
Click '''Run Cvpcb to associate components and footprints''' button.  
 
Click '''Run Cvpcb to associate components and footprints''' button.  
Line 368: Line 354:
 
This opens '''Cvpcb window.'''
 
This opens '''Cvpcb window.'''
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
||Click on the '''OK '''button.
+
|| Narration only
 
||If you’re using '''Cvpcb''' for the first time, you will get a confirmation box.
 
||If you’re using '''Cvpcb''' for the first time, you will get a confirmation box.
  
 
Here, click on the '''OK '''button.
 
Here, click on the '''OK '''button.
  
|-
 
||click on the '''No '''button.
 
||If you get another dialog box titled '''Confirmation, '''click on '''No''' button.
 
  
 +
If you get another dialog box titled '''Confirmation, '''click on '''No''' button.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window:'''
 
|| '''Cvpcb window:'''
  
Hover the '''cursor''' over the leftmost panel.
 
|| The '''Cvpcb window''' is divided into three panels.
 
  
 +
Hover the '''cursor''' over the leftmost panel
 +
|| The '''Cvpcb''' window is divided into three '''panels.'''
  
The left panel shows the '''Libraries''' of the '''footprints'''.  
+
 
 +
The left '''panel''' shows the '''Libraries''' of the '''footprints'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: Demonstrate'''
 
|| '''Cvpcb window: Demonstrate'''
  
Hover the '''cursor''' over the middle panel.
+
Hover the '''cursor''' over the middle panel  
 
+
 
+
Hover the '''cursor''' over the first column of the middle panel
+
 
||  
 
||  
  
The middle panel is divided into 3 columns.
+
The middle '''panel''' is divided into 3 columns.
  
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Hover the '''cursor''' over the first column of the middle panel
 +
||The first column in the middle '''panel''' shows the serial number.
  
The first column in the middle panel shows the serial number.
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
+
|| Hover the '''cursor''' over the second column of the middle panel
|-
+
||The second column in the middle '''panel''' shows the reference '''ID''' of the '''components''' used in the '''schematic'''.  
||Hover the '''cursor''' over the second column of the middle panel
+
||The second column in the middle panel shows the reference '''ID''' of the '''components''' used in the '''schematic'''.  
+
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
||Hover the '''cursor''' over the third column of the middle panel
+
|| Hover the '''cursor''' over the third column of the middle panel
||The third column in the middle panel shows the values of the corresponding '''components''', if any.
+
||The third column in the middle '''panel''' shows the values of the corresponding '''components''', if any.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window:'''
 
|| '''Cvpcb window:'''
Line 413: Line 396:
 
||  
 
||  
  
The right panel gives a list of '''footprints''' available in the '''libraries'''.  
+
The right '''panel''' gives a list of '''footprints''' available in the '''libraries'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: Demonstrate'''
 
|| '''Cvpcb window: Demonstrate'''
Line 420: Line 403:
 
|| The top menu of '''Cvpcb''' window has 3 options to filter the''' footprints'''.
 
|| The top menu of '''Cvpcb''' window has 3 options to filter the''' footprints'''.
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||Hover the cursor over '''Filter footprint list by keywords'''.
 
||Hover the cursor over '''Filter footprint list by keywords'''.
 
||This will filter the '''footprints''' by '''keywords'''.
 
||This will filter the '''footprints''' by '''keywords'''.
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||Hover the cursor over '''Filter footprint list by pin count'''.
 
||Hover the cursor over '''Filter footprint list by pin count'''.
||This will filter the '''footprints''' by '''pin''' count.
+
||This will filter the '''footprints''' by '''pin count'''.
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
||Hover the cursor over '''Filter footprint list by Library'''.
+
|| Hover the cursor over '''Filter footprint list by Library'''.
 
||This will filter the '''footprints''' by the '''library'''.
 
||This will filter the '''footprints''' by the '''library'''.
 
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
Line 445: Line 427:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
|| Please note that we are designing a '''board''' for '''Through Hole '''components.
+
|| Please note that we are designing a '''board''' for '''Through Hole components'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Text on screen
+
||  
|| '''Footprints''' which are meant for '''Through hole''' components, will have '''THT '''in their description.
+
|| '''Footprints''' which are meant for '''Through hole components''', will have '''THT '''in their description.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Text on screen
+
||  
|| '''Footprints''' which are meant for '''Surface Mount Device''' components, will have '''SMD '''in their description.
+
|| '''Footprints''' which are meant for '''Surface Mount Device components''', will have '''SMD '''in their description.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
Line 462: Line 444:
  
  
Click on '''Capacitors_THT '''from the leftmost panel for selection of '''footprints''' of '''Through-hole capacitors'''.
+
Click on '''Capacitors_THT '''from the leftmost '''panel''' for selection of '''footprints''' of '''Through hole capacitors'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
  
Hover the '''cursor''' on the right panel
+
Hover the '''cursor''' on the right '''panel'''
|| The list of '''Capacitors_THT footprints''' for selected component '''C1''' will be available.
+
|| The list of '''Capacitors underscore THT footprints''' for selected component '''C1''' will be available.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Footprint Window:'''
 
|| '''Footprint Window:'''
  
Select any footprint from the right most panel
+
Select any '''footprint''' from the right most panel
 +
 
  
 
|| We can also view the selected '''footprint'''.
 
|| We can also view the selected '''footprint'''.
  
To do so, select any '''footprint '''from the right panel.
+
To do so, select any '''footprint '''from the right '''panel'''.
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||Click '''View selected footprint'''
 
||Click '''View selected footprint'''
||Click on '''View selected footprint''' from the top panel.
+
 
 +
 
 +
 
 +
||Click on '''View selected footprint''' from the top '''panel'''.
  
  
Line 488: Line 474:
  
 
Select '''Capacitors_THT:CP_Radial_D5.0mm_P2.50mm'''>> Double-click on it
 
Select '''Capacitors_THT:CP_Radial_D5.0mm_P2.50mm'''>> Double-click on it
|| Now let us map the associated '''footprint''' for component '''C1.'''
+
|| Now let us map the '''associated footprint''' for '''component C1.'''
  
  
Let us locate the '''footprint''' with D 5.0 mm and P 2.50 mm.  
+
Let us locate the '''footprint''' with '''D 5.0 mm''' and '''P 2.50 mm'''.  
  
Double-click on it to assign this '''footprint'''.
+
Double-click on it to '''assign''' this '''footprint'''.
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 500: Line 486:
  
 
Click on '''Connectors_Terminal_Blocks '''on the left most panel >>
 
Click on '''Connectors_Terminal_Blocks '''on the left most panel >>
 +
|| For '''J1 connector''':
  
  
Locate '''TerminalBlock_Altech_AK300-2_P5.00mm '''in the right most panel
+
Click on '''J1, '''click on '''Connectors underscore Terminal underscore Blocks '''from the leftmost '''panel'''.
 +
 
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Locate '''TerminalBlock_Altech_AK300-2_P5.00mm '''in the right most '''panel'''.
  
  
 
Double click
 
Double click
|| For '''J1 connector''':
+
||Locate '''TerminalBlock underscore Altech underscore AK300 hyphen 2 underscore P5.00mm '''in the rightmost '''panel'''.
 
+
 
+
Click on '''J1, '''click on '''Connectors_Terminal_Blocks '''from the leftmost panel.
+
 
+
 
+
Locate '''TerminalBlock_Altech_AK300-2_P5.00mm '''in the rightmost panel.
+
  
  
Double-click on it to assign this '''footprint''' to '''J1'''.
+
Double-click on it to '''assign''' this '''footprint''' to '''J1'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
Line 530: Line 514:
  
  
Click on '''J2''', click on '''Pin_Headers '''from the leftmost panel.
+
Click on '''J2''', click on '''Pin_Headers '''from the leftmost '''panel'''.
  
  
Locate '''Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm '''from the rightmost panel.
+
Locate '''Pin underscore Headers colon Pin underscore Header underscore Straight underscore 1x02 underscore Pitch2.54mm '''.
  
  
 
Double-click on it.
 
Double-click on it.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb '''window:
+
|| '''Cvpcb '''window''': '''
  
 
Click on''' Lm_7805'''
 
Click on''' Lm_7805'''
 
 
Click on '''TO_SOT_Packages_THT '''on the left most panel >>
 
 
 
Locate '''T0-220-3_Vertical '''from the right most panel >>
 
 
 
Double click on '''T0-220-3_Vertical'''
 
 
|| For '''Lm_7805:'''
 
|| For '''Lm_7805:'''
  
 
Click on''' Lm_7805 '''
 
Click on''' Lm_7805 '''
  
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
||Click on '''TO_SOT_Packages_THT '''on the left most panel
 +
||Click on '''TO underscore SOT underscore Packages  underscore THT '''from the leftmost '''panel'''.
  
Click on '''TO_SOT_Packages_THT '''from the leftmost panel.
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Locate '''T0-220-3_Vertical '''from the right most panel >>
  
  
Locate '''T0-220-3_Vertical '''from the rightmost panel.
+
Double click on '''T0-220-3_Vertical'''
 +
||Locate '''T0 hyphen 220 hyphen 3 underscore Vertical '''from the rightmost '''panel'''.
  
  
Double-click on it to assign this '''footprint'''.
+
Double-click on it to '''assign''' this '''footprint'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb ''' window:
+
|| '''Cvpcb '''window:
  
 
Show rest of the mapped footprints
 
Show rest of the mapped footprints
Line 570: Line 550:
 
I have mapped rest of the '''components''' with their appropriate '''footprints'''.
 
I have mapped rest of the '''components''' with their appropriate '''footprints'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb '''window:
+
|| '''Cvpcb '''window''': '''
  
  
 
Click on '''Save footprint association in schematic component footprint fields '''at left corner of the top toolbar.
 
Click on '''Save footprint association in schematic component footprint fields '''at left corner of the top toolbar.
|| Now we will save this '''footprint''' association.
+
|| Now we will save this '''footprint association'''.
  
  
Line 583: Line 563:
  
  
It assigns the selected '''footprints''' to the components present in the '''schematic'''.
+
It '''assigns''' the selected '''footprints''' to the '''components''' present in the '''schematic'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor '''window''' :'''
 
|| '''eSim Schematic Editor '''window''' :'''
 +
 +
  
  
 
Switch from '''CvPcb''' to '''eSim Schematic Editor''' window.
 
Switch from '''CvPcb''' to '''eSim Schematic Editor''' window.
|| Let us now generate the''' netlist '''of the '''circuit schematic '''required for''' PCB '''layout.
+
|| Let us now generate the''' netlist '''for '''circuit schematic '''required for''' PCB layout'''.
  
  
Line 618: Line 600:
  
  
Click on '''Generate '''button'''.'''
+
Click on '''Generate '''button.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Save Netlist File '''window:
 
|| '''Save Netlist File '''window:
Line 628: Line 610:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
|| '''.net netlist''' file contains information about '''components''' and '''footprints''' assigned.
+
|| '''dot net netlist''' file contains information about '''components''' and '''footprints assigned'''.
  
  
This is crucial for '''Printed Circuit Board '''designing.
+
This is crucial for '''Printed Circuit Board designing'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
Line 642: Line 624:
 
Summary
 
Summary
 
|| In this tutorial, we learnt to :
 
|| In this tutorial, we learnt to :
* Add '''connectors''' to a '''schematic.'''
+
* Add '''connectors '''to a '''schematic.'''
* Map components with '''footprints''' using '''CvPcb.'''
+
* Map '''components''' with '''footprints''' using '''CvPcb.'''
 
* Generate '''netlist''' for '''PCB design.'''
 
* Generate '''netlist''' for '''PCB design.'''
  
Line 659: Line 641:
 
|| '''Show Slide:'''
 
|| '''Show Slide:'''
  
'''Textbook Companion'''
+
'''Lab Migration'''
|| '''FOSSEE''' team coordinates the '''TBC''' project.  
+
|| '''FOSSEE''' team coordinates the '''Lab Migration''' project.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Show Slide:'''
 +
 
 +
'''Circuit Simulation'''
 +
|| '''FOSSEE''' team coordinates the '''Circuit Simulation''' project.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Show Slide:'''
 
|| '''Show Slide:'''
Line 672: Line 659:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Previous Slide'''
 
|| '''Previous Slide'''
|| This is Saurabh from '''IIT Bombay''', signing off.
+
|| This is Saurabh from '''IIT Bombay''' signing off.
  
 
Thank you.
 
Thank you.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 18:09, 11 September 2019


Visual cue Narration
Show Slide:

Opening Slide

Welcome to the spoken tutorial on “Mapping components with footprints”.
Show Slide:

Learning Objectives

In this tutorial, we will learn to :
  • Add connectors to a schematic.
  • Map components with footprints using CvPcb.
  • Generate netlist for PCB design.
Show Slide:

System Requirements

This tutorial is recorded using-
  • Ubuntu Linux OS version 16.04
  • eSim version 1.1.2
Show Slide:

Prerequisites

To practice this tutorial, you should know:
  • The basic concepts of electronic circuits.
  • To create circuit schematic in eSim.
  • To simulate the netlist in eSim.


If not, watch the prerequisite eSim spoken tutorials on this website.

eSim Main window: I have already opened eSim on my machine.
eSim Main window:

To open a project


Let us open example “7805VoltageRegulator” from the Examples folder of eSim.
eSim Main window:

Click on Open project





Double-click on Downloads

>>

Double click eSim-1.1.2 folder

>>

Double click Examples

>>

Click on 7805VoltageRegulator

>>

Click on Open

Click on the Open Project button from the left toolbar.


Then browse to the directory where you have installed eSim.


I will double-click on Downloads.


Double-click on eSim hyphen 1.1.2.


Double-click on Examples.


Click on 7805VoltageRegulator.


Click on Open button at the bottom right corner.

eSim Main window:

Click on Open Schematic

To open the schematic, click on Open Schematic button on the left toolbar.

eSim Schematic Editor Window: The eSim Schematic Editor opens.
Scroll key or press F1 to zoom in

Point the cursor to V1 (Sine) block >>Point the cursor to Lm_7805 block.

I will zoom into the schematic.


This circuit uses AC sine wave as input and Lm_7805 subcircuit as a voltage regulator.

Switch back to the eSim main window I will switch back to the eSim main window.
eSim Main Window:

Click on Simulation

Click on Simulation button from the left toolbar.
Point cursor on v(in1,in2) ngspice plot

>>

Point cursor on v(out) ngspice plot

We have given the AC signal as input.


We can see the rectified 5 volts DC output.


Switch back to the eSim main window

Let us learn how to map footprints with components.


I will switch back to eSim Schematic Editor.

eSim Schematic Editor Window:

Hover the mouse over plot_v1, In1, In2 , sine

The schematic contains plots, labels and sources, which are essential for simulation.


These components are not required for PCB designing.

Let us delete the components that are not required for PCB designing.
eSim Schematic Editor Window:

Right-click on sine source >> select Delete Component option


Right click on plot_v1 i.e U1 component >> select the Delete Component option

Right-click on sine source and select the Delete Component option.


Right-click on plot_v1 that is U1 component and select the Delete Component option.

Similarly, we will delete the remaining plots, labels and components which are not required.
eSim Schematic Editor window:

Show DeletedProbesAndLabels.sch

I have deleted other components and their connections.


Let us now add a connector for the output of the circuit schematic.
eSim Schematic Editor window:

Click on Place component >> click on editor.

Click on Place Component button from the right toolbar.


Click anywhere on the schematic.

Component Selection Window:

Type Conn in Filter field


Select Conn underscore 01x02


Click on OK

Type Conn in the Filter field.


Click on Conn underscore 01x02.


Click on OK button at the bottom right of the Component Selection window.

Conn underscore 01x02 will appear to be tied to the cursor.
eSim Schematic Editor window:


Click once, anywhere on the right hand side of the schematic.

Let us place the Conn underscore 01x02 on the right side of the schematic.


Click once to place the connector on the right side of the schematic.

eSim Schematic Editor window:



Click on editor



Click anywhere on the eSim Schematic Editor window

We also need a connector at the input to connect the external power supply.


We have already selected Place component tool.


Click anywhere on the eSim Schematic Editor window.

Component selection window:

Type Screw_Terminal

>>

select Screw_Terminal_01x02 from the list.

>>


Click OK


Click once to place the Screw underscore Terminal underscore 01x02 on left side.

Type Screw underscore Terminal in the filter box.


Click on Screw underscore Terminal underscore 01x02 from the list.


Click OK button at the bottom right corner of Component Selection window.


Click once to place the connector on the left side of the schematic.

eSim Schematic Editor window:


Right click on Screw_Terminal_01x02

>>


Click on Orient Component,and select Mirror IIoption.

Let us rotate Screw underscore Terminal underscore 01x02.


Right-click on Screw underscore Terminal underscore 01x02 component.


Select Orient Component from the drop-down menu and select Mirror II (two) option.

eSim Schematic Editor window:



Connecting wires to the schematic

Now, let us connect the connectors using wires.

We have learnt to place wires earlier in this series.

You can refer to the prerequisite tutorials, if required.


Let us connect pin 1 of Screw_Terminal underscore 01x02 to the wire connecting D3 and D4.

eSim Schematic Editor window:

Show rest of the connected wires.

I have connected rest of the nodes to their respective connectors.

eSim Schematic Editor window:


Perform Annotation and ERC


All the components are connected.


Let us annotate the schematic and perform ERC for the circuit schematic.

Please refer to the prerequisite tutorials to learn how to perform Annotation and ERC.
eSim Schematic Editor window:


Press Ctrl and S key together.


Let us now save the schematic.


Press Ctrl and S keys together to save this schematic.

We will now learn how to map the components with their footprints.


Footprint is the layout of a component which is placed on the Printed Circuit Board.

eSim Schematic Editor window:

Click Run Cvpcb to associate components and footprints button.

Click on the Run CvPcb to associate components and footprints button at the top of the eSim Schematic Editor.


This opens Cvpcb window.

Narration only If you’re using Cvpcb for the first time, you will get a confirmation box.

Here, click on the OK button.


If you get another dialog box titled Confirmation, click on No button.

Cvpcb window:


Hover the cursor over the leftmost panel

The Cvpcb window is divided into three panels.


The left panel shows the Libraries of the footprints.

Cvpcb window: Demonstrate

Hover the cursor over the middle panel

The middle panel is divided into 3 columns.

Hover the cursor over the first column of the middle panel The first column in the middle panel shows the serial number.
Hover the cursor over the second column of the middle panel The second column in the middle panel shows the reference ID of the components used in the schematic.
Hover the cursor over the third column of the middle panel The third column in the middle panel shows the values of the corresponding components, if any.
Cvpcb window:

Hover the cursor over right most panel

The right panel gives a list of footprints available in the libraries.

Cvpcb window: Demonstrate

Hover the cursor to show Filter options

The top menu of Cvpcb window has 3 options to filter the footprints.
Hover the cursor over Filter footprint list by keywords. This will filter the footprints by keywords.
Hover the cursor over Filter footprint list by pin count. This will filter the footprints by pin count.
Hover the cursor over Filter footprint list by Library. This will filter the footprints by the library.
Now we will map the components with their appropriate footprints.
Cvpcb window:

Click on Filter footprints list by library

Click on the option Filter footprints list by library from the top menu.


If any other filters other than Filter footprints list by library are selected, please uncheck them.

Please note that we are designing a board for Through Hole components.
Footprints which are meant for Through hole components, will have THT in their description.
Footprints which are meant for Surface Mount Device components, will have SMD in their description.
Cvpcb window:

Click on C1


Click on Capacitors_THT from the leftmost panel

Click on C1, the first row C1 will be highlighted.


Click on Capacitors_THT from the leftmost panel for selection of footprints of Through hole capacitors.

Cvpcb window:

Hover the cursor on the right panel

The list of Capacitors underscore THT footprints for selected component C1 will be available.
Footprint Window:

Select any footprint from the right most panel


We can also view the selected footprint.

To do so, select any footprint from the right panel.

Click View selected footprint


Click on View selected footprint from the top panel.


This will open footprint window which displays the image of the selected footprint.

Cvpcb window:


Select Capacitors_THT:CP_Radial_D5.0mm_P2.50mm>> Double-click on it

Now let us map the associated footprint for component C1.


Let us locate the footprint with D 5.0 mm and P 2.50 mm.

Double-click on it to assign this footprint.

Cvpcb window:


Click on Connectors_Terminal_Blocks on the left most panel >>

For J1 connector:


Click on J1, click on Connectors underscore Terminal underscore Blocks from the leftmost panel.

Locate TerminalBlock_Altech_AK300-2_P5.00mm in the right most panel.


Double click

Locate TerminalBlock underscore Altech underscore AK300 hyphen 2 underscore P5.00mm in the rightmost panel.


Double-click on it to assign this footprint to J1.

Cvpcb window:


Click on Pin_Headers on the left most panel >>


Locate Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm from the right most panel >>


Double click

For J2 connector:


Click on J2, click on Pin_Headers from the leftmost panel.


Locate Pin underscore Headers colon Pin underscore Header underscore Straight underscore 1x02 underscore Pitch2.54mm .


Double-click on it.

Cvpcb window:

Click on Lm_7805

For Lm_7805:

Click on Lm_7805

Click on TO_SOT_Packages_THT on the left most panel Click on TO underscore SOT underscore Packages underscore THT from the leftmost panel.
Locate T0-220-3_Vertical from the right most panel >>


Double click on T0-220-3_Vertical

Locate T0 hyphen 220 hyphen 3 underscore Vertical from the rightmost panel.


Double-click on it to assign this footprint.

Cvpcb window:

Show rest of the mapped footprints

I have mapped rest of the components with their appropriate footprints.

Cvpcb window:


Click on Save footprint association in schematic component footprint fields at left corner of the top toolbar.

Now we will save this footprint association.


Click on Save footprint association in schematic component footprint fields at the left corner of the top toolbar.

This is a very important step and should not be skipped.


It assigns the selected footprints to the components present in the schematic.

eSim Schematic Editor window :



Switch from CvPcb to eSim Schematic Editor window.

Let us now generate the netlist for circuit schematic required for PCB layout.


I will go back to the eSim Schematic editor window.

eSim Schematic Editor window:

Click on Generate netlist

Click on Generate netlist button at the top of eSim Schematic Editor window.

Netlist window:

Click on Pcbnew tab


Check Default option


Click on Generate

Click on Pcbnew tab.


Check the option Default format.


Click on Generate button.

Save Netlist File window:

Click on Save button at the bottom right corner

Then click on Save button at the bottom right corner.

dot net netlist file contains information about components and footprints assigned.


This is crucial for Printed Circuit Board designing.

With this, we come to the end of this tutorial.

Let us summarize.

Show Slide:

Summary

In this tutorial, we learnt to :
  • Add connectors to a schematic.
  • Map components with footprints using CvPcb.
  • Generate netlist for PCB design.
Show Slide:

Forum

Please post your timed queries in this forum.
Show Slide:

FOSSEE Forum

Please post your general queries on eSim in this forum.
Show Slide:

Lab Migration

FOSSEE team coordinates the Lab Migration project.
Show Slide:

Circuit Simulation

FOSSEE team coordinates the Circuit Simulation project.
Show Slide:

Acknowledgment

http://spoken-tutorial.org

Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India.

For more details, visit this website.

Previous Slide This is Saurabh from IIT Bombay signing off.

Thank you.

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Saurabhbansode