Related

Sunday, October 6, 2013

Unbiased Digital Dice with LEDs

With the 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.

No comments:

Post a Comment