SlideShare a Scribd company logo
1 of 2
Download to read offline
CIRCUIT
                                                                                                              IDEAS
DICE WITH 7-SEGMENT DISPLAY
  EFY LAB                                   CD4026, pin 14 (cascading output) is
                                            to be left unused (open), but in case of                       IVEDI
                                                                                                    S.C. DW


A
         digital dice circuit can be eas-   CD4033, pin 14 serves as lamp test pin
         ily realised using an astable      and the same is to be grounded.
         oscillator circuit followed by          The circuit uses only a handful of
a counter, display driver and a dis-        components. Its power consumption is
play.                                       also quite low because of use of CMOS       astable oscillator configured around
   Here we have used a timer NE555          ICs, and hence it is well suited for bat-   IC1 as well as capacitor C1 (through
as an astable oscillator with a fre-        tery operation. In this circuit two tac-    resistor R1), which charges to the bat-
quency of about 100 Hz. Decade              tile switches S1 and S2 have been pro-      tery voltage. Thus even after switch
counter IC CD4026 or CD4033 (which-         vided. While switch S2 is used for ini-     S1 is released, the astable circuit
ever available) can be used as counter-     tial resetting of the display to ‘0,’ de-   around IC1 keeps producing the clock
cum-display driver. When using              pression of S1 simulates throwing of        until capacitor C1 discharges suffi-
                                                                                                           ciently. Thus for du-
                                                                                                           ration of depression
                                                                                                           of switch S1 and dis-
                                                                                                           charge of capacitor
                                                                                                           C1 thereafter, clock
                                                                                                           pulses are produced
                                                                                                           by IC1 and applied to
                                                                                                           clock pin 1 of counter
                                                                                                           IC2, whose count ad-
                                                                                                           vances at a frequency
                                                                                                           of 100 Hz until C1
                                                                                                           discharges       suffi-
                                                                                                           ciently to deactivate
                                                                                                           IC1.
                                                                                                               When the oscilla-
                                                                                                           tions from IC1 stop,
                                                                                                           the last (random)
                                                                                                           count in counter IC2
                                                                                                           can be viewed on the
                                                                                                           7-segment display.
                                                                                                           This count would
                                                                                                           normally lie between
                                                                                                           0 and 6, since at the
                                                                                                           leading edge of every
                                                       the dice by a player.            7th clock pulse, the counter is reset to
        Decoded Segment Outputs                            When battery is con-         zero. This is achieved as follows.
          for Counts 0 through 9                       nected to the circuit, the           Observe the behavior of ‘b’ seg-
                                                       counter and display section      ment output in the Table. On reset, at
                                                       around IC2 (CD4026/4033)         count 0 until count 4, the segment ‘b’
                                                       is energised and the display     output is high. At count 5 it changes
                                                       would normally show ‘0’, as      to low level and remains so during
                                                       no clock input is available.     count 6. However, at start of count 7,
                                                       Should the display show          the output goes from low to high state.
                                                       any other decimal digit, you     A differentiated sharp high pulse
                                                       may press re-set switch S2       through C-R combination of C4-R5 is
                                                       so that display shows ‘0’. To    applied to reset pin 15 of IC2 to reset
                                                       simulate throwing of dice,       the output to ‘0’ for a fraction of a
                                                       the player has to press          pulse period (which is not visible on
                                                       switch S1, briefly. This ex-     the 7-segment display). Thus, if the
                                                       tends the supply to the          clock stops at seventh count, the dis-


WWW.EFYMAG.COM                                                                   ELECTRONICS FOR YOU • NOVEMBER 2007 • 97
CIRCUIT
    IDEAS
play will read zero. There is a prob-      other chance until the display is non-    the counter by ‘1,’ the same makes the
ability of one chance in seven that dis-   zero.                                     circuit somewhat complex and there-
play would show ‘0.’ In such a situa-          Note. Although it is quite feasible   fore such a modification has not been
tion, the concerned player is given an-    to inhibit display of ‘0’ and advance     attempted.




98 • NOVEMBER 2007 • ELECTRONICS FOR YOU                                                               WWW.EFYMAG.COM

