Difference between revisions of "CircuitJS/C2/Installation-of-CircuitJS/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 13: Line 13:
  
 
Learning Objectives
 
Learning Objectives
|| In this tutorial, we will learn how to
+
|| In this tutorial, we will learn how to,
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Use '''CircuitJS''' in online mode and</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Use '''CircuitJS''' in online mode and</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''CircuitJS''' on '''linux''' and '''windows''' Os and use it in offline mode</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''CircuitJS''' on '''linux''' and '''windows''' Os and use it in offline mode</div>
  
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 +
 
|| Slide 3:
 
|| Slide 3:
 
Prerequisite
 
|| To follow this tutorial, you should have basic knowledge of
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Circuits</div>
 
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
 
|| Slide 4:
 
  
 
System Requirement
 
System Requirement
 
|| To record this tutorial, I am using:
 
|| To record this tutorial, I am using:
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Ubuntu Linux 20.04 OS</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Ubuntu Linux 20.04 OS</div>
* <div style="margin-left:1.27cm;margin-right:0cm;">Windows 10</div>
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Windows 10</div> and
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Web browser</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Web browser</div>
 +
 +
|-
 +
|| Slide 4:
 +
 +
Prerequisite
 +
|| To follow this tutorial, you should have basic knowledge of
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Circuits</div>
  
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
||  
+
 
 +
|| Only Narration
 
|| Let us see how to use CircuitJS in online mode.
 
|| Let us see how to use CircuitJS in online mode.
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
Line 67: Line 69:
 
Note the variation in the speed of the circuit.
 
Note the variation in the speed of the circuit.
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
||  
+
|| Only Narration
|| Next we will see how to install '''circuitJS''' in '''Linux OS.'''
+
|| Next we will see how to install '''circuitJS''' in '''Linux OS'''.
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|| Go to web browser
 
|| Go to web browser
Line 82: Line 84:
 
|| Open a new tab on the web browser.
 
|| Open a new tab on the web browser.
  
In the address bar, type this URL and press Enter
+
In the address bar, type this '''URL''' and press Enter.
  
 
Here you will see three different zip files for '''Mac, Linux and Windows.'''
 
Here you will see three different zip files for '''Mac, Linux and Windows.'''
Line 88: Line 90:
 
Now we will learn how to install the circuitJS simulator in linux OS.
 
Now we will learn how to install the circuitJS simulator in linux OS.
  
Click on the '''circuitjs1-linux64.tgz '''and it will download a zip file automatically.
+
Click on the '''circuitjs1-linux64.tgz ''' and it will download a zip file automatically.
  
 
Go to the '''Downloads''' folder. We can see the downloaded zip file.
 
Go to the '''Downloads''' folder. We can see the downloaded zip file.
Line 102: Line 104:
 
|| <span style="background-color:#ffffff;">Now let us launch </span><span style="background-color:#ffffff;">'''circuitJS '''</span><span style="background-color:#ffffff;">from the </span><span style="background-color:#ffffff;">'''Terminal'''</span><span style="background-color:#ffffff;">.</span>
 
|| <span style="background-color:#ffffff;">Now let us launch </span><span style="background-color:#ffffff;">'''circuitJS '''</span><span style="background-color:#ffffff;">from the </span><span style="background-color:#ffffff;">'''Terminal'''</span><span style="background-color:#ffffff;">.</span>
  
<span style="background-color:#ffffff;">Press </span><span style="background-color:#ffffff;">'''CTRL +ALT + T'''</span><span style="background-color:#ffffff;"> keys together to open the </span><span style="background-color:#ffffff;">'''Terminal'''</span><span style="background-color:#ffffff;">.</span>
+
<span style="background-color:#ffffff;">Press </span><span style="background-color:#ffffff;">'''CTRL, ALT and T'''</span><span style="background-color:#ffffff;"> keys together to open the </span><span style="background-color:#ffffff;">'''Terminal'''</span><span style="background-color:#ffffff;">.</span>
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
||  
+
|| java -version
 
+
java -version
+
  
 
SS-Terminal
 
SS-Terminal
Line 113: Line 113:
 
So first we have to check whether Java is installed in the system or not.
 
So first we have to check whether Java is installed in the system or not.
  
Type, '''java space hyphen version''' and press enter.  
+
Type, '''java space hyphen version''' and press Enter.  
  
 
If the java is already installed in your system, you will see the java version.
 
If the java is already installed in your system, you will see the java version.
Line 128: Line 128:
 
|| Let’s start by updating the system.
 
|| Let’s start by updating the system.
  
Type '''sudo space apt space update '''and press enter.
+
Type '''sudo space apt space update '''and press Enter.
  
If prompted for a password, enter your system password and press enter again.
+
If prompted for a password, enter your system password and press Enter again.
  
 
Wait for a few seconds as the system gets updated.
 
Wait for a few seconds as the system gets updated.
Line 137: Line 137:
  
 
Highlight Y/N part
 
