Professional Documents
Culture Documents
Simulation of Digital Dice Up Project Anas Ayub - 2K19EE038
Simulation of Digital Dice Up Project Anas Ayub - 2K19EE038
VI semester 21-22
INDEX
3 Circuit Diagram 6
4 Circuit Description 6-13
5 Simulation 14
6 Working 15
7 Conclusion 15
8 Reference 16
3
ABSTRACT
Dice is an important part of most of the traditional board games and the
project idea revolves about making this important tool digital. The digital
dice in any way would provide unbiased outcomes and thus a fair play.
Using the 7-Segment Decoder and timer, the dice would display randomised
numbers while the circuitry involves use of components like ( Timer, Clock,
7-segment display decoder etc). With Digital Dice, the aim is to replace the
traditional dice throwing to play games like monopoly, snakes and ladder etc
and make it more amusing.
4
INTRODUCTION
ABBREVIATIONS USED
COMPONENTS ASSEMBLED
S. Component Description
No.
1 IC 4017 16 Pin Decade counter, used to produce decoded
decimal count as output.
2 IC 74LS47 It accepts a binary coded decimal as input and
converts it into a pattern to drive a seven-segment
for displaying digits 0 to 9.
3 BCD to 7-segment Takes input from the Binary Adder to
Display decoder display numbers in the range (1-6).
4 IC555 Generates the input clock signal.
Circuit Diagram:
Circuit Description
This gives a detailed description of the block diagram for the Digital Dice
game project. It discusses the main parts and also gives a detailed
explanation on the same.
Block Diagram
The main parts of the block diagram as shown in figure 1 are:
Counter (IC – 4017) can also be used. The Binary Ripple Counter counts
from 0 to 5 i.e. 3-bit numbers provided the MSB (Most significant Bit) of the
counter is not considered. After the count reaches five, the Counter resets to
zero. When many clock pulses are received by it in a single time-constant
period, it counts from 0-5 many times and outputs any of these numbers.
This is known as Random Number Generation.
As shown, astable circuit connects the trigger pin to the capacitor. It adds a
resistor between the discharge and threshold pins. As mentioned astable
circuit triggers from the previous output pulse. Monostable circuit requires
an externally applied trigger.
In short, the output pin oscillates from high to low creating a series of pulses
as the capacitor charge oscillates from 33.3% to 66.6% Vcc, without any
external triggers.
9
However, the numbers obtained from the above procedure are between 0 and
5 (inclusive) and the desired numbers are from 1 – 6. This is taken into
account by including another Integrated circuit, Binary Parallel Adder (IC –
74Ls47) which increments the above generated number by 1 as it is between
0 and 5. The output of the Binary Parallel Adder is the final desired random
number which is then fed into the Digital Dice-Display circuit as shown .
4017 IC
12 CO –Carry out Used to cascade another 4017 IC to makes it count upto 20, it is divide by 10 outpu
PIN
13 CLOCK inhibit Clock enable pin, should be kept LOW, keeping HIGH will freeze the output.
14 CLOCK Clock input, for sequentially HIGH the output pins from PIN 3 TO PIN 11
15 RESET Active high pin, should be LOW for normal operation, setting HIGH will reset the IC
(only Pin 3 remain HIGH)
This is done with the help of a BCD – 7 Segment decoder which is used to
drive a common anode 7 segment display. The output of the above discussed
circuit forms the input for the BCD which then enters the input of seven –
segment decoder. The random number generated by the random number
generator circuit will be displayed on the 7 – segment display when the
13
Reset Switch
This is also a very important part of the game. The function of this switch is
to bring the game back to start from any point of time.
When the switch is not pushed, HIGH clear is fed to the registers via a NOT
gate. Therefore, normal functioning of all the registers is obtained.
IC74LS47
A Digital Decoder IC, is a device which converts one digital format into
another and one of the most commonly used devices for doing this is called
the Binary Coded Decimal (BCD) to 7-Segment Display Decoder.
7-segment LED (Light Emitting Diode) or LCD (Liquid Crystal Display)
type displays, provide a very convenient way of displaying information or
14
SIMULATION
Simulation results :
SIMULATION VIDEO
17
RESULTS SCREENSHOTS :
CONCLUSION
Applications:
REFERENCES
I. https://www.electronics-project-design.com/digitaldice.html
II. http://www.gymhust.cz/obrazky-soubory/e-dice_v2.2_pupil_120227-c
77b2.pdf?redir
III. https://www.ukessays.com/essays/biology/the-digital-dice-game-biolo
gy-essay.php
IV. https://www.electronicshub.org/unbiased-electronic-dice-with-leds/#
Applications