* E:\LT_SPICE\MARS\MissingPulseTrainDetector.asc
XU1 0 N002 N006 N003 N007 N005 N005 N003 NE555
V1 N003 0 5
Q1 0 N002 N005 0 PNP
R1 N003 N005 10k
R2 N003 N006 10k
C1 0 N005 47µ
C2 0 N007 .001µ
V2 N004 0 PULSE(0 5 0 1u 1u .01 .02)
S1 N002 N004 NC_01 NC_02 SW
S2 0 OUT IN 0 MYSW
V3 IN 0 PULSE(0 1 0 .5m .5m 0 1m)
V4 N001 0 3.3
R3 N001 OUT 1K
.model NPN NPN
.model PNP PNP
.lib C:\Users\user1\Documents\LTspiceXVII\lib\cmp\standard.bjt
.model MYSW SW(Ron=1 Roff=1Meg Vt=.5 Vh=-.4)
.tran 3m
* This example schematic is supplied for informational/educational purposes only.
* This shows an example of suppling a .model statement as a SPICE\ndirective directly on the schematic to define a voltage controlled switch.
.lib NE555.sub
.backanno
.end