Highlight Y/N part
|| Now, type '''sudo space apt space upgrade''' and press enter key.
+
|| Now, type '''sudo space apt space upgrade''' and press Enter key.
  
 
The system will ask if you want to upgrade the system or not.
 
The system will ask if you want to upgrade the system or not.
  
Press Y on your keyboard and press enter.
+
Press Y on your keyboard and press Enter.
  
 
After a few seconds your system will get upgraded.
 
After a few seconds your system will get upgraded.
Line 154: Line 154:
 
<div style="color:#000000;">Type,</div>
 
<div style="color:#000000;">Type,</div>
  
<div style="color:#000000;">'''sudo space apt hyphen get space install space openjdk hyphen 11 hyphen jdk''' and press enter key.</div>
+
<div style="color:#000000;">'''sudo space apt hyphen get space install space openjdk hyphen 11 hyphen jdk''' and press the Enter key.</div>
  
 
It will take some time to install.
 
It will take some time to install.
Line 162: Line 162:
 
'''java space hyphen version'''
 
'''java space hyphen version'''
  
We can see the java version 11.0.20 installed in the system.
+
We see the java version 11.0.20 installed in the system.
  
This shows Java is installed succesfully.
+
This shows Java is installed successfully.
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
| style="color:#ff0000;" |  
 
| style="color:#ff0000;" |  
Line 180: Line 180:
 
|| In terminal window, type,
 
|| In terminal window, type,
  
'''cd space tilde backward slash Downloads '''and press enter key.
+
'''cd space tilde backward slash Downloads ''' and press Enter key.
  
  
Line 189: Line 189:
 
Type
 
Type
  
'''cd space circuitjs1-linux64 '''and press enter key to open this folder.
+
'''cd space circuitjs1-linux64 ''' and press Enter key to open this folder.
  
 
Type''' ls'''
 
Type''' ls'''
Line 197: Line 197:
  
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
||  
+
|| cd circuitjs1
 
+
cd circuitjs1
+
  
  
Line 210: Line 208:
 
To launch the '''circuitJS''' application on your system, type,  
 
To launch the '''circuitJS''' application on your system, type,  
  
'''dot backward slash circuitjs1''' and press enter key.
+
'''dot backward slash circuitjs1''' and press Enter.
  
  
Line 216: Line 214:
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
| style="color:#ff0000;" |  
 
| style="color:#ff0000;" |  
|| Next we will see how to install circuitJS in Windows 10 OS and work in offline mode.
+
|| Next we will see how to install '''circuitJS''' in Windows 10 OS and work in offline mode.
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding:0.176cm;"
 
|| Webpage for offline application download
 
|| Webpage for offline application download
Line 247: Line 245:
 
<div style="color:#000000;">You need to extract all the files from the zipped folder.</div>
 
<div style="color:#000000;">You need to extract all the files from the zipped folder.</div>
  
<div style="color:#000000;">Click on the '''Extract all '''button.</div>
+
<div style="color:#000000;">Click on the '''Extract all ''' button.</div>
  
 
<div style="color:#000000;">You need to select the destination folder where you want to save the extracted files.</div>
 
<div style="color:#000000;">You need to select the destination folder where you want to save the extracted files.</div>
Line 272: Line 270:
 
|| In this tutorial, we have learnt to
 
|| In this tutorial, we have learnt to
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Use CircuitJS in online mode and</div>
 
* <div style="margin-left:1.27cm;margin-right:0cm;">Use CircuitJS in online mode and</div>
* <div style="margin-left:1.27cm;margin-right:0cm;">Install CircuitJS on Linux and Windows and use it in offline mode</div>
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Install CircuitJS on Linux and Windows and use it in offline mode.</div>
  
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"
 
|- style="background-color:transparent;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"

Revision as of 13:14, 9 October 2023


Visual Cue Narration
Slide 1: Welcome to the spoken tutorial on Installation of CircuitJS Simulator
Slide 2:

Learning Objectives

In this tutorial, we will learn how to,
  • Use CircuitJS in online mode and
  • Install CircuitJS on linux and windows Os and use it in offline mode
Slide 3:

System Requirement

To record this tutorial, I am using:
  • Ubuntu Linux 20.04 OS
  • Windows 10
    and
  • Web browser
Slide 4:

Prerequisite

To follow this tutorial, you should have basic knowledge of
  • Circuits
Only Narration Let us see how to use CircuitJS in online mode.
Open web browser and enter the URL

https://www.falstad.com/circuit/circuitjs.html

Open the web browser and type the URL as shown and press Enter.

This is the default circuit you will see on the screen.

Explain the default circuit This is the LRC circuit connected to a DC voltage supply.

In this circuit, there are a couple of resistors, an inductor, a capacitor and a DC voltage supply.

The series LRC circuit is used for voltage magnification and induction heating.

