Close

Simulations

A project log for Hexo

Six "sided" LED Randomizer a.k.a. an electric die

thomas-countzThomas Countz 03/28/2021 at 18:380 Comments

Falstad

Run the Falstad simulation here: https://tinyurl.com/yhqfvbpn

LTspice

To run the simulation in LTspice, you'll need to download the CD4000.zip file under the project documents and install the model libraries and symbols before downloading and opening hexo.asc

* /Documents/LTspice/Hexo.asc
XU1 0 N003 N006 +V NC_01 N003 N003 +V NE555
V1 +V 0 9
R1 0 N003 4.7Meg
C1 N003 0 100n IC=0
R2 N003 N005 10K
Q1 N005 N002 +V 0 BC557C
R3 N002 +V 3.3Meg
R4 N001 N002 10Meg
S1 0 N001 N004 0 SW
V2 N004 0 PULSE(0 1 0.5 0 0 0.1 0 1)
XU2 0 0 N006 N007 N009 N010 N011 N012 N013 N014 N015 N016 N017 0 VDD 0 CD4017B VDD=3.7 SPEED=1.0 TRIPDT=5e-9
D1 N007 N008 QTLP690C
D2 N009 N008 QTLP690C
D3 N010 N008 QTLP690C
D4 N011 N008 QTLP690C
D5 N012 N008 QTLP690C
D6 N013 N008 QTLP690C
D7 N014 N008 QTLP690C
D8 N015 N008 QTLP690C
D9 N016 N008 QTLP690C
D10 N017 N008 QTLP690C
R5 0 N008 4.7Meg
C3 +V N001 1µ IC=0
.model D D
.lib /Library/Application Support/LTspice/lib/cmp/standard.dio
.model NPN NPN
.model PNP PNP
.lib /Library/Application Support/LTspice/lib/cmp/standard.bjt
.tran 0 15 0
.model SW SW(Ron=1 Roff=1000G Vt=0.1 Vh=0)
.include CD4000.lib
.lib NE555.sub
.backanno
.end

Discussions