You are on page 1of 18

Report on

DIGITAL DICE
Submitted in partial fulfilment of the requirements

of the degree of

Bachelor of Engineering in Electronics and Telecommunication Engineering

by

Student Name Roll No.

Student Name Roll No.

Student Name Roll No.


Student Name Roll No.

Project guide

Faculty Name

Designation

Department of Electronics and Telecommunication Engineering

VIVA Institute of Technology

University of Mumbai
AY-2018-2019
Declaration
I declare that this written submission represents my ideas in my own words and where
other’s ideas or words included; I have adequately cited and referenced the original
sources. I also declare that I have adhered to all principles of academic honesty and
integrity and have not misrepresented or fabricated or falsified any
idea/data/fact/source in my submission. I understand that any violation of the above
will be cause for disciplinary action by the Institute and can also evoke penal action
from the sources which have thus not been properly cited or from whom proper
permission has not been taken when needed.

Name of students and Roll No.


Abstract
This digital dice project is an interesting project that will display in random the number from
1 to 9 on the 7 segment display. This is an alternative device that can be used to replace the
traditional dice when you are playing games such as snake ladder, monopoly etc.The
generation of clock is done by using a 555 timer which is connected in the astable mode at a
frequency of approximately 50 Hz. This clock signal is fed into the decade counter which
outputs are connected to 4 bit binary adder which provides a binary output equavalent to
binary input + 1. The outputs are then connected to a BCD to 7 Segment Decoder which is
used to drive a common anode 7 segment display.About 555 timer:The 555 Timer IC is an
integrated circuit (chip) implementing a variety of timer an multivibrator applications.
Depending on the manufacturer, the standard 555 package includes over 20 transistors,2
diodes and 15 resistors on a silicon chip installed in an 8-pin mini dual-in-line packag( DIP-8).

[4]The 555 has three operating modes:

Monostable mode: in this mode, the 555 functions as a "one-shot". Applications include
timers,

missing pulse detection, bouncefree switches, touch switches, frequency divider,


capacitance

measurement,pulse-width modulation (PWM) etc

Astable- free running mode: the 555 can operate as an oscillator.Uses include LED and lamp

flashers, pulse generation, logic clocks, tone generation, security alarms,pulse position

modulation,etc.

Bistable mode or Schmitt trigger:the 555 can operate as a flip-flop,if the DIS pin is not

connected and no capacitor is used. Uses include bouncefree latched switches, etc..

Monostable mode: in this mode, the 555 functions as a "one-shot". Applications include
timers,

missing pulse detection, bouncefree switches, touch switches, frequency divider,


capacitance

measurement,pulse-width modulation (PWM) etc

Astable- free running mode: the 555 can operate as an oscillator.Uses include LED and lamp

flashers, pulse generation, logic clocks, tone generation, security alarms,pulse position
modulation,

etc.

Bistable mode or Schmitt trigger:the 555 can operate as a flip-flop,if the DIS pin is not
connected and no capacitor is used. Uses include bouncefree latched switches, etc..
List of Contents

Chapter 1 Introduction.................................................................................1
Chapter 2 Design Methodology......................................................................
Chapter 3 Results and Conclusion.................................................................
Chapter 4 References......................................................................................
Chapter 1Introduction
This digital dice project is an interesting project that will display in random the number from 1 to 9 on
the 7 segment display. This is an alternative device that can be used to replace the traditional dice when
you are playing games such as snake ladder and monopoly.

The generation of clock is done by using a 555 timer which is connected in the astable mode at a
frequency of approximately 50 Hz. The 555 timer is the most commonly used integrated circuit in many
projects and it is a good idea to get used to this device as soon as you can. On top of that, the cost of
this IC is reasonably cheap compared to other ICs.

