Electronic RPG Dice Roller
for Role Playing Games
Published in issue 317, January 2003
Role Playing Games (RPG’s) are event-driven hence require several kinds of dice, including variants you may never have seen or heard of. This microprocessor-based circuit can generate them all and should delight RPG players.If you throw a die on a tabletop and let it roll for a second or two, you expect it to tell you a random number in the range from one to six. This particular range is determined by the physical shape of the die, which — in its classic form — is a cube. Rolling two or more dice gives a wider range of numbers with a corresponding decrease of the chances that a certain value is obtained.An electronic version of, say, a fistful of dice requires a circuit exhibiting at least a fair degree of pseudo-random behaviour.
Resistors: R1,R7 = 47kΩ R2-R6 = 470Ω R8 = 470Ω 1W (see text) P1 = 10kΩ preset Capacitors: C1,C2 = 15pF C3-C6 = 100nF C7,C8 = 100µF 16V Semiconductors: D1,D2,D3 = 1N4001 IC1 = AT90S4433-8PC, programmed, order code 020005-41 IC2 = 78L05 Miscellaneous: BT1 = 9V battery BZ1 = DC buzzer, 5V K1 = 10-way boxheader K2 = mains adaptor socket, PCB mount K3 = 16-way boxheader S1-S4 = pushbutton, 1 make contact, PCB mount X1 = 7.3728MHz quartz crystal LCD module, 2 x 16 characters, preferably with backlight, e.g., PC1602D, LM052L, LM016 Optional: 9-13 VDC 300mA mains adaptor (a.k.a. battery eliminator) PCB: order code 020005-1 Disk, project source code file, order code 020005-11 (also Free Download)
|
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.
|