Home › Projects › Electronic dice with real pips: 555 + CD4017 + diode logic

Electronic dice with real pips: 555 + CD4017 + diode logic

by Zen Circuit Lab · published 5 days ago · 1 opened in the lab · 4 page views

Electronic dice with real pips: 555 + CD4017 + diode logic: the circuit on the lab bench

Open in the lab ▸Make my own copy

Hold ROLL and a 555 spins a CD4017 through six states about 20 times a second, far too fast to follow. Let go and it stops on a random face. The 4017 counts 0–5 (Q6 resets it), and eleven 1N4148 diodes turn each count into a real dice pattern on seven LEDs, and four BC547s do the heavy lifting (a 4017 output can only give a few mA): • the centre pip is on for 1, 3 and 5 • one diagonal pair for 2 to 6 • the other diagonal pair for 4, 5 and 6 • the middle pair only for 6 Each pair of LEDs is in series, so every group needs only one resistor and one transistor.

What is on the bench

74 parts, 101 wires.

Resistor11
Signal diode11
LED7
NPN transistor4
9 V battery1
555 timer1
Electrolytic capacitor1
Ceramic capacitor1
Push button1
CD4017 decade counter1

Put it on your page

The project runs live inside the frame: readers can press buttons, turn knobs and read the meters.

<iframe src="https://zencircuitlab.com/embed/zcldice7led" width="100%" height="560" style="border:1px solid #2f363a;border-radius:10px" loading="lazy" title="Electronic dice with real pips: 555 + CD4017 + diode logic on Zen Circuit Lab"></iframe>

Link

https://zencircuitlab.com/p/zcldice7led

Published by its author under the lab's community terms: it may be opened, copied and changed by anyone. Simulation results are for learning; check a real build against the parts' datasheets.