Press the push switch to 'throw' the dice: this makes the circuit rapidly cycle
through the dice numbers so that an effectively random dice number is displayed
by the LEDs when the push switch is released.
resistors: 330 ×3, 470, 10k ×3
capacitors: 0.01µF, 0.1µF
diodes: 1N4148 ×6
LEDs: red 5mm diameter ×7
555 timer IC, such as NE555
4017 counter IC
DIL sockets for ICs: 8-pin, 16-pin
battery clip for 9V PP3
stripboard: 20 rows × 22 holes
Drill seven 5mm holes in a dice pattern to mount the LEDs on a panel such as a plastic
box lid or sheet of thin plywood. They should be a tight fit but a little glue can be
applied from the underside if necessary.
How it works
The 555 astable circuit provides clock pulses
at about 5kHz for the 4017 counter which has ten outputs (Q0 to Q9).
Each output becomes high in turn as the clock
pulses are received. Only six counts (Q0-Q5) are needed so Q6 is connected to reset.
Appropriate outputs are combined with diodes to supply the LEDs: for example Q1, Q3
and Q5 are combined for LED A.
The dice sequence has been started at 2 so the 4017's ÷10 output can be used for LEDs
B1 and B2, this saves diodes and simplifies the circuit.
Pressing the push switch makes the disable input low so that counting occurs.
The dice sequence
This website does not collect personal information.
If you send an email your email address and any personal information will be
used only to respond to your message, it will not be given to anyone else.
This website displays advertisements. If you click on
these the advertiser may know that you came from this site and I may be rewarded.
No personal information is passed to advertisers.
(including this one) as explained by Google.
To learn how to delete and control cookies from your browser please