Article
Rolling Dice
Three-dimensional electronics
Projects for electronic dice have previously appeared in Elektor Electronics. Different designs and shapes have found their way into the magazine, but one thing they had in common: they were all two-dimensional dice. But now that is about to change! Electronic dice are usually constructed on flat boards. To give the impression of a ‘real’ dice, seven LEDs are often used in a pattern similar to that on a dice. The original intention was to base this circuit on a traditional ‘flat’ design, until somebody from the editorial staff suggested that you should really be able to throw a dice. After all, a dice is not an item that lies still on the table.‘But that is the advantage of an electronic dice!’ you’ll say. You don’t need extra space to throw it and it won’t roll off the table either. And this was exactly how our design staff reacted to this unusual suggestion. But the editor was adamant: this dice has to roll!
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1-R7 = 1kOhm 5 SMD
R8,R9 = 10kOhm SMD
R10 = 1kOhm SMD
R11 = 100kOhm SMD
Capacitors:
C1,C2 = 22pF
C3,C4 = 100nF SMD
C5 = 10ยต F 16V radial
Semiconductors:
D1-D7 = LED, 3mm, red, low-current
IC1 = AT89C2051-12PI, programmed, order code 040248-41
IC2 = 78L05
T1 = BCP28 (Conrad Electronics # 153225-8B)
T2 = BC547B
Miscellaneous:
X1 = 4MHz quartz crystal
S1 = mercury switch (Farnell # 178-338)
9-V battery with clip-on lead
20-way IC socket
ABS (hard plastic) angle section
2 M3 screws (countersunk head)
Components List PCB # 2 through # 6
(per board)
Resistors:
R1-R7 = 1kOhm 5 SMD
Capacitors:
C1 = 100nF SMD
Semiconductors:
D1-D7 = LED, 3mm, red, low-current
IC1 = 74HCT4094
Miscellaneous:
16-way IC socket
S1 = switch type DTS61K (only on board # 2)
PCB, order code 040248-1 (contains six sections for a complete dice)
Disk, source and hex code files, order code 040248-11 or Free Download
R1-R7 = 1kOhm 5 SMD
R8,R9 = 10kOhm SMD
R10 = 1kOhm SMD
R11 = 100kOhm SMD
Capacitors:
C1,C2 = 22pF
C3,C4 = 100nF SMD
C5 = 10ยต F 16V radial
Semiconductors:
D1-D7 = LED, 3mm, red, low-current
IC1 = AT89C2051-12PI, programmed, order code 040248-41
IC2 = 78L05
T1 = BCP28 (Conrad Electronics # 153225-8B)
T2 = BC547B
Miscellaneous:
X1 = 4MHz quartz crystal
S1 = mercury switch (Farnell # 178-338)
9-V battery with clip-on lead
20-way IC socket
ABS (hard plastic) angle section
2 M3 screws (countersunk head)
Components List PCB # 2 through # 6
(per board)
Resistors:
R1-R7 = 1kOhm 5 SMD
Capacitors:
C1 = 100nF SMD
Semiconductors:
D1-D7 = LED, 3mm, red, low-current
IC1 = 74HCT4094
Miscellaneous:
16-way IC socket
S1 = switch type DTS61K (only on board # 2)
PCB, order code 040248-1 (contains six sections for a complete dice)
Disk, source and hex code files, order code 040248-11 or Free Download
Discussion (0 comments)