SlideShare ist ein Scribd-Unternehmen logo
1 von 23
SIMULATION OF AN ELECTRONIC DICE CIRCUIT
USING LEDs IN PROTEUS SOFTWARE
PRESENTED BY
VAISHALI.K
M.Tech(ECE)-Ist yr
Reg.No.21304023
DEPARTMENT OF ELECTRONICS ENGINEERING
PONDICHERRY UNIVERSITY
SUBMITTED TO
Dr .K.ANUSUDHA,
Assistant Professor,
Dept.Of Electronics Engineering
AGENDA
INTRODUCTION
CONCEPT OF ASTABLE MULTI VIBRATOR
CONCEPT OF DECADE COUNTER IC4017
CIRCUIT EXPLANATION
CIRCUIT DIAGRAM
VIDEO OF CIRCUIT WORKING
WORKING OF CIRCUIT
INFERENCE
REFERENCE
2
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.
3
INTRODUCTION
• 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.
• IC 555 used here in the form of astable multi-vibrator so that
patterned is never observable and a fair game can be
executed. IC CD4017 works as a decade counter.
4
CONCEPT OF ASTABLE MULTI
VIBRATOR
• A multi-vibrator is a device that switches between two states.
• It is a type of oscillator and can be used as a trigger, converter,
moderator, or divider.
• It usually produces changes in a system at timed intervals,
depending on the number and placement of resistors and
other elements within the system as well as the input signal’s
intensity.
• An astable multi-vibrator is a multi-vibrator that does not rest
in an unstable state like other multi-vibrators, but
continuously switches between two states.
5
WORKING PRINCIPLE OF ASTABLE
MULTI-VIBRATOR
• Astable multi-vibrator is also called
as Free Running Multi-vibrator.
• It has no stable states and
continuously switches between the
two states without application of
any external trigger.
• The IC 555 can be made to work as
an astable multi-vibrator with the
addition of three external
components: two resistors (R1 and
R2) and a capacitor (C).
6
WORKING PRINCIPLE OF ASTABLE
MULTI-VIBRATOR
• 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.
7
WORKING PRINCIPLE OF ASTABLE
MULTI-VIBRATOR
• 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.
8
OPERATION
• The following schematic depicts the internal circuit of the IC
555 operating in astable mode. The RC timing circuit
incorporates R1, R2 and C.
• 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.
9
OPERATION
• 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).
10
OPERATION
• 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. 11
OPERATION
• 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.
12
APPLICATIONS
• Astable multi-vibrators are used in amateur radio equipment
to receive and transmit radio signals.
• Astable multi-vibrators are also used in morse code
generators, timers, and systems that require a square wave,
including television broadcasts and analog circuits.
13
ADVANTAGES
• Astable multi-vibrators continuously switch between one
state and another. This allows astable multi-vibrators to power
themselves and perform work at a consistent rate without
influence from any outside forces or events.
• Additionally, astable multi-vibrators are inexpensive to
produce, are relatively simple in design, and can remain
functional for extraordinary amounts of time.
DISADVANTAGES
• Astable multi-vibrators do not transfer the entire output
signal to the input.
• This is due to resistance within the circuit, lack of a completely
closed loop at the output terminals, and the tendency for one
capacitor or transistor to absorb energy at a slightly different
rate than the other.
• Although the amplifier restores the lost energy when it
amplifies the signal, the signal will eventually be too small to
be of any use.
14
DECADE COUNTER IC CD4017
• 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 15
PIN DIAGRAM AND PIN DESCRIPTION
OF 4017
16
CIRCUIT DIAGRAM
17
VIDEO OF CIRCUIT WORKING
18
WORKING OF CIRCUIT
• 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 number 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. 19
WORKING OF CIRCUIT
• 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:
20
WORKING OF CIRCUIT
• 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.
21
REFERENCES
• https://digitalsystemdesign.in/wp-content/uploads/2018/05/C-
MOSkang.pdf
• https://circuitdigest.com/electronic-circuits/digital-dice-circuit-
using-ic-555
• https://www.amanchadha.com/projects/mini_proj/Dice_Final_
DONE.pdf
• https://circuitdigest.com/electronic-circuits/digital-dice-circuit-
using-ic-555
22
23

Weitere ähnliche Inhalte

Was ist angesagt?

AUTOMATIC FIRE ALARM using IR LED and BUZZER
AUTOMATIC FIRE ALARM using IR LED and BUZZERAUTOMATIC FIRE ALARM using IR LED and BUZZER
AUTOMATIC FIRE ALARM using IR LED and BUZZER
Shihab Hasnine
 
Power electronics-lab-manual
Power electronics-lab-manualPower electronics-lab-manual
Power electronics-lab-manual
ponarun
 
VLSI Physical Design Automation.ppt
VLSI Physical Design Automation.pptVLSI Physical Design Automation.ppt
VLSI Physical Design Automation.ppt
RichikDey5
 

Was ist angesagt? (20)

Power supply
Power supplyPower supply
Power supply
 