More Related Content

What's hot

Decoders
DecodersDecoders
DecodersRe Man
 
Basic electronics
Basic electronicsBasic electronics
Basic electronicsMantra VLSI
 
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edThe 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edĐinh Công Thiện Taydo University
 
System partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSystem partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSubash John
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Intel I3,I5,I7 Processor
Intel I3,I5,I7 ProcessorIntel I3,I5,I7 Processor
Intel I3,I5,I7 Processorsagar solanky
 
SRAM read and write and sense amplifier
SRAM read and write and sense amplifierSRAM read and write and sense amplifier
SRAM read and write and sense amplifierSoumyajit Langal
 
Multiplexing : Wave Division Multiplexing
Multiplexing : Wave Division MultiplexingMultiplexing : Wave Division Multiplexing
Multiplexing : Wave Division MultiplexingDr Rajiv Srivastava
 
Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 ShriyaGautam3
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applicationsGaditek
 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processorFazle Akash
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 
interprocessor arbitration
interprocessor arbitrationinterprocessor arbitration
interprocessor arbitrationAditya Mishra
 

What's hot (20)

Ieee 1149.1-2013-tutorial-ijtag
Ieee 1149.1-2013-tutorial-ijtagIeee 1149.1-2013-tutorial-ijtag
Ieee 1149.1-2013-tutorial-ijtag
 
Decoders
DecodersDecoders
Decoders
 
Semiconductor Memories
Semiconductor MemoriesSemiconductor Memories
Semiconductor Memories
 
Basic electronics
Basic electronicsBasic electronics
Basic electronics
 
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-edThe 8051 microcontroller and embedded systems using assembly and c 2nd-ed
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
System partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSystem partitioning in VLSI and its considerations
System partitioning in VLSI and its considerations
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Intel I3,I5,I7 Processor
Intel I3,I5,I7 ProcessorIntel I3,I5,I7 Processor
Intel I3,I5,I7 Processor
 
SRAM read and write and sense amplifier
SRAM read and write and sense amplifierSRAM read and write and sense amplifier
SRAM read and write and sense amplifier
 
Multiplexing : Wave Division Multiplexing
Multiplexing : Wave Division MultiplexingMultiplexing : Wave Division Multiplexing
Multiplexing : Wave Division Multiplexing
 
Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9 Comparision between Core i3,i5,i7,i9
Comparision between Core i3,i5,i7,i9
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
 
SRAM
SRAMSRAM
SRAM
 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processor
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
Edc
EdcEdc
Edc
 
Flip flop
Flip flopFlip flop
Flip flop
 
interprocessor arbitration
interprocessor arbitrationinterprocessor arbitration
interprocessor arbitration
 

Similar to Dice with 7 segment display

Add on stereo channel selector
Add on stereo channel selectorAdd on stereo channel selector
Add on stereo channel selectorPrajwal Prakash
 
Automated alarm circuits
Automated alarm circuitsAutomated alarm circuits
Automated alarm circuitsviv3ksharma
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watchviv3ksharma
 
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE VaishaliVaishali14
 
Automatic off timer for cd players
Automatic off timer for cd playersAutomatic off timer for cd players
Automatic off timer for cd playersviv3ksharma
 
This Site Is By The Students By The Students For The Students And Of The Stud...
This Site Is By The Students By The Students For The Students And Of The Stud...This Site Is By The Students By The Students For The Students And Of The Stud...
This Site Is By The Students By The Students For The Students And Of The Stud...guest9b1f1f
 
Multiband cw transmitter
Multiband cw transmitterMultiband cw transmitter
Multiband cw transmitterviv3ksharma
 
Testing and trouble shooting of multivibrators
Testing and trouble shooting of multivibratorsTesting and trouble shooting of multivibrators
Testing and trouble shooting of multivibratorsSandeep Jamdar
 
Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Sarah Krystelle
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic GatesJalpaMaheshwari1
 
Digital clock presentation
Digital clock presentationDigital clock presentation
Digital clock presentationAditya Jha ✅
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasB.k. Das
 
Friendly charger for mobile phones
Friendly charger for mobile phonesFriendly charger for mobile phones
Friendly charger for mobile phonesviv3ksharma
 

