Analog Circuit Tool - User Guide

This application lets you place circuit parts on a grid, connect them with powerlines, edit electrical properties, and run a simple DC or AC simulation with live value overlays.

Open index.html in a browser to use the application. The canvas fills the screen. The top toolbar chooses what to place, and the left toolbar controls editing, display, and simulation.

Basic Workflow

  1. Choose a part type from the top toolbar.
  2. Click the canvas to place the selected part on the grid.
  3. Choose Powerline, then click from one terminal or grid point to another to draw wires.
  4. Use Ctrl + left-click on hollow contact markers or wire crossings to make electrical connections.
  5. Select a part or wire and use Edit to change its properties.
  6. Enable Run to start the simulation and show calculated values.

Top Toolbar

Powersource

Places either a DC powersource or an AC powersource. Use the dropdown beside the button to choose the source type before placing it.

Consumers

Places resistors or light bulbs. These use resistance and rated power values in the simulation.

Switch

Places an on/off switch, two-way switch, or cross switch. Use Ctrl + left-click on a placed switch to toggle its state.

Semiconductor

Places an NPN or PNP BJT transistor. Its active state is calculated from the circuit conditions.

Fuses

Places a B16 circuit breaker or a fine fuse. Fuses can open when current exceeds the configured limit for the configured reaction time.

Powerline

Draws wires. Use the line color dropdown for black, blue, or green wires.

Left Toolbar

Placement And Editing

Connecting Powerlines

Wire endpoints that land on the same grid point connect automatically. Other possible contacts appear as hollow markers.

Properties

The Properties checkbox displays compact property labels next to items. The Edit button opens numeric fields for the selected item.

Simulation

AC source voltage is treated as RMS voltage. The simulation converts it to peak voltage with voltage * sqrt(2) before applying the sine calculation.

Circuit JSON

The Circuit button opens the current circuit as JSON. You can copy it for storage, paste previously saved JSON back into the dialog, and press Ok to load it.

The JSON stores components, wires, connection markers, and the next internal ID. Simulation history is not saved.

Troubleshooting

Open the circuit tool