AUTOMATIC FIRE ALARM using IR LED and BUZZER
AUTOMATIC FIRE ALARM using IR LED and BUZZERAUTOMATIC FIRE ALARM using IR LED and BUZZER
AUTOMATIC FIRE ALARM using IR LED and BUZZER
 
Low Power VLSI Design
Low Power VLSI DesignLow Power VLSI Design
Low Power VLSI Design
 
2.Opamp parameters
2.Opamp parameters2.Opamp parameters
2.Opamp parameters
 
digital electronics Design of 101 sequence detector without overlapping for...
digital  electronics Design of 101 sequence detector without  overlapping for...digital  electronics Design of 101 sequence detector without  overlapping for...
digital electronics Design of 101 sequence detector without overlapping for...
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
 
Timers
TimersTimers
Timers
 
Pcb design using proteus
Pcb design using proteusPcb design using proteus
Pcb design using proteus
 
CT & PT.pptx
CT & PT.pptxCT & PT.pptx
CT & PT.pptx
 
Power electronics-lab-manual
Power electronics-lab-manualPower electronics-lab-manual
Power electronics-lab-manual
 
counters.ppt
counters.pptcounters.ppt
counters.ppt
 
Thyristors and its series and parallel combinations
Thyristors and its series and parallel combinationsThyristors and its series and parallel combinations
Thyristors and its series and parallel combinations
 
Programmable logic array
Programmable logic arrayProgrammable logic array
Programmable logic array
 
PLDs
PLDsPLDs
PLDs
 
VLSI Physical Design Automation.ppt
VLSI Physical Design Automation.pptVLSI Physical Design Automation.ppt
VLSI Physical Design Automation.ppt
 
TRIAC
TRIACTRIAC
TRIAC
 
Msp 430 module 3
Msp 430 module 3Msp 430 module 3
Msp 430 module 3
 
Breadboard
BreadboardBreadboard
Breadboard
 
Counters
CountersCounters
Counters
 
Thyristor
ThyristorThyristor
Thyristor
 

Ähnlich wie SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE

internship report and presentation for electronics students
internship report and presentation for electronics studentsinternship report and presentation for electronics students
internship report and presentation for electronics students
jaisivajaisiva0492
 
IC 555 TIMER Introduction, Modes & Application.pptx
IC 555 TIMER Introduction, Modes & Application.pptxIC 555 TIMER Introduction, Modes & Application.pptx
IC 555 TIMER Introduction, Modes & Application.pptx
anindyapal288
 
Controlling of DC Motor using IC 555 Timer
Controlling of DC Motor using IC 555 TimerControlling of DC Motor using IC 555 Timer
Controlling of DC Motor using IC 555 Timer
Upendra Chokka
 

Ähnlich wie SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE (20)

Lica unit4 ppt
Lica unit4 ppt Lica unit4 ppt
Lica unit4 ppt
 
555 timer vibrators
555 timer vibrators555 timer vibrators
555 timer vibrators
 
Led chaser
Led chaserLed chaser
Led chaser
 
Ic 555 timer 0
Ic 555 timer 0Ic 555 timer 0
Ic 555 timer 0
 
internship report and presentation for electronics students
internship report and presentation for electronics studentsinternship report and presentation for electronics students
internship report and presentation for electronics students
 
SE ECS EC Module6 555 Timer.pdf
SE ECS EC Module6 555  Timer.pdfSE ECS EC Module6 555  Timer.pdf
SE ECS EC Module6 555 Timer.pdf
 
IC 555 TIMER Introduction, Modes & Application.pptx
IC 555 TIMER Introduction, Modes & Application.pptxIC 555 TIMER Introduction, Modes & Application.pptx
IC 555 TIMER Introduction, Modes & Application.pptx
 
IC 555 timer and its applications
IC 555 timer and its applications IC 555 timer and its applications
IC 555 timer and its applications
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
UNIT-5.pptx.ppt
UNIT-5.pptx.pptUNIT-5.pptx.ppt
UNIT-5.pptx.ppt
 
Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuit
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
 
555 timer
555 timer555 timer
555 timer
 
Prince jai nproject report
Prince jai nproject reportPrince jai nproject report
Prince jai nproject report
 
Controlling of DC Motor using IC 555 Timer
Controlling of DC Motor using IC 555 TimerControlling of DC Motor using IC 555 Timer
Controlling of DC Motor using IC 555 Timer
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counter
 
555 timer
555 timer555 timer
555 timer
 
Sensors
SensorsSensors
Sensors
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuits
 
555 Timer integrated circuit and its applications
555 Timer integrated circuit and its applications555 Timer integrated circuit and its applications
555 Timer integrated circuit and its applications
 

Mehr von VaishaliVaishali14

Mehr von VaishaliVaishali14 (8)

Simulation of speech recognition using correlation method on matlab software
Simulation of speech recognition using correlation method on matlab softwareSimulation of speech recognition using correlation method on matlab software
Simulation of speech recognition using correlation method on matlab software
 
PERFORMANCE ANALYSIS OF 2*2 MIMO CHANNEL USING ZF EQUALIZER
PERFORMANCE ANALYSIS OF 2*2 MIMO CHANNEL USING ZF EQUALIZER PERFORMANCE ANALYSIS OF 2*2 MIMO CHANNEL USING ZF EQUALIZER
PERFORMANCE ANALYSIS OF 2*2 MIMO CHANNEL USING ZF EQUALIZER
 
