SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Adder substracter
Adder substracterAdder substracter
Adder substracter
WanNurdiana
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
Lee Diaz
 

Was ist angesagt? (20)

Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counter
 
Counter
CounterCounter
Counter
 
funnel shifter
funnel shifterfunnel shifter
funnel shifter
 
Analog and digital signal system : digital logic
Analog and digital signal system : digital logicAnalog and digital signal system : digital logic
Analog and digital signal system : digital logic
 
decade counter
decade counterdecade counter
decade counter
 
Time base Generators (part-1)
Time base Generators (part-1)Time base Generators (part-1)
Time base Generators (part-1)
 
Adder substracter
Adder substracterAdder substracter
Adder substracter
 
Vhdl identifiers,data types
Vhdl identifiers,data typesVhdl identifiers,data types
Vhdl identifiers,data types
 
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector
 
Digital Registers & Counters
Digital Registers & CountersDigital Registers & Counters
Digital Registers & Counters
 
8253ppt
8253ppt8253ppt
8253ppt
 
Counters
CountersCounters
Counters
 
555 timer vibrators
555 timer vibrators555 timer vibrators
555 timer vibrators
 
Digital Communication Pulse code modulation.ppt
Digital Communication Pulse code modulation.pptDigital Communication Pulse code modulation.ppt
Digital Communication Pulse code modulation.ppt
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_families
 
DELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counterDELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counter
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
Digital Logic Circuits
Digital Logic CircuitsDigital Logic Circuits
Digital Logic Circuits
 

Ähnlich wie Dice with 7 segment display

Add on stereo channel selector
Add on stereo channel selectorAdd on stereo channel selector
Add on stereo channel selector
Prajwal Prakash
 
Automated alarm circuits
Automated alarm circuitsAutomated alarm circuits
Automated alarm circuits
viv3ksharma
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
viv3ksharma
 
Automatic off timer for cd players
Automatic off timer for cd playersAutomatic off timer for cd players
Automatic off timer for cd players
viv3ksharma
 
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 transmitter
viv3ksharma
 
Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11
Sarah Krystelle
 
Friendly charger for mobile phones
Friendly charger for mobile phonesFriendly charger for mobile phones
Friendly charger for mobile phones
viv3ksharma
 

Ähnlich wie 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
 

Mehr von viv3ksharma

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

Mehr von 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