Sunday, 4 August 2019

Tutorial 1.2 Import Symbol Continue With Drawing of Circuit





You can watch this video on YouTube by clicking on YouTube Video On Import Terminal 

and Place Symbol

Terminal Block 2P Side Entry 5.08MM PCB


1.               For a terminal block, we want to use Terminal Block 2P Side Entry 5.08MM PCB
2.               On the Digi-Key website, you will find the particulars of the above terminal block by clicking on Digi-Key website and datasheet of terminal block.
3.               It looks like as shown in figure 1.2A below:


Fig. 1.2A: Terminal Block 2P Side Entry 5.08mm PCM


4.               The product overview of the terminal block is as shown in figure 1.2B:


Product Overview of the Terminal Block
Fig. 1.2B: Product Overview of the Terminal Block

5.               In the Digi-Key symbol library for KiCad you will find the symbol of this terminal with the Digi-Key part number ED2609-ND.

Download and Install the Digi-Key KiCad Library


1.               If you have not done so yet download and install the Digi-Key KiCad Library.
2.               To download you can find the library on Digi-Key KiCad Library.
3.               Download and store the Digi-Key KiCad Library on your computer.
4.               In Eeschema click on Preferences and click on Manage Symbol Libraries.
5.               The Symbol Libraries window opens and looks like as shown in figure 1.2C below:


Symbol Libraries Window
Fig. 1.2C: Symbol Libraries Window




6.               Click on the file icon at the bottom between the + and the upward pointing arrow.
7.               Navigate to where you stored the Digi-Key KiCad Library on your computer.
8.               In the files, you downloaded there are two places where you can find the symbols.
9.               In my case the first place was at:  C:/Users/Deon/Documents/KiCad/LIBRARY/digikey-kicad-library-master/digikey-symbols.
10.            The symbol files all have a .lib extension.
11.             Select all the files if you want to and click Open
12.             In my case the second place was at:  C:/Users/Deon/Documents/KiCad/LIBRARY/digikey-kicad-library-master/src/Source_Symbols.
13.            The symbol files all have a .lib extension.
14.            It looks like as shown in figure 1.2D below and this is where you will find the ed2609-nd.lib symbol file.



ed2609-nd.lib symbol file on your computer
Fig. 1.2D: The ed2609-nd.lib Symbol File on Your Computer



15.             Select at least the ed2609-nd.lib file and click Open.
16.        You can also select all the .lib files if you want to.

Place Terminal Block Digi-Key ED2609-ND Symbol


1.            Click on the Place symbol icon which is the icon with the op-amp on the right vertical
           bar of icons of the main window.   
2.               Be careful, there is another op-amp icon on the top horizontal icon bar.
3.               Do not use this one. It is for Create, delete and edit symbols.
4.               Click on the drawing sheet in the main window.
5.               Another window opens with heading Choose Symbol
6.               Type in  "ED2609" 
7.               You should see the ED2609-ND symbol as shown in figure 1.2E:

terminal block symbol with ed2609-nd digi-key part number
Fig. 1.2E: ED2609-ND Symbol

8.               Click OK.
9.               Place the ED2609-ND symbol to the left and next to the 100pF capacitor.
10.           This is where we will connect the input 12V to.
11.            Right-click on ED2609-ND and select Duplicate  C.
12.           Place the duplicate to the right of the 200uF polarized capacitor.
13.           Right-click the duplicate again select Orientation and select Mirror on Vertical (Y) Axis.
14.          This will be our 3.3V output terminal.



You can watch this video on YouTube by clicking on YouTube video download symbol 
and continue with drawing of circuit.

Transistor Si4412DY 

1. The Si4412DY transistor is not in the symbol library.
2. Go to SnapEDA.
3. Symbol library is not available. 
4. SI4412DY-T1-E3 Mosfet recommended alternative 781-SI4128DY-T1-GE3.
5. Go to Ultra Librarian
6. Also does not have Si4412DY-T.
7. Mouser Electronics recommends Si4128DY-T1-GE3. 


Download Symbol and Footprint of Si4128dy 

1. Go to Ultra Librarian and download Si4128dy Footprint at Ultra Librarian.
2. In Eeschema click on Preferences and click on Manage Symbol Libraries 
3. The Symbol Libraries window opens as shown in figure 1.2F below.

symbol libraries window
Fig. 1.2F: Symbol Libraries Window

4.               Click on the Folder icon next to the + icon.
5.               Navigate to where you stored your Si4128dy.lib file the symbol of the terminal block.
6.               Click Open. 
7.               In the last column under Description type in 
             “ N-Channel 30-V (D-S) MOSFET”
8.          Click Okay.  