Graph Representation At the bottom, you can see a graphical representation of the inductor, capacitor and resistor.
Simulation Speed

Current Speed

At the top right corner, there are two sliders.

With the first slider, we can change the simulation speed by moving the slider as shown.

Using the second slider, we can adjust the speed of the current flow in the circuit.

Note the variation in the speed of the circuit.

Only Narration Next we will see how to install circuitJS in Linux OS.
Go to web browser

Highlight the link

https://www.falstad.com/circuit/offline/


Highlight link for Linux/Ubuntu OS

Extract the zip file

Open a new tab on the web browser.

In the address bar, type this URL and press Enter.

Here you will see three different zip files for Mac, Linux and Windows.

Now we will learn how to install the circuitJS simulator in linux OS.

Click on the circuitjs1-linux64.tgz and it will download a zip file automatically.

Go to the Downloads folder. We can see the downloaded zip file.

Extract the zip file as shown.

After installation is successful, users can work offline. That means internet connection is not required.

Open Terminal
Now let us launch circuitJS from the Terminal.

Press CTRL, ALT and T keys together to open the Terminal.

java -version

SS-Terminal

We need java to run the CircuitJS application on our system.

So first we have to check whether Java is installed in the system or not.

Type, java space hyphen version and press Enter.

If the java is already installed in your system, you will see the java version.

If so, please skip the below steps of installation of Java.

If the java is not installed in your system, you will see an error text on the terminal.

Let us install Java in the system.

sudo apt update

Let’s start by updating the system.

Type sudo space apt space update and press Enter.

If prompted for a password, enter your system password and press Enter again.

Wait for a few seconds as the system gets updated.

sudo apt upgrade

Highlight Y/N part

Now, type sudo space apt space upgrade and press Enter key.

The system will ask if you want to upgrade the system or not.

Press Y on your keyboard and press Enter.

After a few seconds your system will get upgraded.

sudo apt-get install openjdk-11-jdk

java -version

Now, as discussed before, we need to install java to run the CircuitJS application.
Type,
sudo space apt hyphen get space install space openjdk hyphen 11 hyphen jdk and press the Enter key.

It will take some time to install.

Now again type

java space hyphen version

We see the java version 11.0.20 installed in the system.

This shows Java is installed successfully.

Now, let us install the CircuitJS application using the zip file we downloaded earlier.


Go to the directory where the zip file is saved.

cd ~/Downloads


ls

In terminal window, type,

cd space tilde backward slash Downloads and press Enter key.


Type ls

We can see the extracted folder circuitjs1-linux64.

Type

cd space circuitjs1-linux64 and press Enter key to open this folder.

Type ls

We can see the circuitjs1 folder.


cd circuitjs1


./circuitjs1

Now type

cd space circuitjs1 and press enter key to open this folder.


To launch the circuitJS application on your system, type,

dot backward slash circuitjs1 and press Enter.


We can see the circuitJS offline application is launched.

Next we will see how to install circuitJS in Windows 10 OS and work in offline mode.
Webpage for offline application download
Go back to the browser.

For windows, click on the circuitjs1-win.zip.

The downloading of the zip file will take place automatically.

It will take some time to download.

Go to the Downloads folder.


You can see the zip file downloaded in your system.


Double click on the zip folder to open another folder named circuitjs1
Double click on the circuitjs1 folder.
Open this folder and click on the circuitjs1 application file.
A pop-up window will open.
You need to extract all the files from the zipped folder.
Click on the Extract all button.
You need to select the destination folder where you want to save the extracted files.
I am selecting the Downloads/circuitjs1-win file directory.
Click on the Extract button at the bottom right corner.
Now go to the Downloads folder and then to circuitjs1-win directory and open the folder.
Click on the circuitjs1 application file to open the offline version of circuitjs
This is the first page of the offline version of CircuitJS application.
The offline versions of Ubuntu and Windows resemble the online platform.
This brings us to the end of the tutorial. Let us summarize.
Slide:

Summary

In this tutorial, we have learnt to
  • Use CircuitJS in online mode and
  • Install CircuitJS on Linux and Windows and use it in offline mode.
Slide :

About Spoken Tutorial project

The video at the following link summarizes the Spoken Tutorial project.

Please download and watch it.

Slide :Spoken Tutorial workshops The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Answers for THIS Spoken Tutorial
  • Do you have questions in THIS Spoken Tutorial?
  • Please visit this site.
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • The Spoken Tutorial project will ensure an answer
  • You will have to register to ask questions


Slide : Forum for specific questions
  • The Spoken Tutorial forum is for specific questions on this tutorial.
  • Please do not post unrelated and general questions on them.
  • This will help reduce the clutter.
  • With less clutter, we can use these discussions as instructional material.
Slide:

Acknowledgement

Spoken Tutorial project was established by the Ministry of Education(MoE), Govt of India
Slide: Thank you This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.

Thanks for watching.

Contributors and Content Editors

Madhurig, Nirmala Venkat