Skip to main content

New Circuit

AN

andrzej.n.uk

·

Created Nov 5, 2026

·

Updated Nov 5, 2026

Schematic preview for New Circuit
Details

Components

4


Schematic

Yes


Simulation

Interactive


Copies

Not copied yet

Tags

No tags yet.

About this circuit

The author hasn't added a description yet.

Components used

Components used
4 components
NameManufacturerMPNCountType

Resistor (EN)

—

—

2

User

2N2222A NPN Transistor

Generic

2N2222A

1

Official

DC Voltage Source

Generic

—

1

Official

LED

Generic

—

1

Official

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_D1 N4 N5 LED_VIRTUAL_b2f33485 IS=1e-14 N=1 RS=0 CJO=0 M=0.5 VJ=1 BV=1e30 IBV=100p OnCurrent=5m
qQ1 N1 N2 0 Param2N2222A_d3c2f74f
R_R1 N4 N1 1K
R_R2 0 N2 1k
V_V1 N5 0 dc 12 ac 0 0 distof1 0 0 distof2 0 0

**************************************************
* Models and supporting definitions follow
**************************************************
* LED source-variant replacement with current-sense brightness node
.subckt LED_VIRTUAL_b2f33485 T0 T1 IS=1e-14 N=1 RS=0 CJO=0 M=0.5 VJ=1 BV=1e30 IBV=100p OnCurrent=5m
    DLED T0 SENSE LED_VIRTUAL_b2f33485_DIODE
    .model LED_VIRTUAL_b2f33485_DIODE D(IS={IS} N={N} RS={RS} CJO={CJO} M={M} VJ={VJ} BV={BV} IBV={IBV})
    VSENSE SENSE T1 DC 0
    BLIT lit 0 V = { (i(VSENSE) > {OnCurrent}) ? 1 : ((i(VSENSE) < 0) ? 0 : (i(VSENSE) / {OnCurrent})) }
.ends LED_VIRTUAL_b2f33485
.model Param2N2222A_d3c2f74f npn IS=2.04566e-13 BF=296.463 NF=1.09697 VAF=10 IKF=0.0772534 ISE=1.45081e-13 NE=1.39296 BR=0.481975 NR=1.16782 VAR=100 IKR=0.100004 ISC=1.00231e-13 NC=1.98587 RB=3.99688 IRB=0.2 RBM=3.99688 RE=0.0857267 RC=0.428633 XTB=0.1 XTI=1 EG=1.05 CJE=1.09913e-11 VJE=0.99 MJE=0.23 TF=2.96787e-10 XTF=9.22776 VTF=25.2257 ITF=0.0793144 CJC=3.1941e-11 VJC=0.4 MJC=0.85 XCJC=0.901093 FC=0.1 CJS=0 VJS=0.75 MJS=0.5 TR=3.83883e-07 PTF=0 KF=0 AF=1

**************************************************
* Simulation settings
**************************************************
.tran 20u 1e12 0 20u
.save V(X_D1.lit)
.end

Try this circuit yourself

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