This clock signal is fed into the decade counter which outputs are connected to 4 bit binary adder which
provides a binary output equivalent to binary input + 1. The outputs are then connected to a BCD to 7
Segment Decoder which is used to drive a common anode 7 segment display.
Chapter 2 Design Methodology
Dice is used to play many games like snake ladder, Ludo etc. 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 that no one can
cheat. To create this digital dice circuit, we have mainly used 555 timer IC and 4017 IC. 
2.1.1 4017 IC

4017 IC is a CMOS decade counter chip. It can produce output at the 10 pins (Q0 – Q9)
sequentially, means it produce output one by one at the 10 output pins. This output is controlled
through the clock pulse at PIN 14. At first, output at Q0 (PIN 3) is HIGH, then with each clock pulse,
output advance to the next PIN. Like one clock pulse makes the Q0 LOW and Q1 HIGH, and then
the next clock pulse makes the Q1 LOW and Q2 HIGH, and so on. After the Q9, it will start from the
Q0 again. So it creates sequential ON and OFF of all the 10 OUTPUT PINs. Below is the PIN
diagram and PIN description of 4017:

PIN NO. PIN Name  PIN Description


1 Q5 Output 5: Goes high in 5 clock pulse 
2 Q1 Output 1: Goes high in 1 clock pulse 
3 Q0 Output 0: Goes high at the beginning – 0 clock pulse 
4 Q2 Output 2: Goes high in 2 clock pulse 
5 Q6 Output 6: Goes high in 6 clock pulse 
6 Q7 Output 7: Goes high in 7clock pulse 
7 Q3 Output 3: Goes high in 3 clock pulse 
8 GND Ground PIN
9 Q8 Output 8: Goes high in 8 clock pulse 
10 Q4 Output 4: Goes high in 4 clock pulse 
11 Q9 Output 9: Goes high in 9 clock pulse 
Used to cascade another 4017 IC to makes it count upto 20, it is divide
12 CO –Carry out
by 10 output PIN
Clock enable pin, should kept LOW, keeping HIGH will freeze the
13 CLOCK inhibit
output.
Clock input, for sequentially HIGH the output pins from PIN 3 TO PIN
14 CLOCK
11
Active high pin, should be LOW for normal operation, setting HIGH will
15 RESET
reset the IC (only Pin 3 remain HIGH)
16 VDD Power supply PIN (5-12v)

2.1.2 Components

 CD4017 IC
 555 Timer IC
 2 Resistor- 1k
 Capacitor- 10uF
 Variable Resistor- 10K
 Push Button
 6 LEDs
 Battery - 9v
 

2.1.3 Circuit Diagram and Explanation

In this digital dice circuit we have used 6 LEDs, each LED represent a number (1-6) of Dice. LEDs
start flashing as we press the Push button and stops when we release it. After release, illuminated
LED tells the numbers, you got on Dice. Like if fifth no. LED remains ON after releasing the button,
means you got 5 on Dice. We have connected 6 LEDs to the output Q0 to Q5, and the seventh
output Q6 is connected back to the RESET PIN 15. So that after LED 6 it starts from the First LED at
Q0.
 

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. We can control the speed of flashing LEDs by using the
potentiometer (RV1), rotating the potentiometer knob will change oscillation frequency of 555 timer,
hence the rate of clock pulse. The frequency of the 555 can be calculated using this formula: F=1.44/
((R1+2*RV1)*C1)
 
In this digital dice circuit we have kept the oscillation frequency so high that no one can cheat. LED
flashing speed is directly proportional to oscillation frequency of 555, as High the frequency, as high
the speed of flashing. You can increase frequency according to you, by rotating the potentiometer
Chapter 3 Results and Conclusion
Chapter 4 References
The project references were taken from DIGITAL SYSTEMS DESIGN TEXTBIIK BY TECHMAX

And the following google sites:

https://circuitdigest.com/electronic-circuits/digital-dice-circuit-using-ic-555

https://bwrcs.eecs.berkeley.edu/Classes/IcBook/SLIDES/slides11.pdf

https://in.search.yahoo.com/search?
fr=mcafee&type=C211IN1045D20151216&p=digital+dice+design+and+methodlogy

You might also like