Skip to main content

Interactive Switch LED Gate Demo

CI

CircuitSim

·

Created May 10, 2026

·

Updated Jun 30, 2026

Preview will appear once the owner saves the schematic

About this circuit

Interactive operating point example showing a switch gating current into a current-limited LED indicator.

Circuit notes

Interactive Switch LED Gate

Application

This circuit uses the Interactive Switch as a front-panel style contact that gates current into a current-limited Green LED indicator. It is configured as an interactive operating point demo, so clicking the switch updates the steady-state table values and the LED symbol without running a time-domain waveform.

Design Context

The source, switch, resistor, and LED form a simple series current path. R1 limits LED current from the 5 V source, while SW1 decides whether that path is open or closed. The switch starts open so the demo opens with the LED off; click SW1 closed to energize the indicator.

Expected Behavior

With SW1 open, LED current should be near zero. Click SW1 closed and current flows from V1 through SW1, R1, and D1 to ground. The table should show a forward-biased LED node voltage and a few milliamps of LED current. Click SW1 open and the LED current should fall near zero; click it closed and current should return.

Key Values

  • Simulation mode: interactive operating point
  • Supply: 5 V DC
  • Current-limiting resistor: 1 kOhm
  • Switch state: starts open, click to close or reopen
  • Measured values: Vled and Iled

Suggested Experiments

  • Toggle SW1 and compare the live Vled and Iled rows in the table.
  • Change R1 to 330 ohm or 2.2 kOhm and observe how LED current changes.
  • Lower V1 until the LED turns off, then close and open the switch again to compare states.

Featured Component

The Interactive Switch is a two-terminal contact whose schematic blade and electrical resistance follow its clicked state. It is useful for demos where a user should directly open or close a circuit path while watching live operating point results.

Components used

No component metadata available.

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.