Logic circuit simulator for learning

main image

 About Logic circuit simulator for learning


This "Logic circuit simulator for learning" can create a digital circuit that freely combines parts such as logic elements and switches. You can use the oscilloscope function to measure the logic state of your circuit. It also has a function to display the logic state in the circuit.
Considering use for learning purposes, it has a "Teacher mode" for creating teaching materials and a "Learning mode" for learners.

In addition, this "Logic circuit simulator for learning" is written only in javascript, so it can be installed in any environment where an http(s) server is running. (The "Teaching material data" upload function requires a script execution environment on the server side, but it supports multiple server-side languages (php, aspx, perl, python) in order to support various server environments. ).

This application will start in the display language according to the language setting of the browser (language setting that can be obtained with "window.navigator.language"). Additionally, you can also explicitly change the display language by adding "lang=ja" or "lang=en" to the parameter (eg lgcs.html?lang=en).
Furthermore, by customizing "js/lgcs-lang.js", it is possible to display in languages other than Japanese and English.

 Execution method

Teacher Mode( 🔗 Execution in "Teacher Mode"

In "Teacher Mode", you can use all the functions of "Logic circuit simulator for learning".
Function restrictions in "Learning Mode" can be set for each "Teaching material data".

How to execution in "Teacher Mode"
〇 Run as "lgcs.html?mode=teacher"
〇 Run "lgcs.html" and open "teacher.dat" ( 💾 Download "teacher.dat"
* "Teaching material data" on the server cannot be opened in "Teacher Mode".
Please start in "Teacher Mode" and open the local file "(Teaching material name).dat".

Learning Mode( 🔗 Execution in "Learning Mode"

In "Learning Mode", you can use within the range of functions set in "Teacher Mode" for each teaching material data.

Loading "Teaching material data" in "Learning Mode"
〇 Run "lgcs.html" and open the local file "(Teaching material name).dat"
〇 Run "lgcs.html" as "lgcs.html?data=(Teaching material name)" (if "Teaching material data" is uploaded to the data folder on the server.)

Upload "Teaching material data"( 🔗 Go to "Upload page"

Upload "Teaching material data" if any of php, aspx, perl, or python scripts are running on the server where the "Logic circuit simulator for learning" is installed.
(Note) You cannot upload on this server.

 Sample schematic

Schematic creation (full function)
In "learn mode" you can create a schematic with all the parts.
💾 Download      🔗 Execution in "Learning Mode"

Schematic creation (basic function)
In "learn mode" you can create a schematic using basic parts.)
💾 Download      🔗 Execution in "Learning Mode"

Push On-Off
In "learning mode", you cannot edit the schematic, but you can operate the switches.
💾 Download      🔗 Execution in "Learning Mode"

D-FF
In "learning mode", you cannot edit the schematic.
💾 Download      🔗 Execution in "Learning Mode"

T-FF
In "learning mode", you cannot edit the schematic.
💾 Download      🔗 Execution in "Learning Mode"

4-Bit Binary Counter
In "learning mode", you cannot edit the schematic.
💾 Download      🔗 Execution in "Learning Mode"

Decimal Counter<
In "learning mode", you cannot edit the schematic.
💾 Download      🔗 Execution in "Learning Mode"

2-Bit Binary Full Adder<
In "learning mode", you cannot edit the schematic, but you can operate the switches.
💾 Download      🔗 Execution in "Learning Mode"

4-Bit Binary Full Adder<
In "learning mode", you cannot edit the schematic, but you can operate the key pad.
💾 Download      🔗 Execution in "Learning Mode"

ALU(Arithmetic Logic Unit)_74181<
In "learning mode", you cannot edit the schematic, but you can operate the key pad.
💾 Download      🔗 Execution in "Learning Mode"

* To edit these circuit diagrams, open them in "Teacher Mode" after download.

 Download

Manual download

💾 Manual   ( 💾 MS-Word )

Download system

You can also use this "Logic circuit simulator for learning" by installing it on your http(s) server. Install according to the "Installation Manual".

💾 Installation Manual      💾 Download system

 Change log

10/02/2023 Public start (ver 1.00)

TOP