# Unbiased Digital Dice with LEDs

Playing with dice is an age old game. We all love to play with it too. Playing with dice needs us to pick up a dice and make sure that it is unbiased. Making a block as a dice and cutting it clearly to make sure that it is unbiased is all an old story. The dice becomes biased if the shape is not cut well. Also, the dice can become biased due to deformations. If it is a wooden die, it can deform due to dampness in the atmosphere or due to mechanical stress. To solve all these problems which we have with a conventional dice, we have made a dice circuit which solves all the problems of a conventional dice.

Also Read the Post: PWM LED Dimmer Using NE555

Now, we are going to show you a digital dice which is nearly unbiased. There is no chance to cheat as the circuit operates at such a high speed that the circuit is almost imperceptible to the human eye. There is also little maintenance and there is hardly any impact on aging of the circuit. The frequency may vary a bit with change in power supply voltage, aging of the active and passive components but still the randomness will be preserved without any trouble.

### Unbiased Digital Dice with LEDs Circuit Diagram:

Circuit Diagram of Unbiased Digital Dice with LEDs – ElectronicsHub.Org

This circuit uses 555 timer as an astable multivibrator. In this mode, the circuit is arranged with R1=100K-ohm, R2=100K-ohm and C1=1nF.

With this configuration, the circuit operates as a clock with a frequency of 4.8 kilo hertz. This means that the circuit produces a clock cycle of about 0.000210 seconds which is imperceptible to the human eye. We cannot observe the values which change at that faster rate so there is hardly any possibility of getting the dice biased.

The clock pulses are given to a counter cum decoder circuit IC 4017 with the seventh output given to reset. It has nine possible outputs out of which, the seventh is given to reset because we only need a count upto 6 as a dice has six faces only. The first six outputs are given respectively to the LEDs so that the respective LED will glow for the corresponding count. If the count is 1, LED-1 will glow. If the count if 2, LED-2 will glow and so on until the sixth count. When the count is six, the sixth LED will glow and after that for the next clock pulse the counter will advance and the count increments to seven. In this count, the circuit resets itself as the seventh count is given to the reset pin which is PIN-15. Let me tell you that the power supply pin and ground are not shown in the schematic as it is the standard which the schematic generator which we use generates. However, the power source of 9V is given to the 16th pin of IC 4017 and the 8th pin of IC 4017 is given to ground.

This is how the circuit functions and you can increase the frequency of the circuit if you feel that you need more randomness so that it is very hard to perceive. This circuit can be implemented on a general purpose PCB with a 9V DC power supply.

Note:

x