Difference between revisions of "Oscad/C2/Introduction-to-Oscad/English"
Rupakrokade (Talk | contribs) (Created page with ' '''Title of the Script:''' Introduction to '''Oscad''' '''Author:''' '''Rakhi ''' '''Keywords: '''video tutorial,''' Oscad, schematic, simulation, EDA, PCB layout, scilab, …') |
Nancyvarkey (Talk | contribs) |
||
Line 24: | Line 24: | ||
* install '''Oscad 1.0''' | * install '''Oscad 1.0''' | ||
* test run '''Oscad''' using an example | * test run '''Oscad''' using an example | ||
− | |||
− | |||
| style="border:1pt solid #000000;padding:0.176cm;"| In this tutorial you will learn to | | style="border:1pt solid #000000;padding:0.176cm;"| In this tutorial you will learn to | ||
* install '''Oscad''' version 1.0 and | * install '''Oscad''' version 1.0 and | ||
* test run '''Oscad''' using an example | * test run '''Oscad''' using an example | ||
− | |||
− | |||
|- | |- | ||
| style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show Slide:''' | | style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show Slide:''' | ||
− | |||
System Requirements: | System Requirements: | ||
− | + | *'''Ubuntu''' 12.04 OS-'''scilab''' 5.4.0 or above | |
− | + | * Windows installation: refer to '''oscad.in''' | |
− | + | ||
− | + | ||
− | + | ||
| style="border:1pt solid #000000;padding:0.176cm;"| To install '''Oscad''', we will use '''Ubuntu''' 12.04 OS, with '''Scilab''' 5.4.1 | | style="border:1pt solid #000000;padding:0.176cm;"| To install '''Oscad''', we will use '''Ubuntu''' 12.04 OS, with '''Scilab''' 5.4.1 | ||
− | For installing '''Oscad''' on '''Windows OS''', refer to the installation instructions available at oscad.in website. | + | For installing '''Oscad''' on '''Windows OS''', refer to the installation instructions available at '''oscad.in''' website. |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 56: | Line 45: | ||
'''Installation Requirements''' | '''Installation Requirements''' | ||
+ | *Require a working Internet connection | ||
+ | *Require to be an admin (root) user to do the installation | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| A working '''Internet''' connection is required to install '''Oscad''' | ||
− | + | You should have '''admin rights''' i.e you need to be a '''root user''' to do the installation. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show slide:''' | | style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show slide:''' | ||
− | |||
About '''Oscad''': | About '''Oscad''': | ||
− | * Free and open source software alternative to OrCAD | + | * Free and open source software alternative to '''OrCAD''' |
− | + | ||
Can be used to: | Can be used to: | ||
− | + | * create '''circuit schematic''' | |
− | + | * perform simulation | |
− | + | * and create '''PCB layout''' | |
− | + | ||
− | + | ||
− | + | ||
| style="border:1pt solid #000000;padding:0.176cm;"| '''Oscad''' is a free and open source software alternative to '''OrCAD'''. | | style="border:1pt solid #000000;padding:0.176cm;"| '''Oscad''' is a free and open source software alternative to '''OrCAD'''. | ||
− | + | It can be used to create '''circuit schematics, '''perform '''simulation''' and create''' PCB layout.''' | |
− | It can be used to create '''circuit schematics, '''perform | + | |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show slide:''' | | style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Show slide:''' | ||
− | |||
Credits and Acknowledgements: | Credits and Acknowledgements: | ||
− | + | * Developed by '''FOSSEE''' group, IIT Bombay | |
− | + | * Funded by NMEICT, MHRD, Govt. of India | |
− | + | | style="border:1pt solid #000000;padding:0.176cm;"| '''Oscad''' was developed by the''' FOSSEE''' team at '''IIT Bombay'''. | |
− | + | ||
− | + | ||
− | + | ||
− | | style="border:1pt solid #000000;padding:0.176cm;"| '''Oscad''' was developed by the''' FOSSEE''' | + | |
− | + | ||
This project is funded by '''NMEICT, MHRD''', Government of India. | This project is funded by '''NMEICT, MHRD''', Government of India. | ||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Prerequisites:''' | | style="border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| '''Prerequisites:''' | ||
+ | # Basic knowledge of '''analog''' and '''digital electronics''' | ||
+ | # Knowledge of '''Linux shell commands''' | ||
+ | # Please visit '''http://spoken-tutorial.org''' to watch '''Linux''' and '''Bash''' tutorials | ||
+ | | style="border:1pt solid #000000;padding:0.176cm;"| To use '''Oscad''', | ||
+ | * basic knowledge of '''analog '''and '''digital electronics''' and | ||
+ | * '''Linux shell commands ''' | ||
− | + | are required. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | Please visit '''http://spoken-tutorial.org''' to watch '''Linux''' and '''Bash''' tutorials. | ||
|- | |- | ||
Line 131: | Line 95: | ||
'''Prerequisites:''' | '''Prerequisites:''' | ||
− | + | * '''Synaptic Package Manager''' should also be installed on your computer. | |
− | + | * This can be done using '''Ubuntu Software Center.''' | |
− | + | * Working knowledge of '''Synaptic Package Manager.''' | |
− | + | * Please watch the relevant tutorials on '''http://spoken-tutorial.org.''' | |
Line 140: | Line 104: | ||
− | If not installed, you can do so by using '''Ubuntu | + | If not installed, you can do so by using '''Ubuntu Software Center.''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | You should also have working knowledge of''' Synaptic Package Manager.''' | ||
+ | If not, please watch the relevant tutorials on http://spoken-tutorial.org. | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Switch to | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Switch to '''http://www.oscad.in'''. |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To begin, let us go to the website | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To begin, let us go to the website '''http://www.oscad.in''' to download the installer files. |
|- | |- | ||
Line 159: | Line 119: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on the link | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on the link '''Oscad Installer'''. |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the link | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the link '''Oscad Installer Linux'''. |
Line 166: | Line 126: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on '''Cancel''' |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel '''as I have already downloaded this file. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel, '''as I have already downloaded this file. |
|- | |- | ||
Line 177: | Line 137: | ||
Click on '''Save'''. | Click on '''Save'''. | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Save the file in the same directory where you saved the '''Oscad | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Save the file in the same directory where you saved the '''Oscad Installer'''. |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on '''Cancel''' |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel '''as I have already downloaded this file | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel, '''as I have already downloaded this file. |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Switch to | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Switch to http://www.scilab.org |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now go to the webpage | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now, go to the webpage '''http://www.scilab.org''' to download '''Scilab.''' |
|- | |- | ||
Line 202: | Line 162: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Browse to the same directory as before. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Browse to the same directory as before. | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Save the file in the same directory where you saved the '''Oscad | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Save the file in the same directory where you saved the '''Oscad installer'''. |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on '''Cancel''' |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel '''as I have already downloaded this file. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| I will click on '''Cancel '''as I have already downloaded this file. | ||
Line 217: | Line 177: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Right click on it and click on | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Right click on it and click on '''Extract Here''' |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Right click on it and click on '''Extract Here''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Right click on it and click on '''Extract Here''' | ||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Press '''control, alt and t '''keys together | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Press '''control, alt and t '''keys together | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now open the '''terminal''' window by pressing the '''Control, Alt''' and '''T''' keys together. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now, open the '''terminal''' window by pressing the '''Control, Alt''' and '''T''' keys together. |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type '''cd folder-where-downloaded-files-are-saved''' |
− | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Go to the directory where you have saved the '''Oscad installer'''. | |
− | + | ||
− | '''cd folder-where-downloaded-files-are-saved''' | + | |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Go to the directory where you have saved the '''Oscad | + | |
Let me do this by typing | Let me do this by typing | ||
− | '''cd space '''foldername, where the downloaded files are saved | + | '''cd space '''foldername, where the downloaded files are saved and press '''Enter.''' |
|- | |- | ||
Line 250: | Line 204: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| chmod 755 installOSCAD.sh installModule.sh | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type '''chmod 755 installOSCAD.sh installModule.sh''' |
− | press | + | press '''Enter''' |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Next, make the '''installOSCAD''' and '''installModule''' files executable, by typing | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Next, make the '''installOSCAD''' and '''installModule''' files executable, by typing | ||
Line 262: | Line 216: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type '''./installOscad.sh''' |
Line 269: | Line 223: | ||
− | Type | + | Type '''./installOSCAD.sh''' and press '''Enter'''. |
|- | |- | ||
Line 276: | Line 230: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"|Type '''Y''' >> press '''Enter''' |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you are behind a '''network | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you are behind a '''network proxy''', you should type '''Y''' else type '''N'''. |
− | As I am behind a '''network proxy''', let me type | + | As I am behind a '''network proxy''', let me type '''Y''' and press '''Enter'''. |
|- | |- | ||
Line 289: | Line 243: | ||
− | Note that, if you type ' | + | Note that, if you type '''N''', '''proxy''' details will not be asked. |
Line 299: | Line 253: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type username, press | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type username, press '''Enter.''' |
Highlight [mailto:username@proxy-hostname username@proxy-hostname] | Highlight [mailto:username@proxy-hostname username@proxy-hostname] | ||
Line 308: | Line 262: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type your PC/Laptop root | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type your PC/Laptop root password when it asks “[sudo] password for your-username” |
− | Press | + | Press '''Enter.''' |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| When prompted, type the '''root | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| When prompted, type the '''root password''' and press '''Enter.''' |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| <nowiki>Highlight The message “Do you want to continue [Y/n]:”</nowiki> | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| <nowiki>Highlight The message “Do you want to continue [Y/n]:”</nowiki> | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The message “'''Do you want to continue''' ” is displayed | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The message “'''Do you want to continue''' ” is displayed. |
|- | |- | ||
Line 321: | Line 275: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Press '''y''' and press '''Enter'''. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Press '''y''' and press '''Enter'''. | ||
− | Press '''y''' and press '''Enter''' if it | + | Press '''y''' and press '''Enter''' if it prompts to install packages without verification. |
'''Kicad, Ngspice''' and necessary '''Python modules''' will be installed. | '''Kicad, Ngspice''' and necessary '''Python modules''' will be installed. | ||
Line 332: | Line 286: | ||
In that case, install the missing packages using '''Synaptic Package Manager'''. | In that case, install the missing packages using '''Synaptic Package Manager'''. | ||
− | Once this is done, re-run the '''installOscad.sh | + | Once this is done, re-run the '''installOscad.sh''' script. |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Highlight “Do you have | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Highlight “Do you have '''scilab'''5.4 or above? (y/n) “ |
− | + | ||
− | '''scilab'''5.4 or above? (y/n) “ | + | |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Let us now continue. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Let us now continue. | ||
Line 344: | Line 296: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type y and press '''Enter'''. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type '''y''' and press '''Enter'''. |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you do not want to use '''Scilab''', type '''n'''. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you do not want to use '''Scilab''', type '''n'''. | ||
Line 350: | Line 302: | ||
− | If you type '''y''' you will proceed to linking '''scilab''' with '''Oscad''' | + | If you type '''y,''' you will proceed to linking '''scilab''' with '''Oscad''' |
Let us type '''y''' and press '''Enter'''. | Let us type '''y''' and press '''Enter'''. | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Type the complete path of the folder in which you have saved and extracted '''scilab'''-5.4.1 |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| When prompted, type the complete path of the folder in which you have saved '''scilab-5.4.1.''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| When prompted, type the complete path of the folder in which you have saved '''scilab-5.4.1.''' | ||
Line 371: | Line 320: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Point to '''metanet''' '''installation''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Point to '''metanet''' '''installation''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The installer will also install '''metanet | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The installer will also install '''metanet library''' for '''scilab'''–'''5.4.1''' |
− | + | ||
− | '''scilab'''–'''5.4.1''' | + | |
Line 384: | Line 331: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Highlight “Please select '''installation''' directory” | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Highlight “Please select '''installation''' directory” | ||
− | |||
− | |||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The message “'''Please select installation directory'''” is displayed next. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The message “'''Please select installation directory'''” is displayed next. | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| type the complete path where you want | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| type the complete path where you want to '''install Oscad'''. |
− | + | ||
− | to '''install | + | |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Type the complete path where you want to install '''Oscad.''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Type the complete path where you want to install '''Oscad.''' | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| press '''Enter''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| press '''Enter''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you press '''Enter''' without specifying any path, '''Oscad''' gets installed in the '''home''' directory. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you press '''Enter,''' without specifying any path, '''Oscad''' gets installed in the '''home''' directory. |
− | + | ||
Let me press '''Enter'''. | Let me press '''Enter'''. | ||
Line 413: | Line 355: | ||
- RC filter circuit | - RC filter circuit | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now let us test run '''Oscad''' using an example. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now let us test run '''Oscad''' using an example. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 423: | Line 362: | ||
Double-click on it to launch''' Oscad.''' | Double-click on it to launch''' Oscad.''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 437: | Line 369: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you are not able to launch '''Oscad''' this way, you can do so by opening the terminal and typing '''oscad''' | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| If you are not able to launch '''Oscad''' this way, you can do so by opening the '''terminal''' and typing '''oscad''' |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on Project tab at the top left hand corner of this window | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on '''Project''' tab at the top left hand corner of this window |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To open a project, click on '''Project''' tab | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| To open a project, click on '''Project''' tab | ||
Line 451: | Line 383: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Browse to the folder where you have saved the '''Oscad''' '''Examples'''. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Browse to the folder where you have saved the '''Oscad''' '''Examples'''. | ||
− | We will use '''RC filter''' | + | We will use '''RC filter circuit''' |
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Choose the folder '''RC''' by double clicking on it. |
Now click on OK | Now click on OK | ||
Line 460: | Line 392: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on OK when the “Enter Project name” dialog box opens up. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on '''OK''' when the “Enter Project name” dialog box opens up. |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In the “'''Enter Project name'''” dialog box, click on '''OK.''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| In the “'''Enter Project name'''” dialog box, click on '''OK.''' | ||
Line 469: | Line 401: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Point to each of the tools | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Point to each of the tools | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| There are various tools like '''schematic editor, Layout editor | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| There are various tools like '''schematic editor, Layout editor''' etc |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on schematic editor. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on schematic editor. | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Schematic editor '''helps to create circuit schematics. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| '''Schematic editor '''helps to create '''circuit schematics'''. |
Line 479: | Line 411: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| A load error message will pop up. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| A '''load error''' message will pop up. |
Click on close. | Click on close. | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| A load error message will pop up. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| A '''load error''' message will pop up. |
− | Click on ''' | + | Click on '''Close'''. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 495: | Line 423: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Zoom in by pressing '''F1 key'''. |
Zoom out by pressing F2 key. | Zoom out by pressing F2 key. | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Place the cursor on the '''circuit schematic''' and press '''F1 '''key''' '''to zoom in. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Place the cursor on the '''circuit schematic''' and press '''F1 '''key''' '''to zoom in. | ||
− | To zoom out use '''F2''' key. | + | To zoom out, use '''F2''' key. |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 510: | Line 435: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Click on Ngspice from the tools bar |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now click on '''Ngspice''' from the tool bar. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Now click on '''Ngspice''' from the tool bar. | ||
Line 522: | Line 443: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| You will see a new '''terminal window''' and a '''graph window'''. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| You will see a new '''terminal window''' and a '''graph window'''. | ||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Show the graphs, and new terminal window | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.176cm;"| Show the graphs, and new terminal window | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The terminal window is in the '''ngspice simuation mode'''. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The '''terminal window''' is in the '''ngspice simuation mode'''. |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 544: | Line 460: | ||
Repeat for Subciruit Builder | Repeat for Subciruit Builder | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The '''graph''' shows the result of | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| The '''graph''' shows the result of '''transient analysis '''of '''RC circuit'''. |
Click on the '''Model Builder''' tool from the '''Oscad''' toolbar. | Click on the '''Model Builder''' tool from the '''Oscad''' toolbar. | ||
Line 550: | Line 466: | ||
Verify that you get the window titled ''''Please select the model''''. | Verify that you get the window titled ''''Please select the model''''. | ||
− | This verifies '''Moble Builder''' tool is working properly | + | This verifies '''Moble Builder''' tool is working properly. |
Click on '''Cancel'''. | Click on '''Cancel'''. | ||
Line 556: | Line 472: | ||
Close the '''Model Builder'''. Click on '''OK'''. | Close the '''Model Builder'''. Click on '''OK'''. | ||
− | Similarly verify that you are able to launch '''Subcircuit Builder,''' as shown. | + | Similarly, verify that you are able to launch '''Subcircuit Builder,''' as shown. |
− | With this, the installation of '''Oscad | + | With this, the installation of '''Oscad''' is verified. |
|- | |- | ||
Line 573: | Line 489: | ||
In this tutorial, we learnt | In this tutorial, we learnt | ||
− | + | * to install '''Oscad version 1.0 '''and | |
− | to install '''Oscad version 1.0 '''and | + | * test run '''Oscad '''using an example |
− | + | ||
− | test run '''Oscad '''using an example | + | |
|- | |- | ||
Line 583: | Line 497: | ||
* It summarises the Spoken Tutorial project | * It summarises the Spoken Tutorial project | ||
− | |||
* If you do not have good bandwidth, you can download and watch it | * If you do not have good bandwidth, you can download and watch it | ||
− | |||
− | |||
|- | |- | ||
Line 593: | Line 504: | ||
* Conducts workshops using spoken tutorials | * Conducts workshops using spoken tutorials | ||
− | |||
* Gives certificates to those who pass an online test | * Gives certificates to those who pass an online test | ||
− | |||
* For more details, please write to contact at spoken hyphen tutorial dot org | * For more details, please write to contact at spoken hyphen tutorial dot org | ||
− | |||
− | |||
|- | |- | ||
Line 605: | Line 512: | ||
* It is supported by the National Mission on Education through ICT, MHRD, Government of India | * It is supported by the National Mission on Education through ICT, MHRD, Government of India | ||
− | |||
* More information on this Mission is available at spoken hyphen tutorial dot org slash NMEICT hyphen Intro | * More information on this Mission is available at spoken hyphen tutorial dot org slash NMEICT hyphen Intro | ||
− | |||
− | |||
|- | |- |
Latest revision as of 21:02, 12 December 2013
Title of the Script: Introduction to Oscad
Author: Rakhi
Keywords: video tutorial, Oscad, schematic, simulation, EDA, PCB layout, scilab, installation
Visual cue | Narration |
Welcome to the Spoken Tutorial on “Introduction to Oscad” | Welcome to the Spoken Tutorial on “Introduction to Oscad” |
Show Slide:
Learning Objectives:
|
In this tutorial you will learn to
|
Show Slide:
System Requirements:
|
To install Oscad, we will use Ubuntu 12.04 OS, with Scilab 5.4.1
|
Show Slide:
Installation Requirements
|
A working Internet connection is required to install Oscad
You should have admin rights i.e you need to be a root user to do the installation. |
Show slide:
About Oscad:
Can be used to:
|
Oscad is a free and open source software alternative to OrCAD.
It can be used to create circuit schematics, perform simulation and create PCB layout. |
Show slide:
Credits and Acknowledgements:
|
Oscad was developed by the FOSSEE team at IIT Bombay.
This project is funded by NMEICT, MHRD, Government of India. |
Prerequisites:
|
To use Oscad,
are required. Please visit http://spoken-tutorial.org to watch Linux and Bash tutorials. |
Show Slide:
Prerequisites:
|
Synaptic Package Manager should also be installed on your computer.
You should also have working knowledge of Synaptic Package Manager. If not, please watch the relevant tutorials on http://spoken-tutorial.org. |
Switch to http://www.oscad.in. | To begin, let us go to the website http://www.oscad.in to download the installer files. |
Click on Downloads tab. | On this website, click on the Downloads tab. |
Click on the link Oscad Installer. | Click on the link Oscad Installer Linux.
|
Click on Cancel | I will click on Cancel, as I have already downloaded this file. |
Go back to the same webpage >> click on Oscad Examples. | On the same webpage, click on Oscad Examples. |
Browse to the same directory as before.
Click on Save. |
Save the file in the same directory where you saved the Oscad Installer. |
Click on Cancel | I will click on Cancel, as I have already downloaded this file. |
Switch to http://www.scilab.org | Now, go to the webpage http://www.scilab.org to download Scilab. |
Click on Download Scilab. | You can skip this step, if you have scilab 5.4.0 or above installed in your system.
|
Browse to the same directory as before. | Save the file in the same directory where you saved the Oscad installer. |
Click on Cancel | I will click on Cancel as I have already downloaded this file. |
Show folder | Here is the folder which has all the downloaded files. |
Select all the downloaded files. | Select all the downloaded files. |
Right click on it and click on Extract Here | Right click on it and click on Extract Here |
Press control, alt and t keys together | Now, open the terminal window by pressing the Control, Alt and T keys together. |
Type cd folder-where-downloaded-files-are-saved | Go to the directory where you have saved the Oscad installer.
cd space foldername, where the downloaded files are saved and press Enter. |
cd OSCAD_installer
|
Type cd space OSCAD underscore installer to go to the installer directory.
|
Type chmod 755 installOSCAD.sh installModule.sh
press Enter |
Next, make the installOSCAD and installModule files executable, by typing
|
Type ./installOscad.sh
|
Now let us begin the installation of Oscad.
|
Highlight “Is your internet connection behind proxy? (y/n): “ | The installer asks about the proxy. |
Type Y >> press Enter | If you are behind a network proxy, you should type Y else type N.
|
Type your proxy host name when asked for “Proxy Hostname”
Highlight “Proxy Hostname” |
You will be prompted for the proxy details next.
|
Type the proxy port when asked for “Proxy Port” Highlight “Proxy Port” | Type the proxy port when prompted and press Enter. |
Type username, press Enter.
Highlight username@proxy-hostname
|
Type your username and password when prompted and press Enter key. |
Type your PC/Laptop root password when it asks “[sudo] password for your-username”
Press Enter. |
When prompted, type the root password and press Enter. |
Highlight The message “Do you want to continue [Y/n]:” | The message “Do you want to continue ” is displayed. |
Press y and press Enter. | Press y and press Enter.
Press y and press Enter if it prompts to install packages without verification. Kicad, Ngspice and necessary Python modules will be installed. |
While installing the python modules, you may get some error messages.
Once this is done, re-run the installOscad.sh script. | |
Highlight “Do you have scilab5.4 or above? (y/n) “ | Let us now continue.
|
Type y and press Enter. | If you do not want to use Scilab, type n.
You will be directly asked to enter the installation directory.
|
Type the complete path of the folder in which you have saved and extracted scilab-5.4.1 | When prompted, type the complete path of the folder in which you have saved scilab-5.4.1.
|
scilab-5.4.1 is linked to Oscad. | |
Point to metanet installation | The installer will also install metanet library for scilab–5.4.1
|
With this, all requisite packages of Oscad are installed. | |
Highlight “Please select installation directory” | The message “Please select installation directory” is displayed next. |
type the complete path where you want to install Oscad. | Type the complete path where you want to install Oscad. |
press Enter | If you press Enter, without specifying any path, Oscad gets installed in the home directory.
Let me press Enter. |
Show message installation complete | You can see that the installation of Oscad is now complete. |
Show Slide:
- Test run Oscad using an example - RC filter circuit |
Now let us test run Oscad using an example. |
On the Desktop, double-click on the Oscad icon. | A shortcut to Oscad is created on your desktop.
|
Now the Oscad window opens up. | Now the Oscad window opens up. |
If you are not able to launch Oscad this way, you can do so by opening the terminal and typing oscad | |
Click on Project tab at the top left hand corner of this window | To open a project, click on Project tab |
Click on Open. | Click on Open. |
Browse to the folder where you have saved the Oscad Examples. | Browse to the folder where you have saved the Oscad Examples.
We will use RC filter circuit |
Choose the folder RC by double clicking on it.
Now click on OK |
Double-click on the folder RC and click on OK. |
Click on OK when the “Enter Project name” dialog box opens up. | In the “Enter Project name” dialog box, click on OK. |
Point to tools bar | Now the Oscad toolbar is displayed. |
Point to each of the tools | There are various tools like schematic editor, Layout editor etc |
Click on schematic editor. | Schematic editor helps to create circuit schematics.
|
A load error message will pop up.
Click on close. |
A load error message will pop up.
Click on Close. |
Point to circuit schematic | This is the circuit schematic of RC filter. |
Zoom in by pressing F1 key.
Zoom out by pressing F2 key. |
Place the cursor on the circuit schematic and press F1 key to zoom in.
To zoom out, use F2 key. |
Now let us simulate this circuit and verify the installation of Oscad. | |
Click on Ngspice from the tools bar | Now click on Ngspice from the tool bar.
This will simulate the netlist using Ngspice. |
You will see a new terminal window and a graph window. | |
Show the graphs, and new terminal window | The terminal window is in the ngspice simuation mode. |
Show graph
Click on Model Builder tool Show the window titled 'Please select the model'. Click on Cancel. Close the Model Builder. Click on OK. Repeat for Subciruit Builder |
The graph shows the result of transient analysis of RC circuit.
Click on the Model Builder tool from the Oscad toolbar. Verify that you get the window titled 'Please select the model'. This verifies Moble Builder tool is working properly. Click on Cancel. Close the Model Builder. Click on OK. Similarly, verify that you are able to launch Subcircuit Builder, as shown.
|
Slide: Summary
|
<Pause>
Let us summarize. In this tutorial, we learnt
|
Show Slide | Watch the video available at the following link
|
Show Slide | The Spoken Tutorial Project Team
|
Show Slide | Spoken Tutorial Project is a part of the Talk to a Teacher project
|
Remain on previous slide only | Hope you found this tutorial useful.
|
Required software and files – Ubuntu 12.04, internet connection, OSCAD_installer.tar.gz, Examples.tar.gz, scilab-5.4.1 tar file, watch tutorials on Linux, Bash, Ubuntu, knowledge of synaptic package manager