Professional Documents
Culture Documents
Electronic Dice Using LEDs Electrical Engineering Project
Electronic Dice Using LEDs Electrical Engineering Project
Under Guidance of
Er. ASHISH SINGH
By
AMARJEET VERMA(1504331902)
ESHAN MISHRA(1504331904)
NISHI DUBEY(1504331906)
I take this opportunity to express my profound gratitude and deep regards to my guide
“Er. Ashish Singh” for his exemplary guidance, monitoring and constant encouragement
throughout the course of this report. The blessing, help and guidance given by him time to
time shall carry me a long way in the journey of life on which I am about to embark.
I also take this opportunity to express a deep sense of gratitude to our honourable
Head Of The Department Dr. D.C.Dhubkarya for his valuable support, information and
guidance which helped me in completing this task through various stages.
I am obliged to “ Er. Ravi Tripathi” for the valuable information and time
provided by him.
The most sincere thanks go to my parents for their constant encouragement at every
step of my endeavour.
GROUP MEMBERS:-
AMARJEET VERMA
Roll no-1504331902
ESHAN MISHRA
Roll no-1504331904
NISHI DUBEY
Roll no- 1504331906
As a push button is pressed and held, the LEDs start blinking at a very
high rate tough to be guessed by human eyes. Thus, when the button is unheld
and left back to its position it lefts with any single LED glown. The said number
is the count for the chance.
TABALE OF CONTENTS
Certificate
Acknowledgement
Abstract
1. Introduction 1
2. Concept 2
4. Conclusion 11
5. References 12
1
1.INTRODUCTION
The basic idea of the project about introducing some new technique of
rolling dice into a game .The traditional method sometimes go unfair and
ultimately the game gets spoiled. Keeping the issue in mind, an unbiased
electronic dice is designed.
Simply pushing a button in electronic dice brings fast blink of six LEDs
representing six number of dice and ultimately leaving behind anyone number
of dice as result through the corresponding LED glown.
The extent of fairness of the game is highly secured as the blinking rate
can be regulated by changing the value of variable resistor used. The
practicality of the circuit design is assured by its simple design and compact
size, also way of usage.
2. CONCEPTS
The various technical concepts involved in the design are explained
individually as following:-
The pins 2 and 6 are connected and hence there is no need for an
external trigger pulse. It will self trigger and act as a free running multivibrator.
The rest of the connections are as follows: pin 8 is connected to supply voltage
(VCC). Pin 3 is the output terminal and hence the output is available at this pin.
Pin 4 is the external reset pin. A momentary low on this pin will reset the
timer. Hence when not in use, pin 4 is usually tied to VCC.
The control voltage applied at pin 5 will change the threshold voltage
level. But for normal use, pin 5 is connected to ground via a capacitor (usually
0.01µF), so the external noise from the terminal is filtered out. Pin 1 is ground
terminal. The timing circuit that determines the width of the output pulse is
made up of R1, R2 and C.
Operation:-
Initially, on power-up, the flip-flop is RESET (and hence the output of the
timer is low). As a result, the discharge transistor is driven to saturation (as it is
connected to Q’). The capacitor C of the timing circuit is connected at Pin 7 of
the IC 555 and will discharge through the transistor. The output of the timer at
this point is low. The voltage across the capacitor is nothing but the trigger
voltage. So while discharging, if the capacitor voltage becomes less than 1/3
VCC, which is the reference voltage to trigger comparator (comparator 2), the
output of the comparator 2 will become high. This will SET the flip-flop and
hence the output of the timer at pin 3 goes to HIGH.
This high output will turn OFF the transistor. As a result, the capacitor C
starts charging through the resistors R1 and R2. Now, the capacitor voltage is
same as the threshold voltage (as pin 6 is connected to the capacitor resistor
junction). While charging, the capacitor voltage increases exponentially
towards VCC and the moment it crosses 2/3 VCC, which is the reference
voltage to threshold comparator (comparator 1), its output becomes high.
As a result, the flip-flop is RESET. The output of the timer falls to LOW.
This low output will once again turn on the transistor which provides a
discharge path to the capacitor. Hence the capacitor C will discharge through
the resistor R2. And hence the cycle continues.
Thus, when the capacitor is charging, the voltage across the capacitor
rises exponentially and the output voltage at pin 3 is high. Similarly, when the
capacitor is discharging, the voltage across the capacitor falls exponentially and
the output voltage at pin 3 is low. The shape of the output waveform is a train
of rectangular pulses. The waveforms of capacitor voltage and the output in
the astable mode are shown below.
While charging, the capacitor charges through the resistors R1 and R2.
Therefore the charging time constant is (R1 + R2) C as the total resistance in
the charging path is (R1 + R2). While discharging, the capacitor discharges
through the resistor R2 only. Hence the discharge time constant is R2C.
5
2.2.Decade Counter:-
12 CO –Carry out Used to cascade another 4017 IC to makes it count upto 20, it is divide
by 10 output PIN
13 CLOCK inhibit Clock enable pin, should 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)
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.
11
4. Conclusion
At the end of all detailed studies about the circuit regarding an LED DICE
using timer ic and ic4017, we have an effective alternative of dice games on
electronic grounds as it gives higher accuracy and definition towards unbiased
results. In current era, the pace of electronic advancement is well explained
and used in this very common and frequent application.
Even are used at homes in the simpler forms like the explained circuit.
Hence, the usage of the given design has its adaptation on large scale and is
making the games more accurate and fair proving the technical advancements
truly worthy.
12
5. References
During the course of project report making, we have gone through a no of
sources for the effective and precise information to be included in the report.
“www.google.com”
“www.circuitdigest.com”
“www.electronicshub.com”