Place Symbol Si4128dy
1.               Click on the Place symbol icon which is the op-amp icon on the right vertical bar of icons of the main window.  
2.               Click on the drawing sheet in the main window.  
3.               Another window opens with the heading Choose Symbol.  
4.               Under 2019-07-09_13-28-35 N-Channel 30-V (D-S) MOSFET choose SI4128DY-T1-GE3
5.               Click OK


Place Inductor 10uH 

1.          Click on the Place symbol icon which is the op-amp icon on the right vertical bar of icons of the main window.  
2.          Click on the drawing sheet in the main window. 
3.          Under Device choose L Inductor. 
4.          Click Okay  
5.          Click on the main sheet in Eeschema to place next to 35.7k resistor.  
6.          Right-click on the inductor choose Orientation and click on Rotate Counterclockwise to make the inductor horizontal.  
7.          Right-click on the inductor choose Properties click on Edit Value 
8.          Edit Value Field window opens.  
9.          In Text: type “10u” for 10 mico Henry for the inductor as shown in figure 1.2G below: 


edit value field window text field for inductor
Fig. 1.2G: Edit Value Field for Inductor


Place Zener MBRS340
1.         Click on the Place symbol icon which is the op-amp icon on the right
             vertical bar of icons of the main window.  
2.         Click on the drawing sheet in the main window. 
3.          In the search field type in "MBR340"
4.          Select MBR340.
5.          Click Okay.
6.          Click on the main sheet in Eeschema to place it under the source pins of   
              Si4128Dy  close to the 10uH inductor.   
7.           Right-click MBR340 select Orientation and rotate to a vertical position.
8.           Click Save





You can watch this video on YouTube by clicking on YouTube Video place gnd, wire circuit and ltspice simulation


Place GND Power Flag

1.       Click on the Place symbol icon which is the op-amp icon on the right 
          the vertical bar of icons of the main window.
2.       Click on the drawing sheet in the main window.
3.       Another window opens with the heading Choose Symbol.
4.       In filter space type in “GND”.
5.       Under power Choose GND Power symbol creates a global label with 
          name “GND”, ground Keywords: power-flag. 
6.       Click OK.
7.        Click on the drawing surface to place the GND symbol below the ED2609-ND
           connector.
8.         Right-click GND and click Duplicate and place below:
            8.1.       6.8 k resistor;
            8.2.      100pF capacitor;
            8.3.       LTC 1624 GND pin 4;
            8.4.       MBR340;
            8.5.       20k resistor;
            8.6.       200uF capacitor; and 
            8.7.        the second ED2609-ND connector.

Wire Circuit
1.         Click on the Place wire icon which is the forward-slash green icon on the
            right vertical bar of icons of the main window.  
2.          Click on the drawing sheet in the main window.
3.          If you left-click on a pin of a symbol the will starts a wire.
4.          If you left-click at the end of the wire on the destination pin of a symbol the
             wire will end. 
5.          By left-clicking, you can add a turning point to the wire. 
6.           Double-clicking ends a wire, even if it is not on a pin. 
7.           A node spot will appear where crossing wires are connected. 
8.          If there is not a node spot showing it means the two wires that are crossing
             are not connected. 
9.          Wires are a visual way of connecting two nodes. 
10.       This enables the schematic tool to create the netlist of what symbol or node
            is connected to what other symbol or node. 
11.        Connect symbols as in the circuit drawing. 
12.        You can also right-click on a symbol and use the Drag function to relocate
             a symbol that has been wired without disconnecting the wiring of the
             symbol.
13.        Click Save
14.         Finally, your circuit should look something like this in Eeschema as shown
              in figure 1.2H below: 
15.         However, keep in mind the symbols in figure 1.2I have already been
              numbered. 
16.         We will do this in the following tutorial.

final circuit in eeschema
Fig. 1.2H: Final Circuit in Eeschema



LT Spice Circuit

1.        Let's do an LTspice simulation of our circuit.
2.        I added a resistor R5 of 4 ohms just to give the circuit a load as shown in 
           figure 1.2I below.


ltspice circuit with 4 ohm load
Fig. 1.2I: LTspice Circuit With 4 Ohm Load

3.       See the simulation plots in figure 1.2J below:


input and output voltages and current simulation plots
Fig. 1.2J: Input Voltage and Output Voltage and Current Simulation Plots


4.      The blue trace is the input which settles at 12 volts.
5.      The green trace is the output settling at 3.3 volts after about 250 
         microseconds.
6.      The red trace is the current in the load resistor of 4 ohms settling at 834
         milliamps.


Previous: KiCad 5.1.2 Tutorial 1.1 Start To Draw Circuit
Next: Tutorial 1.3 Annotate Symbols Electrical Rules Checker


No comments:

Post a Comment