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

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 17: Line 17:
 
|| In this tutorial, we will learn''' '''to :
 
|| In this tutorial, we will learn''' '''to :
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connectors '''to a''' schematic.'''</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connectors '''to a''' schematic.'''</div>
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Map''' components with '''footprints''' using '''CvPcb.'''</div>
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Map''' components''' with '''footprints''' using '''CvPcb.'''</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Generate '''netlist''' for '''PCB design.'''</div>
 
* <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 28: Line 27:
 
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS version 16.04'''</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS version 16.04'''</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">'''eSim '''version '''1.1.2'''</div>
 
* <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 40: Line 38:
  
  
 
+
If not, watch the prerequisite '''eSim''' spoken tutorials on this website.
If not, watch the prerequisite eSim Spoken Tutorials on''' '''this website.
+
 
|- 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:'''
Line 52: Line 49:
  
  
|| 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;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
Line 65: Line 62:
  
  
Double click on '''Downloads'''
+
Double-click on '''Downloads'''
  
 
>>
 
>>
Line 107: 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 157: Line 141:
  
  
 
+
Switch back to the '''eSim''' main window
 
+
|| Let us learn how to map '''footprints''' with '''components'''.
Switch back to the '''eSim''' '''main''' window
+
|| Let us learn how to '''map''' '''footprints''' with components'''.'''
+
  
  
 
I will switch back to '''eSim Schematic''' '''Editor'''.
 
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 '''plot'''s, '''label'''s''' '''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''' >> select '''Delete Component '''option
  
  
 +
Right click on '''plot_v1 i.e U1 component''' >>  select the '''Delete Component '''option
 +
||
  
Right click on '''sine source'''
+
Right-click on '''sine source''' and select the '''Delete Component '''option.
 
+
>>
+
 
+
select '''Delete Component '''option
+
 
+
 
+
Right click on '''plot_v1 i.e U1 component'''
+
 
+
>>
+
 
+
Select the '''Delete Component '''option
+
|| Let us delete the '''component'''s 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.
+
Right-click on '''plot_v1''' that is '''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 <span style="background-color:transparent;">'''plot'''</span><span style="background-color:transparent;">s, </span><span style="background-color:transparent;">'''label'''</span><span style="background-color:transparent;">s</span><span style="background-color:transparent;">''' '''</span><span style="background-color:transparent;">and</span> '''component'''s 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
 
'''Show '''DeletedProbesAndLabels.sch
|| I have deleted other '''components '''and their''' '''connections.  
+
|| 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 '''Place component ''' >> click on '''editor'''.
 
+
>>
+
 
+
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<span style="color:#252525;">''':'''</span>
+
|| '''Component Selection''' Window:
  
<span style="color:#252525;">Type </span><span style="color:#252525;">'''Conn '''</span><span style="color:#252525;">in </span><span style="color:#252525;">'''Filter '''</span><span style="color:#252525;">field</span>
+
Type '''Conn '''in '''Filter '''field
  
<div style="color:#252525;">>></div>
 
  
<span style="color:#252525;">Select </span><span style="color:#252525;">'''Conn underscore 01x02'''</span>
+
Select '''Conn underscore 01x02'''
  
<div style="color:#252525;">>></div>
 
  
<span style="color:#252525;">Click on </span><span style="color:#252525;">'''OK'''</span>
+
Click on '''OK'''
 
|| Type '''Conn '''in the''' Filter '''field.
 
|| Type '''Conn '''in the''' Filter '''field.
  
  
Click on <span style="color:#252525;">'''Conn underscore 01x02.'''</span>
+
Click on '''Conn underscore 01x02.'''
  
  
<span style="color:#252525;">Click on </span><span style="color:#252525;">'''OK '''</span><span style="color:#252525;">button at the bottom right of the </span>'''Component''' '''Selection''' window<span style="color:#252525;">'''.'''</span>
+
Click on '''OK '''button at the bottom right of the '''Component Selection''' window.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
Line 273: Line 235:
  
 
Click anywhere on the '''eSim Schematic Editor '''window
 
Click anywhere on the '''eSim Schematic Editor '''window
|| We also need a '''connector''' at the '''input''' to connect the external '''power supply.'''
+
|| We also need a '''connector''' at the input to connect the external '''power supply.'''
  
  
Line 281: Line 243:
 
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:
  
 
Type '''Screw_Terminal '''
 
Type '''Screw_Terminal '''
Line 319: 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 326: Line 288:
  
  
Select '''Orient Component '''from the drop-down menu''' '''and select '''Mirror || '''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;"
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
+
|| '''eSim Schematic Editor '''window:
  
  
<div style="color:#252525;"></div>
 
  
<div style="color:#252525;"></div>
 
  
<div style="color:#252525;"></div>
 
  
<div style="color:#252525;"></div>
+
Connecting wires to the '''schematic'''
 
+
<div style="color:#252525;"></div>
+
 
+
Connecting wires to the schematic
+
 
|| Now, let us connect the '''connector'''s using wires.
 
|| Now, let us connect the '''connector'''s using wires.
  
Line 349: 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;"
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
+
|| '''eSim Schematic Editor '''window:
  
