CircuitJS/C2/Installation-of-CircuitJS/English

From Script | Spoken-Tutorial
Revision as of 13:16, 9 October 2023 by Madhurig (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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