PerfBoardSign in

Dice that roll themselves, from two chips

Hold the button and a seven LED die face flickers through faces. Let go and it stops on one. A 555, a counter and six diodes.

Component side layout of Dice that roll themselves, from two chips on a perfboard 23 by 43 holes
23 × 43 holes · 25 parts · 36 wires

Free build sheet

The parts, every wire with its length and bend points, a bend guide, both sides of the board and checkboxes to track your progress. Print it or keep it open at the bench.

Open the build sheet

What you need

25 parts on a perfboard 23 × 43 holes, plus hookup wire.

QtyPartWhere to buy
1
Ceramic Cap100nF
C1
Buy Ceramic Cap on Amazon
6
Diode (axial)
D1, D2, D3, D4, D5, D6
1
Power Input (2-pin)
J1
7
LED
LED1, LED2, LED3, LED4, LED5, LED6, LED7
Buy LED on Amazon
3
Resistor (axial)2.2k
R1, R3, R4
Buy Resistor (axial) on Amazon
1
Resistor (axial)2.7k
R2
Buy Resistor (axial) on Amazon
1
Resistor (axial)100k
R5
Buy Resistor (axial) on Amazon
1
Resistor (axial)10k
R6
Buy Resistor (axial) on Amazon
1
Resistor (axial)47k
R7
Buy Resistor (axial) on Amazon
1
DIP-16
U1
1
Tactile Button 6mm
U2
1
DIP-8
U3

Check every pin against the datasheet of the exact part in your hands before wiring.

As an Amazon Associate I earn from qualifying purchases.

Cut list

36 wires, 1312 mm (51.7 in) in total, in the order the build sheet cuts them. Wire numbers match the build sheet. Each length includes 5 mm per end to go through the hole.

WireColour and netLength
24
BlackGND
R38 → R40
15mm
30
BlackGND
J18 → E20
28mm
6
BlackFACE1
G22 → G31
33mm
18
BlackDIAGB_MID
O9 → H15
43mm
12
BlackFACE4
Q22 → N34
48mm
36
Black9V
H34 → B4
101mm
11
BlueTIMING
O40 → I37
28mm
5
BlueFACE3
I22 → I30
30mm
29
BlueGND
R21 → L18
33mm
35
Blue9V
N37 → S27
41mm
17
BlueDIAGA_MID
G9 → N15
43mm
23
BlueFACE6
R23 → H11
66mm
10
GreenTIMING
O42 → J41
25mm
28
GreenGND
S20 → S14
25mm
16
GreenROLL
R34 → K34
28mm
34
Green9V
G40 → G33
28mm
4
GreenSIDES_MID
G13 → N11
33mm
22
GreenFACE6
S22 → N30
43mm
13
RedFACE5
K22 → M22
15mm
1
RedCLOCK
J37 → J34
18mm
7
RedDISCH
L41 → I41
18mm
25
RedGND
Q37 → P31
28mm
19
RedCENTER
K26 → L11
51mm
31
RedGND
C20 → D5
51mm
9
WhiteTIMING
P41 → P39
15mm
3
WhiteSIDES_R
Q10 → P12
18mm
15
WhiteROLL
S35 → S31
20mm
33
White9V
L38 → H41
26mm
27
WhiteGND
O30 → Q20
40mm
21
WhiteCARRY
F7 → L34
99mm
32
Yellow9V
M36 → K37
18mm
8
YellowDISCH
N41 → O36
25mm
2
YellowRESET
L30 → I34
38mm
14
YellowFACE5
J21 → J30
38mm
26
YellowGND
S37 → H37
43mm
20
YellowDIAGB
M26 → N7
61mm

About this build

Electronic dice from two chips. A 555 timer clocks a CD4017 decade counter about 140 times a second while you hold the roll button, too fast to follow. Let go and it stops on a face.

The counter resets itself when it reaches six, so it only has six states. Six diodes steer each count onto the right pips of a seven LED die face. The LEDs are wired in pairs that share a resistor, and the centre pip gets its own.

The neat part is the counter's carry output. It's high on five of the six counts, which is exactly when one diagonal pair of pips is lit, so that pair needs no diodes at all.

The parts library has no pushbutton, so the video draws a 6 mm tactile button in the Footprint Editor first and places it like any other part. It runs on 9V.

More builds

See all builds