Similar to Dice with 7 segment display (20)

Add on stereo channel selector
Add on stereo channel selectorAdd on stereo channel selector
Add on stereo channel selector
 
Automated alarm circuits
Automated alarm circuitsAutomated alarm circuits
Automated alarm circuits
 
Clap switch
Clap switchClap switch
Clap switch
 
Digital dice
Digital diceDigital dice
Digital dice
 
Clock timer
Clock timerClock timer
Clock timer
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
 
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE
SIMULATION OF AN ELECTRONIC DICE CIRCUIT USING LEDs IN PROTEUS SOFTWARE
 
Automatic off timer for cd players
Automatic off timer for cd playersAutomatic off timer for cd players
Automatic off timer for cd players
 
555 Timer IC
555 Timer IC555 Timer IC
555 Timer IC
 
This Site Is By The Students By The Students For The Students And Of The Stud...
This Site Is By The Students By The Students For The Students And Of The Stud...This Site Is By The Students By The Students For The Students And Of The Stud...
This Site Is By The Students By The Students For The Students And Of The Stud...
 
Multiband cw transmitter
Multiband cw transmitterMultiband cw transmitter
Multiband cw transmitter
 
Bayas
BayasBayas
Bayas
 
Testing and trouble shooting of multivibrators
Testing and trouble shooting of multivibratorsTesting and trouble shooting of multivibrators
Testing and trouble shooting of multivibrators
 
Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic Gates
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
 
Digital clock presentation
Digital clock presentationDigital clock presentation
Digital clock presentation
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
 
Friendly charger for mobile phones
Friendly charger for mobile phonesFriendly charger for mobile phones
Friendly charger for mobile phones
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 

More from viv3ksharma

Flashing cum running light
Flashing cum running lightFlashing cum running light
Flashing cum running lightviv3ksharma
 
Fire alarm using thermistor
Fire alarm using thermistorFire alarm using thermistor
Fire alarm using thermistorviv3ksharma
 
Electronic watchdog
Electronic watchdogElectronic watchdog
Electronic watchdogviv3ksharma
 
Electronic security system
Electronic security systemElectronic security system
Electronic security systemviv3ksharma
 
Electronic bicycle lock
Electronic bicycle lockElectronic bicycle lock
Electronic bicycle lockviv3ksharma
 
Dtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 testerDtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 testerviv3ksharma
 
Electric window fence charger
Electric window fence chargerElectric window fence charger
Electric window fence chargerviv3ksharma
 
Drinking water alarm
Drinking water alarmDrinking water alarm
Drinking water alarmviv3ksharma
 
Desktop power supply
Desktop power supplyDesktop power supply
Desktop power supplyviv3ksharma
 
Computerised universal timer
Computerised universal timerComputerised universal timer
Computerised universal timerviv3ksharma
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzerviv3ksharma
 
Car anti theft guard
Car anti theft guardCar anti theft guard
Car anti theft guardviv3ksharma
 
Brake failure indicator
Brake failure indicatorBrake failure indicator
Brake failure indicatorviv3ksharma
 
Bicycle indicator
Bicycle indicatorBicycle indicator
Bicycle indicatorviv3ksharma
 
Bell cum light controller
Bell cum light controllerBell cum light controller
Bell cum light controllerviv3ksharma
 

More from viv3ksharma (20)

Flying saucer
Flying saucerFlying saucer
Flying saucer
 
Flashing cum running light
Flashing cum running lightFlashing cum running light
Flashing cum running light
 
Flashing beacon
Flashing beaconFlashing beacon
Flashing beacon
 
Fire alarm using thermistor
Fire alarm using thermistorFire alarm using thermistor
Fire alarm using thermistor
 
Electronic watchdog
Electronic watchdogElectronic watchdog
Electronic watchdog
 
Electronic security system
Electronic security systemElectronic security system
Electronic security system
 
Electronic horn
Electronic hornElectronic horn
Electronic horn
 
Electronic bicycle lock
Electronic bicycle lockElectronic bicycle lock
Electronic bicycle lock
 
Dtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 testerDtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 tester
 
Electric window fence charger
Electric window fence chargerElectric window fence charger
Electric window fence charger
 
Drinking water alarm
Drinking water alarmDrinking water alarm
Drinking water alarm
 
Desktop power supply
Desktop power supplyDesktop power supply
Desktop power supply
 
Current sensor
Current sensorCurrent sensor
Current sensor
 
Computerised universal timer
Computerised universal timerComputerised universal timer
Computerised universal timer
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzer
 
Child's lamp
Child's lampChild's lamp
Child's lamp
 
Car anti theft guard
Car anti theft guardCar anti theft guard
Car anti theft guard
 
Brake failure indicator
Brake failure indicatorBrake failure indicator
Brake failure indicator
 
Bicycle indicator
Bicycle indicatorBicycle indicator
Bicycle indicator
 
Bell cum light controller
Bell cum light controllerBell cum light controller
Bell cum light controller
 

Dice with 7 segment display

  • 1. CIRCUIT IDEAS DICE WITH 7-SEGMENT DISPLAY EFY LAB CD4026, pin 14 (cascading output) is to be left unused (open), but in case of IVEDI S.C. DW A digital dice circuit can be eas- CD4033, pin 14 serves as lamp test pin ily realised using an astable and the same is to be grounded. oscillator circuit followed by The circuit uses only a handful of a counter, display driver and a dis- components. Its power consumption is play. also quite low because of use of CMOS astable oscillator configured around Here we have used a timer NE555 ICs, and hence it is well suited for bat- IC1 as well as capacitor C1 (through as an astable oscillator with a fre- tery operation. In this circuit two tac- resistor R1), which charges to the bat- quency of about 100 Hz. Decade tile switches S1 and S2 have been pro- tery voltage. Thus even after switch counter IC CD4026 or CD4033 (which- vided. While switch S2 is used for ini- S1 is released, the astable circuit ever available) can be used as counter- tial resetting of the display to ‘0,’ de- around IC1 keeps producing the clock cum-display driver. When using pression of S1 simulates throwing of until capacitor C1 discharges suffi- ciently. Thus for du- ration of depression of switch S1 and dis- charge of capacitor C1 thereafter, clock pulses are produced by IC1 and applied to clock pin 1 of counter IC2, whose count ad- vances at a frequency of 100 Hz until C1 discharges suffi- ciently to deactivate IC1. When the oscilla- tions from IC1 stop, the last (random) count in counter IC2 can be viewed on the 7-segment display. This count would normally lie between 0 and 6, since at the leading edge of every the dice by a player. 7th clock pulse, the counter is reset to Decoded Segment Outputs When battery is con- zero. This is achieved as follows. for Counts 0 through 9 nected to the circuit, the Observe the behavior of ‘b’ seg- counter and display section ment output in the Table. On reset, at around IC2 (CD4026/4033) count 0 until count 4, the segment ‘b’ is energised and the display output is high. At count 5 it changes would normally show ‘0’, as to low level and remains so during no clock input is available. count 6. However, at start of count 7, Should the display show the output goes from low to high state. any other decimal digit, you A differentiated sharp high pulse may press re-set switch S2 through C-R combination of C4-R5 is so that display shows ‘0’. To applied to reset pin 15 of IC2 to reset simulate throwing of dice, the output to ‘0’ for a fraction of a the player has to press pulse period (which is not visible on switch S1, briefly. This ex- the 7-segment display). Thus, if the tends the supply to the clock stops at seventh count, the dis- WWW.EFYMAG.COM ELECTRONICS FOR YOU • NOVEMBER 2007 • 97
  • 2. CIRCUIT IDEAS play will read zero. There is a prob- other chance until the display is non- the counter by ‘1,’ the same makes the ability of one chance in seven that dis- zero. circuit somewhat complex and there- play would show ‘0.’ In such a situa- Note. Although it is quite feasible fore such a modification has not been tion, the concerned player is given an- to inhibit display of ‘0’ and advance attempted. 98 • NOVEMBER 2007 • ELECTRONICS FOR YOU WWW.EFYMAG.COM