Generally dice is made up of wooden or plastic, which gets deformed with time and become biased. A Digital dice is a good alternative of old fashioned dice, it can’t be biased or deformed. It operates at such high speed its hardly possible to cheat. To create this digital dice circuit, we have mainly used 555 timer IC and 4017 IC.
4017 IC is a CMOS decade counter chip. It can produce output at the 10 pins sequentially (Q0 - Q9), means it produce output one by one at the 10 output pins.For dice we need only 6 output states so we connect the seventh output Q6 back to the RESET PIN 15. So that after the 6th State it starts from the First.This output is controlled through the clock pulse at PIN 14.
In this digital dice we have used 7 segment display (common anode) ,LEDs start flashing as we press the Push button but we cannot able to see that because we keep clock frequency as very high and stops when we release the button. After release, display shows the numbers, you got on Dice.
To apply the clock pulse at PIN 14 of 4017 IC, we have used 555 timer IC in Astable mode. The oscillated output generated at PIN 3 of 555 has been applied to the PIN 14 of 4017, so that output can be advanced with each clock pulse. The frequency of the 555 can be calculated using this formula: F=1.44/((R1+2*RV1)*C1),R1=1K,R2=1K,With this configuration, the circuit operates as a pulse generator with a frequency in order of kilo hertz. This means that the circuit produces a clock cycle of about 0.0002 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.
Let's see how the values are displayed..,
Here we have 6 output states but in BCD to 7 segment ic we have only 4 input pins., Here we're using some logics , first connect all inputs pins with pulldown resister to the ground,The binary value for 1 it's 0001, for 2 it's 0010, for 3 it's 0011.See for 1 a is high, for 2 b is high ,for 3 both a and b are high...Here we connecting the diode in the place of where it is high for each output..now let's see how we getting 1 on display, when Q0 goes high we will get 0001 means one., For 2 Q1 goes high we will get 0010... So it goes like this..
Required Stuffs:
1.Bread Board
2.555(Timer IC)
3.4017(Decade Counter)
4.7447(BCD to 7-Segment Display)
5.7-Segment Display Common Anode
6.1N4148---- 9
7.1k ohms
8.0.1uF Capacitor
9. Push Button Switch
10.Connectors
Circuit diagram: [ Ссылка ]
Ещё видео!