-
Essay / Digital Dice
Dice are used to play many games like snake ladder, Ludo, etc. Typically, dice are made of wood or plastic, which warp over time and become skewed. Digital dice are a good alternative to old fashioned dice, they cannot be skewed or distorted. It works at such a speed that no one can cheat. To create this digital dice circuit, we mainly used 555 timer IC and 4026 IC. This project is about digital dice. As we all know, rolling dice must be rolled, while a digital die must be controlled by a switch. There are provisions for less. The LEDs continue to flash for the particular counts and when the switch is released, the corresponding count is played. The count displayed can be a number: one, two, three, four, five, six. Say no to plagiarism. Get a tailor-made essay on “Why violent video games should not be banned”?Get the original essayThis 7-segment display dice circuit has been made using a stable oscillator circuit followed by a meter, a display driver and a screen. Here we used a NE555 timer as a stable oscillator with a frequency of around 100 Hz. The ten-year counter IC CD4026 or CD4033 (depending on the available model) can be used as a counter and display driver. When using CD4026, pin 14 (cascaded output) should be left unused (open), but in case of CD4033, pin 14 serves as the lamp test pin and it should be grounded. The circuit uses only a handful of components. Its power consumption is also quite low due to the use of CMOS integrated circuits, and it is therefore well suited to battery operation. In these circuits, two tactile switches, S1 and S2 have been provided. While switch S2 is used for the initial reset of the display to "0", pressing S1 simulates a player rolling the dice. When the battery is connected to the circuit, the counter and display section around IC2 (CD4026/4033) is powered and the display would normally show "0" as no clock input is available. If the screen displays another decimal number, you can press the S2 reset button to make the screen display “0”. To simulate a dice roll, the player must briefly press the S1 button. This extends power to the stable oscillator configured around IC1 as well as capacitor C1 (via resistor R1), which charges to the battery voltage. So even after switch S1 is released, the stable circuit around IC1 continues to produce the clock until capacitor C1 discharges sufficiently. Thus, during the duration of pressing the switch S1 and discharging the capacitor C1 thereafter, clock pulses are produced by IC1 and applied to clock pin 1 of the counter IC2, the count of which advances to a frequency of 100 Hz until C1 discharges enough to deactivate IC1. the oscillations of IC1 stop, the last (random) count of counter IC2 can be viewed on the 7-segment display. This count would normally be between 0 and 6 since, on the rising edge of each seventh clock pulse, the counter is reset to zero. This is achieved as follows. Observe the behavior of the output of segment “b” in the table. When resetting, from count 0 to count 4, the output of segment “b” is high. At count 5, it goes low and remains low during count 6. However, at the start of count 7, the output goes from low to high. A differentiated high pulse via CR combination of C4-R5 is applied to reset pin 15 of IC2 to reset the output to “0”.