By clicking “Check Writers’ Offers”, you agree to our terms of service and privacy policy. We’ll occasionally send you promo and account related email
No need to pay just yet!
About this sample
About this sample
Words: 676 |
Page: 1|
4 min read
Published: Oct 11, 2018
Words: 676|Page: 1|4 min read
Published: Oct 11, 2018
Dice are used to playing many games like snake ladder, Ludo etc. Generally, dice is made up of wooden or plastic, which gets deformed with time and becomes biased. Digital Dice is a good alternative to old-fashioned dice, it can’t be biased or deformed. It operates at such high speed that no one can cheat. To create this digital dice circuit, we have mainly used 555 timer IC and 4026 IC. This project is about the digital dice. The rolling dice as we all know has to be cast, whereas a digital dice is to be controlled by a switch. There are provisions for less. The LED’s keep on flickering for the particular counts and when the switch is released the corresponding count is played. The count displayed may be one of numbers – one, two, three, four, five, six.
This 7 segment display dice circuit has been realized using a stable oscillator circuit followed by a counter, display driver, and a display. Here we have used a timer NE555 as a stable oscillator with a frequency of about 100 Hz. Decade counter IC CD4026 or CD4033 (whichever available) can be used as a counter-cum-display driver. When using CD4026, pin 14 (cascading output) is to be left unused (open), but in case of CD4033, pin 14 serves as lamp test pin and the same is to be grounded. The circuit uses only a handful of components. Its power consumption is also quite low because of the use of CMOS ICs, and hence it is well suited for battery operation. In these circuit two tactile switches, S1 and S2 have been provided. While switch S2 is used for initial resetting of the display to ‘0’, depression of S1 simulates throwing of the dice by a player. When the battery is connected to the circuit, the counter and display section around IC2 (CD4026/4033) is energized and the display would normally show ‘0’, as no clock input is available. Should the display show any other decimal digit, you may press re-set switch S2 so that display shows ‘0’.To simulate throwing of dice, the player has to press switch S1, briefly. This extends the supply to the stable oscillator configured around IC1 as well as capacitor C1 (through resistor R1), which charges to the battery voltage. Thus even after switch S1 is released, the stable circuit around IC1 keeps producing the clock until capacitor C1 discharges sufficiently. Thus for the duration of depression of switch S1 and discharge of capacitor C1 thereafter, clock pulses are produced by IC1 and applied to clock pin 1 of counter IC2, whose count advances at a frequency of 100 Hz until C1 discharges sufficiently to deactivate IC1.
When the oscillations from IC1 stop, the last (random) count in counter IC2 can be viewed on the 7-segment display. This count would normally lie between 0 and 6 since, at the leading edge of every 7th clock pulse, the counter is reset to zero. This is achieved as follows. Observe the behavior of ‘b’ segment output in the Table. On reset, at count 0 until count 4, the segment ‘b’ output is high. At count 5 it changes to low level and remains so during count 6. However, at the start of count 7, the output goes from low to high state. A differentiated sharp high pulse through C-R combination of C4-R5 is applied to reset pin 15 of IC2 to reset the output to ‘0’ for a fraction of a pulse period (which is not visible on the 7-segment display). Thus, if the clock stops at the seventh count, the display will read zero. There is a probability of one chance in seven that display would show ‘0.’ In such a situation, the concerned player is given another chance until the display is non-zero.
In case of using general dice in playing games like a monopoly if we use this device then we can observe that the technology is used everywhere. This model explains how seven segment display was generated by using 555timer.
Browse our vast selection of original essay samples, each expertly formatted and styled