LINE OF SIGHT PROPAGATION
LINE OF SIGHT PROPAGATIONLINE OF SIGHT PROPAGATION
LINE OF SIGHT PROPAGATION
 
Linear equalizations and its variations
Linear equalizations and its variationsLinear equalizations and its variations
Linear equalizations and its variations
 
Optical heterodyne detection
Optical heterodyne detectionOptical heterodyne detection
Optical heterodyne detection
 
Simulation of handoff performance using matlab
Simulation of handoff performance using matlabSimulation of handoff performance using matlab
Simulation of handoff performance using matlab
 
Smart traffic light controller using verilog
Smart traffic light controller using verilogSmart traffic light controller using verilog
Smart traffic light controller using verilog
 
CMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURESCMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURES
 

Kürzlich hochgeladen

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Kürzlich hochgeladen (20)

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE

  • 1. SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE PRESENTED BY VAISHALI.K M.Tech(ECE)-Ist yr Reg.No.21304023 DEPARTMENT OF ELECTRONICS ENGINEERING PONDICHERRY UNIVERSITY SUBMITTED TO Dr .K.ANUSUDHA, Assistant Professor, Dept.Of Electronics Engineering
  • 2. AGENDA INTRODUCTION CONCEPT OF ASTABLE MULTI VIBRATOR CONCEPT OF DECADE COUNTER IC4017 CIRCUIT EXPLANATION CIRCUIT DIAGRAM VIDEO OF CIRCUIT WORKING WORKING OF CIRCUIT INFERENCE REFERENCE 2
  • 3. 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. 3
  • 4. INTRODUCTION • 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. • IC 555 used here in the form of astable multi-vibrator so that patterned is never observable and a fair game can be executed. IC CD4017 works as a decade counter. 4
  • 5. CONCEPT OF ASTABLE MULTI VIBRATOR • A multi-vibrator is a device that switches between two states. • It is a type of oscillator and can be used as a trigger, converter, moderator, or divider. • It usually produces changes in a system at timed intervals, depending on the number and placement of resistors and other elements within the system as well as the input signal’s intensity. • An astable multi-vibrator is a multi-vibrator that does not rest in an unstable state like other multi-vibrators, but continuously switches between two states. 5
  • 6. WORKING PRINCIPLE OF ASTABLE MULTI-VIBRATOR • Astable multi-vibrator is also called as Free Running Multi-vibrator. • It has no stable states and continuously switches between the two states without application of any external trigger. • The IC 555 can be made to work as an astable multi-vibrator with the addition of three external components: two resistors (R1 and R2) and a capacitor (C). 6
  • 7. WORKING PRINCIPLE OF ASTABLE MULTI-VIBRATOR • 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. 7
  • 8. WORKING PRINCIPLE OF ASTABLE MULTI-VIBRATOR • 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. 8
  • 9. OPERATION • The following schematic depicts the internal circuit of the IC 555 operating in astable mode. The RC timing circuit incorporates R1, R2 and C. • 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. 9
  • 10. OPERATION • 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). 10
  • 11. OPERATION • 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. 11
  • 12. OPERATION • 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. 12
  • 13. APPLICATIONS • Astable multi-vibrators are used in amateur radio equipment to receive and transmit radio signals. • Astable multi-vibrators are also used in morse code generators, timers, and systems that require a square wave, including television broadcasts and analog circuits. 13 ADVANTAGES • Astable multi-vibrators continuously switch between one state and another. This allows astable multi-vibrators to power themselves and perform work at a consistent rate without influence from any outside forces or events. • Additionally, astable multi-vibrators are inexpensive to produce, are relatively simple in design, and can remain functional for extraordinary amounts of time.
  • 14. DISADVANTAGES • Astable multi-vibrators do not transfer the entire output signal to the input. • This is due to resistance within the circuit, lack of a completely closed loop at the output terminals, and the tendency for one capacitor or transistor to absorb energy at a slightly different rate than the other. • Although the amplifier restores the lost energy when it amplifies the signal, the signal will eventually be too small to be of any use. 14
  • 15. DECADE COUNTER IC CD4017 • 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 15
  • 16. PIN DIAGRAM AND PIN DESCRIPTION OF 4017 16
  • 18. VIDEO OF CIRCUIT WORKING 18
  • 19. WORKING OF CIRCUIT • 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 number 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. 19
  • 20. WORKING OF CIRCUIT • 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: 20
  • 21. WORKING OF CIRCUIT • 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. 21
  • 22. REFERENCES • https://digitalsystemdesign.in/wp-content/uploads/2018/05/C- MOSkang.pdf • https://circuitdigest.com/electronic-circuits/digital-dice-circuit- using-ic-555 • https://www.amanchadha.com/projects/mini_proj/Dice_Final_ DONE.pdf • https://circuitdigest.com/electronic-circuits/digital-dice-circuit- using-ic-555 22
  • 23. 23