<span style="color:#252525;">Show rest of the </span><span style="color:#252525;">'''connected'''</span><span style="color:#252525;"> </span><span style="color:#252525;">'''wires'''</span>
+
Show rest of the '''connected''' wires.
 
||  
 
||  
  
 
I have connected rest of the '''nodes''' to their respective '''connectors.'''
 
I have connected rest of the '''nodes''' to their respective '''connectors.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
+
|| '''eSim Schematic Editor '''window:
  
  
Line 365: Line 320:
  
  
|| All the components are connected.
+
|| All the '''components''' are connected.
  
  
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;" |  
 
| 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;"
|| <div style="color:#252525;">'''eSim Schematic Editor window:'''</div>
+
|| '''eSim Schematic Editor window:'''
  
  
 
Press '''Ctrl and S''' key together.
 
Press '''Ctrl and S''' key together.
 
 
<div style="color:#252525;"></div>
 
  
  
Line 387: Line 339:
 
Press '''Ctrl '''and''' S''' keys together to save this '''schematic.'''
 
Press '''Ctrl '''and''' S''' keys together to save this '''schematic.'''
  
We will now learn how to map the components with their''' footprints.'''
+
We will now learn how to map the '''components''' with their''' footprints.'''
  
  
Line 394: Line 346:
 
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
 
|| <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.  
 
||  
 
||  
  
Click on the '''Run CvPcb to associate components and footprints '''button''' '''at the top of the''' eSim Schematic Editor'''.
+
Click on the '''Run CvPcb to associate components and footprints '''button at the top of the''' eSim Schematic Editor'''.
  
  
 
This opens '''Cvpcb window.'''
 
This opens '''Cvpcb window.'''
  
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| 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'''.'''
+
  
  
Line 411: Line 364:
 
|- 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  
 
Hover the '''cursor''' over the leftmost panel  
 
+
|| The '''Cvpcb''' window is divided into three '''panels.'''
 
+
 
+
|| The '''Cvpcb window''' is divided into three '''panels.'''
+
  
  
Line 427: Line 375:
  
 
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
 
 
 
Hover the '''cursor''' over the second column of the middle panel
 
 
 
 
 
Hover the '''cursor''' over the third 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'''.  
  
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
The second column in the middle '''panel''' shows the reference '''ID''' of the '''component'''s 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.
 
+
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 463: Line 401:
  
 
Hover the cursor to show '''Filter options'''
 
Hover the cursor to show '''Filter options'''
 
 
Hover the cursor over '''Filter footprint list by keywords'''.
 
 
>>
 
 
Hover the cursor over '''Filter footprint list by pin count'''.
 
 
>>
 
 
Hover the cursor over '''Filter footprint list by Library'''.
 
 
|| 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'''.
 +
||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'''.
 
+
||This will filter the '''footprints''' by '''pin count'''.
 
+
 
+
This will filter the '''footprints''' by '''pin''' count.
+
 
+
 
+
 
+
  
This will filter the '''footprints''' by the '''library'''.
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Hover the cursor over '''Filter footprint list by 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 501: 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;"
 
||  
 
||  
|| '''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;"
 
||  
 
||  
|| '''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 518: 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
 
+
>>
+
 
+
click '''View selected footprint'''
+
 
+
  
  
Line 538: Line 459:
  
 
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 on '''View selected footprint''' from the top '''panel'''.
+
||Click on '''View selected footprint''' from the top '''panel'''.
  
  
Line 549: 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''', '''double click on it to assign this footprint.
+
Let us locate the '''footprint''' with '''D 5.0 mm''' and '''P 2.50 mm'''.
 +
 
 +
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 559: 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 586: Line 511:
  
 
Double click
 
Double click
|| For '''J2''' '''connector''':
+
|| For '''J2 connector''':
  
  
Line 592: Line 517:
  
  
Locate '''Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm '''.
+
Locate '''Pin underscore Headers colon Pin underscore Header underscore Straight underscore 1x02 underscore Pitch2.54mm '''.
  
  
Line 600: Line 525:
  
 
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;"
|| <span style="color:#252525;">'''Cvpcb '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
+
|| '''Cvpcb '''window:
  
<div style="color:#252525;">Show rest of the mapped footprints</div>
+
Show rest of the mapped footprints
 
||  
 
||  
  
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''': '''
Line 633: Line 554:
  
 
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 642: 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''' :'''
Line 650: Line 571:
  
 
Switch from '''CvPcb''' to '''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'''.'''
+
|| Let us now generate the''' netlist '''for '''circuit schematic '''required for''' PCB layout'''.
  
  
Line 679: 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 689: 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 703: Line 624:
 
Summary
 
Summary
 
|| In this tutorial, we learnt to :
 
|| In this tutorial, we learnt to :
* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connector'''s''' '''to a '''schematic.'''</div>
+
* Add '''connectors '''to a '''schematic.'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Map components with '''footprints''' using '''CvPcb.'''</div>
+
* Map '''components''' with '''footprints''' using '''CvPcb.'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Generate '''netlist''' for '''PCB design.'''</div>
+
* Generate '''netlist''' for '''PCB design.'''
 
+
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"

Revision as of 18:07, 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:

Textbook Companion

FOSSEE team coordinates the TBC 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